Skip to content

Latest commit

 

History

History
140 lines (75 loc) · 3.75 KB

File metadata and controls

140 lines (75 loc) · 3.75 KB

ConfigContext

Properties

Name Type Description Notes
ApiVersion string API Version of the config context resource [default to "gitops.k8smgmt.io/v3"]
Kind string Kind of the config context resource [default to "ConfigContext"]
Metadata Metadata
Spec ConfigContextSpec
Status Pointer to Status [optional]

Methods

NewConfigContext

func NewConfigContext(apiVersion string, kind string, metadata Metadata, spec ConfigContextSpec, ) *ConfigContext

NewConfigContext instantiates a new ConfigContext 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

NewConfigContextWithDefaults

func NewConfigContextWithDefaults() *ConfigContext

NewConfigContextWithDefaults instantiates a new ConfigContext 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 *ConfigContext) GetApiVersion() string

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

GetApiVersionOk

func (o *ConfigContext) 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 *ConfigContext) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

GetKind

func (o *ConfigContext) GetKind() string

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

GetKindOk

func (o *ConfigContext) 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 *ConfigContext) SetKind(v string)

SetKind sets Kind field to given value.

GetMetadata

func (o *ConfigContext) GetMetadata() Metadata

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

GetMetadataOk

func (o *ConfigContext) GetMetadataOk() (*Metadata, 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 *ConfigContext) SetMetadata(v Metadata)

SetMetadata sets Metadata field to given value.

GetSpec

func (o *ConfigContext) GetSpec() ConfigContextSpec

GetSpec returns the Spec field if non-nil, zero value otherwise.

GetSpecOk

func (o *ConfigContext) GetSpecOk() (*ConfigContextSpec, bool)

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

SetSpec

func (o *ConfigContext) SetSpec(v ConfigContextSpec)

SetSpec sets Spec field to given value.

GetStatus

func (o *ConfigContext) GetStatus() Status

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *ConfigContext) GetStatusOk() (*Status, bool)

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

SetStatus

func (o *ConfigContext) SetStatus(v Status)

SetStatus sets Status field to given value.

HasStatus

func (o *ConfigContext) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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