Skip to content

Latest commit

 

History

History
426 lines (229 loc) · 12.7 KB

CreateNativeK8STarget.md

File metadata and controls

426 lines (229 loc) · 12.7 KB

CreateNativeK8STarget

Properties

Name Type Description Notes
Comment Pointer to string Deprecated - use description [optional]
Description Pointer to string Description of the object [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
K8sAuthType Pointer to string K8S auth type [token/certificate] [optional] [default to "token"]
K8sClientCertificate Pointer to string Content of the k8 client certificate (PEM format) in a Base64 format [optional]
K8sClientKey Pointer to string Content of the k8 client private key (PEM format) in a Base64 format [optional]
K8sClusterCaCert string K8S cluster CA certificate [default to "dummy_val"]
K8sClusterEndpoint string K8S cluster URL endpoint [default to "dummy_val"]
K8sClusterName Pointer to string K8S cluster name [optional]
K8sClusterToken string K8S cluster Bearer token [default to "dummy_val"]
Key Pointer to string The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) [optional]
MaxVersions Pointer to string Set the maximum number of versions, limited by the account settings defaults. [optional]
Name string Target name
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]
UseGwServiceAccount Pointer to bool Use the GW's service account [optional]

Methods

NewCreateNativeK8STarget

func NewCreateNativeK8STarget(k8sClusterCaCert string, k8sClusterEndpoint string, k8sClusterToken string, name string, ) *CreateNativeK8STarget

NewCreateNativeK8STarget instantiates a new CreateNativeK8STarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewCreateNativeK8STargetWithDefaults

func NewCreateNativeK8STargetWithDefaults() *CreateNativeK8STarget

NewCreateNativeK8STargetWithDefaults instantiates a new CreateNativeK8STarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetComment

func (o *CreateNativeK8STarget) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk

func (o *CreateNativeK8STarget) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetComment

func (o *CreateNativeK8STarget) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *CreateNativeK8STarget) HasComment() bool

HasComment returns a boolean if a field has been set.

GetDescription

func (o *CreateNativeK8STarget) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *CreateNativeK8STarget) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *CreateNativeK8STarget) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *CreateNativeK8STarget) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetJson

func (o *CreateNativeK8STarget) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *CreateNativeK8STarget) GetJsonOk() (*bool, bool)

GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJson

func (o *CreateNativeK8STarget) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *CreateNativeK8STarget) HasJson() bool

HasJson returns a boolean if a field has been set.

GetK8sAuthType

func (o *CreateNativeK8STarget) GetK8sAuthType() string

GetK8sAuthType returns the K8sAuthType field if non-nil, zero value otherwise.

GetK8sAuthTypeOk

func (o *CreateNativeK8STarget) GetK8sAuthTypeOk() (*string, bool)

GetK8sAuthTypeOk returns a tuple with the K8sAuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetK8sAuthType

func (o *CreateNativeK8STarget) SetK8sAuthType(v string)

SetK8sAuthType sets K8sAuthType field to given value.

HasK8sAuthType

func (o *CreateNativeK8STarget) HasK8sAuthType() bool

HasK8sAuthType returns a boolean if a field has been set.

GetK8sClientCertificate

func (o *CreateNativeK8STarget) GetK8sClientCertificate() string

GetK8sClientCertificate returns the K8sClientCertificate field if non-nil, zero value otherwise.

GetK8sClientCertificateOk

func (o *CreateNativeK8STarget) GetK8sClientCertificateOk() (*string, bool)

GetK8sClientCertificateOk returns a tuple with the K8sClientCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetK8sClientCertificate

func (o *CreateNativeK8STarget) SetK8sClientCertificate(v string)

SetK8sClientCertificate sets K8sClientCertificate field to given value.

HasK8sClientCertificate

func (o *CreateNativeK8STarget) HasK8sClientCertificate() bool

HasK8sClientCertificate returns a boolean if a field has been set.

GetK8sClientKey

func (o *CreateNativeK8STarget) GetK8sClientKey() string

GetK8sClientKey returns the K8sClientKey field if non-nil, zero value otherwise.

GetK8sClientKeyOk

func (o *CreateNativeK8STarget) GetK8sClientKeyOk() (*string, bool)

GetK8sClientKeyOk returns a tuple with the K8sClientKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetK8sClientKey

func (o *CreateNativeK8STarget) SetK8sClientKey(v string)

SetK8sClientKey sets K8sClientKey field to given value.

HasK8sClientKey

