Skip to content

Latest commit

 

History

History
436 lines (235 loc) · 13.5 KB

RotatedSecretCreateDockerhub.md

File metadata and controls

436 lines (235 loc) · 13.5 KB

RotatedSecretCreateDockerhub

Properties

Name Type Description Notes
AuthenticationCredentials Pointer to string The credentials to connect with use-user-creds/use-target-creds [optional] [default to "use-user-creds"]
AutoRotate Pointer to string Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false] [optional]
DeleteProtection Pointer to string Protection from accidental deletion of this object [true/false] [optional]
Description Pointer to string Description of the object [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
Key Pointer to string The name of a key that used to encrypt the 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 Rotated secret name
PasswordLength Pointer to string The length of the password to be generated [optional]
RotationEventIn Pointer to []string How many days before the rotation of the item would you like to be notified [optional]
RotationHour Pointer to int32 The Hour of the rotation in UTC [optional]
RotationInterval Pointer to string The number of days to wait between every automatic key rotation (1-365) [optional]
Tags Pointer to []string Add tags attached to this object [optional]
TargetName 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]

Methods

NewRotatedSecretCreateDockerhub

func NewRotatedSecretCreateDockerhub(name string, targetName string, ) *RotatedSecretCreateDockerhub

NewRotatedSecretCreateDockerhub instantiates a new RotatedSecretCreateDockerhub 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

NewRotatedSecretCreateDockerhubWithDefaults

func NewRotatedSecretCreateDockerhubWithDefaults() *RotatedSecretCreateDockerhub

NewRotatedSecretCreateDockerhubWithDefaults instantiates a new RotatedSecretCreateDockerhub 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

GetAuthenticationCredentials

func (o *RotatedSecretCreateDockerhub) GetAuthenticationCredentials() string

GetAuthenticationCredentials returns the AuthenticationCredentials field if non-nil, zero value otherwise.

GetAuthenticationCredentialsOk

func (o *RotatedSecretCreateDockerhub) GetAuthenticationCredentialsOk() (*string, bool)

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

SetAuthenticationCredentials

func (o *RotatedSecretCreateDockerhub) SetAuthenticationCredentials(v string)

SetAuthenticationCredentials sets AuthenticationCredentials field to given value.

HasAuthenticationCredentials

func (o *RotatedSecretCreateDockerhub) HasAuthenticationCredentials() bool

HasAuthenticationCredentials returns a boolean if a field has been set.

GetAutoRotate

func (o *RotatedSecretCreateDockerhub) GetAutoRotate() string

GetAutoRotate returns the AutoRotate field if non-nil, zero value otherwise.

GetAutoRotateOk

func (o *RotatedSecretCreateDockerhub) GetAutoRotateOk() (*string, bool)

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

SetAutoRotate

func (o *RotatedSecretCreateDockerhub) SetAutoRotate(v string)

SetAutoRotate sets AutoRotate field to given value.

HasAutoRotate

func (o *RotatedSecretCreateDockerhub) HasAutoRotate() bool

HasAutoRotate returns a boolean if a field has been set.

GetDeleteProtection

func (o *RotatedSecretCreateDockerhub) GetDeleteProtection() string

GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.

GetDeleteProtectionOk

func (o *RotatedSecretCreateDockerhub) GetDeleteProtectionOk() (*string, bool)

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

SetDeleteProtection

func (o *RotatedSecretCreateDockerhub) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *RotatedSecretCreateDockerhub) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *RotatedSecretCreateDockerhub) GetDescription() string

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

GetDescriptionOk

func (o *RotatedSecretCreateDockerhub) 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 *RotatedSecretCreateDockerhub) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *RotatedSecretCreateDockerhub) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetJson

func (o *RotatedSecretCreateDockerhub) GetJson() bool

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

GetJsonOk

func (o *RotatedSecretCreateDockerhub) 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 *RotatedSecretCreateDockerhub) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *RotatedSecretCreateDockerhub) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *RotatedSecretCreateDockerhub) GetKey() string

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

GetKeyOk

func (o *RotatedSecretCreateDockerhub) 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 *RotatedSecretCreateDockerhub) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *RotatedSecretCreateDockerhub) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *RotatedSecretCreateDockerhub) GetMaxVersions() string

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

