Skip to content

Latest commit

 

History

History
103 lines (56 loc) · 2.95 KB

V1ConfigMapKeySelector.md

File metadata and controls

103 lines (56 loc) · 2.95 KB

V1ConfigMapKeySelector

Properties

Name Type Description Notes
Key string The key to select.
Name Pointer to string Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names [optional]
Optional Pointer to bool Specify whether the ConfigMap or it's key must be defined [optional]

Methods

NewV1ConfigMapKeySelector

func NewV1ConfigMapKeySelector(key string, ) *V1ConfigMapKeySelector

NewV1ConfigMapKeySelector instantiates a new V1ConfigMapKeySelector 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

NewV1ConfigMapKeySelectorWithDefaults

func NewV1ConfigMapKeySelectorWithDefaults() *V1ConfigMapKeySelector

NewV1ConfigMapKeySelectorWithDefaults instantiates a new V1ConfigMapKeySelector 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

GetKey

func (o *V1ConfigMapKeySelector) GetKey() string

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

GetKeyOk

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

SetKey sets Key field to given value.

GetName

func (o *V1ConfigMapKeySelector) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *V1ConfigMapKeySelector) HasName() bool

HasName returns a boolean if a field has been set.

GetOptional

func (o *V1ConfigMapKeySelector) GetOptional() bool

GetOptional returns the Optional field if non-nil, zero value otherwise.

GetOptionalOk

func (o *V1ConfigMapKeySelector) GetOptionalOk() (*bool, bool)

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

SetOptional

func (o *V1ConfigMapKeySelector) SetOptional(v bool)

SetOptional sets Optional field to given value.

HasOptional

func (o *V1ConfigMapKeySelector) HasOptional() bool

HasOptional returns a boolean if a field has been set.

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