Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 5.35 KB

V1ConfigMap.md

File metadata and controls

160 lines (87 loc) · 5.35 KB

V1ConfigMap

Properties

Name Type Description Notes
ApiVersion Pointer to string APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources [optional]
BinaryData Pointer to map[string]interface{} BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. [optional]
Data Pointer to map[string]interface{} Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. [optional]
Kind Pointer to string Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds [optional]
Metadata Pointer to V1ObjectMeta [optional]

Methods

NewV1ConfigMap

func NewV1ConfigMap() *V1ConfigMap

NewV1ConfigMap instantiates a new V1ConfigMap 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

NewV1ConfigMapWithDefaults

func NewV1ConfigMapWithDefaults() *V1ConfigMap

NewV1ConfigMapWithDefaults instantiates a new V1ConfigMap 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

GetApiVersion

func (o *V1ConfigMap) GetApiVersion() string

GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.

GetApiVersionOk

func (o *V1ConfigMap) GetApiVersionOk() (*string, bool)

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

SetApiVersion

func (o *V1ConfigMap) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

HasApiVersion

func (o *V1ConfigMap) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

GetBinaryData

func (o *V1ConfigMap) GetBinaryData() map[string]interface{}

GetBinaryData returns the BinaryData field if non-nil, zero value otherwise.

GetBinaryDataOk

func (o *V1ConfigMap) GetBinaryDataOk() (*map[string]interface{}, bool)

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

SetBinaryData

func (o *V1ConfigMap) SetBinaryData(v map[string]interface{})

SetBinaryData sets BinaryData field to given value.

HasBinaryData

func (o *V1ConfigMap) HasBinaryData() bool

HasBinaryData returns a boolean if a field has been set.

GetData

func (o *V1ConfigMap) GetData() map[string]interface{}

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *V1ConfigMap) GetDataOk() (*map[string]interface{}, bool)

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

SetData

func (o *V1ConfigMap) SetData(v map[string]interface{})

SetData sets Data field to given value.

HasData

func (o *V1ConfigMap) HasData() bool

HasData returns a boolean if a field has been set.

GetKind

func (o *V1ConfigMap) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *V1ConfigMap) GetKindOk() (*string, bool)

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

SetKind

func (o *V1ConfigMap) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *V1ConfigMap) HasKind() bool

HasKind returns a boolean if a field has been set.

GetMetadata

func (o *V1ConfigMap) GetMetadata() V1ObjectMeta

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *V1ConfigMap) GetMetadataOk() (*V1ObjectMeta, bool)

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

SetMetadata

func (o *V1ConfigMap) SetMetadata(v V1ObjectMeta)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *V1ConfigMap) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

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