GetMaxVersionsOk

func (o *RotatedSecretCreateDockerhub) 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 *RotatedSecretCreateDockerhub) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *RotatedSecretCreateDockerhub) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *RotatedSecretCreateDockerhub) GetName() string

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

GetNameOk

func (o *RotatedSecretCreateDockerhub) 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 *RotatedSecretCreateDockerhub) SetName(v string)

SetName sets Name field to given value.

GetPasswordLength

func (o *RotatedSecretCreateDockerhub) GetPasswordLength() string

GetPasswordLength returns the PasswordLength field if non-nil, zero value otherwise.

GetPasswordLengthOk

func (o *RotatedSecretCreateDockerhub) GetPasswordLengthOk() (*string, bool)

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

SetPasswordLength

func (o *RotatedSecretCreateDockerhub) SetPasswordLength(v string)

SetPasswordLength sets PasswordLength field to given value.

HasPasswordLength

func (o *RotatedSecretCreateDockerhub) HasPasswordLength() bool

HasPasswordLength returns a boolean if a field has been set.

GetRotationEventIn

func (o *RotatedSecretCreateDockerhub) GetRotationEventIn() []string

GetRotationEventIn returns the RotationEventIn field if non-nil, zero value otherwise.

GetRotationEventInOk

func (o *RotatedSecretCreateDockerhub) GetRotationEventInOk() (*[]string, bool)

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

SetRotationEventIn

func (o *RotatedSecretCreateDockerhub) SetRotationEventIn(v []string)

SetRotationEventIn sets RotationEventIn field to given value.

HasRotationEventIn

func (o *RotatedSecretCreateDockerhub) HasRotationEventIn() bool

HasRotationEventIn returns a boolean if a field has been set.

GetRotationHour

func (o *RotatedSecretCreateDockerhub) GetRotationHour() int32

GetRotationHour returns the RotationHour field if non-nil, zero value otherwise.

GetRotationHourOk

func (o *RotatedSecretCreateDockerhub) GetRotationHourOk() (*int32, bool)

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

SetRotationHour

func (o *RotatedSecretCreateDockerhub) SetRotationHour(v int32)

SetRotationHour sets RotationHour field to given value.

HasRotationHour

func (o *RotatedSecretCreateDockerhub) HasRotationHour() bool

HasRotationHour returns a boolean if a field has been set.

GetRotationInterval

func (o *RotatedSecretCreateDockerhub) GetRotationInterval() string

GetRotationInterval returns the RotationInterval field if non-nil, zero value otherwise.

GetRotationIntervalOk

func (o *RotatedSecretCreateDockerhub) GetRotationIntervalOk() (*string, bool)

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

SetRotationInterval

func (o *RotatedSecretCreateDockerhub) SetRotationInterval(v string)

SetRotationInterval sets RotationInterval field to given value.

HasRotationInterval

func (o *RotatedSecretCreateDockerhub) HasRotationInterval() bool

HasRotationInterval returns a boolean if a field has been set.

GetTags

func (o *RotatedSecretCreateDockerhub) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *RotatedSecretCreateDockerhub) GetTagsOk() (*[]string, bool)

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

SetTags

func (o *RotatedSecretCreateDockerhub) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *RotatedSecretCreateDockerhub) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTargetName

func (o *RotatedSecretCreateDockerhub) GetTargetName() string

GetTargetName returns the TargetName field if non-nil, zero value otherwise.

GetTargetNameOk

func (o *RotatedSecretCreateDockerhub) GetTargetNameOk() (*string, bool)

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

SetTargetName

func (o *RotatedSecretCreateDockerhub) SetTargetName(v string)

SetTargetName sets TargetName field to given value.

GetToken

func (o *RotatedSecretCreateDockerhub) GetToken() string

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

GetTokenOk

func (o *RotatedSecretCreateDockerhub) 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 *RotatedSecretCreateDockerhub) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *RotatedSecretCreateDockerhub) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *RotatedSecretCreateDockerhub) GetUidToken() string

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

GetUidTokenOk

func (o *RotatedSecretCreateDockerhub) 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 *RotatedSecretCreateDockerhub) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *RotatedSecretCreateDockerhub) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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