func (o *CreateNativeK8STarget) HasK8sClientKey() bool

HasK8sClientKey returns a boolean if a field has been set.

GetK8sClusterCaCert

func (o *CreateNativeK8STarget) GetK8sClusterCaCert() string

GetK8sClusterCaCert returns the K8sClusterCaCert field if non-nil, zero value otherwise.

GetK8sClusterCaCertOk

func (o *CreateNativeK8STarget) GetK8sClusterCaCertOk() (*string, bool)

GetK8sClusterCaCertOk returns a tuple with the K8sClusterCaCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetK8sClusterCaCert

func (o *CreateNativeK8STarget) SetK8sClusterCaCert(v string)

SetK8sClusterCaCert sets K8sClusterCaCert field to given value.

GetK8sClusterEndpoint

func (o *CreateNativeK8STarget) GetK8sClusterEndpoint() string

GetK8sClusterEndpoint returns the K8sClusterEndpoint field if non-nil, zero value otherwise.

GetK8sClusterEndpointOk

func (o *CreateNativeK8STarget) GetK8sClusterEndpointOk() (*string, bool)

GetK8sClusterEndpointOk returns a tuple with the K8sClusterEndpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetK8sClusterEndpoint

func (o *CreateNativeK8STarget) SetK8sClusterEndpoint(v string)

SetK8sClusterEndpoint sets K8sClusterEndpoint field to given value.

GetK8sClusterName

func (o *CreateNativeK8STarget) GetK8sClusterName() string

GetK8sClusterName returns the K8sClusterName field if non-nil, zero value otherwise.

GetK8sClusterNameOk

func (o *CreateNativeK8STarget) GetK8sClusterNameOk() (*string, bool)

GetK8sClusterNameOk returns a tuple with the K8sClusterName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetK8sClusterName

func (o *CreateNativeK8STarget) SetK8sClusterName(v string)

SetK8sClusterName sets K8sClusterName field to given value.

HasK8sClusterName

func (o *CreateNativeK8STarget) HasK8sClusterName() bool

HasK8sClusterName returns a boolean if a field has been set.

GetK8sClusterToken

func (o *CreateNativeK8STarget) GetK8sClusterToken() string

GetK8sClusterToken returns the K8sClusterToken field if non-nil, zero value otherwise.

GetK8sClusterTokenOk

func (o *CreateNativeK8STarget) GetK8sClusterTokenOk() (*string, bool)

GetK8sClusterTokenOk returns a tuple with the K8sClusterToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetK8sClusterToken

func (o *CreateNativeK8STarget) SetK8sClusterToken(v string)

SetK8sClusterToken sets K8sClusterToken field to given value.

GetKey

func (o *CreateNativeK8STarget) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *CreateNativeK8STarget) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *CreateNativeK8STarget) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *CreateNativeK8STarget) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *CreateNativeK8STarget) GetMaxVersions() string

GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.

GetMaxVersionsOk

func (o *CreateNativeK8STarget) GetMaxVersionsOk() (*string, bool)

GetMaxVersionsOk returns a tuple with the MaxVersions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxVersions

func (o *CreateNativeK8STarget) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *CreateNativeK8STarget) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *CreateNativeK8STarget) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *CreateNativeK8STarget) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *CreateNativeK8STarget) SetName(v string)

SetName sets Name field to given value.

GetToken

func (o *CreateNativeK8STarget) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *CreateNativeK8STarget) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *CreateNativeK8STarget) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *CreateNativeK8STarget) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *CreateNativeK8STarget) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *CreateNativeK8STarget) GetUidTokenOk() (*string, bool)

GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUidToken

func (o *CreateNativeK8STarget) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *CreateNativeK8STarget) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUseGwServiceAccount

func (o *CreateNativeK8STarget) GetUseGwServiceAccount() bool

GetUseGwServiceAccount returns the UseGwServiceAccount field if non-nil, zero value otherwise.

GetUseGwServiceAccountOk

func (o *CreateNativeK8STarget) GetUseGwServiceAccountOk() (*bool, bool)

GetUseGwServiceAccountOk returns a tuple with the UseGwServiceAccount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUseGwServiceAccount

func (o *CreateNativeK8STarget) SetUseGwServiceAccount(v bool)

SetUseGwServiceAccount sets UseGwServiceAccount field to given value.

HasUseGwServiceAccount

func (o *CreateNativeK8STarget) HasUseGwServiceAccount() bool

HasUseGwServiceAccount returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]