Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type ApiGenerateAgentConfigRequest
- type ApiGetClusterRequest
- type ApiGetClustersRequest
- type ApiGetProductRequest
- type ApiRegisterClusterRequest
- type ApiUnregisterClusterRequest
- type ApiUpdateTelemetryRequest
- type BasicAuth
- type ClustersApi
- type ClustersApiService
- func (a *ClustersApiService) GenerateAgentConfig(ctx context.Context, clusterId string) ApiGenerateAgentConfigRequest
- func (a *ClustersApiService) GenerateAgentConfigExecute(r ApiGenerateAgentConfigRequest) (string, *http.Response, error)
- func (a *ClustersApiService) GetCluster(ctx context.Context, clusterId string) ApiGetClusterRequest
- func (a *ClustersApiService) GetClusterExecute(r ApiGetClusterRequest) (*KubernetesClusterDetailedResponse, *http.Response, error)
- func (a *ClustersApiService) GetClusters(ctx context.Context) ApiGetClustersRequest
- func (a *ClustersApiService) GetClustersExecute(r ApiGetClustersRequest) ([]KubernetesClusterResponse, *http.Response, error)
- func (a *ClustersApiService) RegisterCluster(ctx context.Context) ApiRegisterClusterRequest
- func (a *ClustersApiService) RegisterClusterExecute(r ApiRegisterClusterRequest) (*http.Response, error)
- func (a *ClustersApiService) UnregisterCluster(ctx context.Context, clusterId string) ApiUnregisterClusterRequest
- func (a *ClustersApiService) UnregisterClusterExecute(r ApiUnregisterClusterRequest) (*http.Response, error)
- func (a *ClustersApiService) UpdateTelemetry(ctx context.Context, clusterId string) ApiUpdateTelemetryRequest
- func (a *ClustersApiService) UpdateTelemetryExecute(r ApiUpdateTelemetryRequest) (*http.Response, error)
- type Configuration
- type ConstraintsViolation
- func (o *ConstraintsViolation) GetField() string
- func (o *ConstraintsViolation) GetFieldOk() (*string, bool)
- func (o *ConstraintsViolation) GetMessage() string
- func (o *ConstraintsViolation) GetMessageOk() (*string, bool)
- func (o ConstraintsViolation) MarshalJSON() ([]byte, error)
- func (o *ConstraintsViolation) SetField(v string)
- func (o *ConstraintsViolation) SetMessage(v string)
- func (o *ConstraintsViolation) UnmarshalJSON(bytes []byte) (err error)
- type ConstraintsViolationsError
- func (o *ConstraintsViolationsError) GetDetail() string
- func (o *ConstraintsViolationsError) GetDetailOk() (*string, bool)
- func (o *ConstraintsViolationsError) GetInstance() string
- func (o *ConstraintsViolationsError) GetInstanceOk() (*string, bool)
- func (o *ConstraintsViolationsError) GetStatus() int32
- func (o *ConstraintsViolationsError) GetStatusOk() (*int32, bool)
- func (o *ConstraintsViolationsError) GetTitle() string
- func (o *ConstraintsViolationsError) GetTitleOk() (*string, bool)
- func (o *ConstraintsViolationsError) GetType() string
- func (o *ConstraintsViolationsError) GetTypeOk() (*string, bool)
- func (o *ConstraintsViolationsError) GetViolations() []ConstraintsViolation
- func (o *ConstraintsViolationsError) GetViolationsOk() ([]ConstraintsViolation, bool)
- func (o *ConstraintsViolationsError) HasDetail() bool
- func (o *ConstraintsViolationsError) HasInstance() bool
- func (o *ConstraintsViolationsError) HasStatus() bool
- func (o ConstraintsViolationsError) MarshalJSON() ([]byte, error)
- func (o *ConstraintsViolationsError) SetDetail(v string)
- func (o *ConstraintsViolationsError) SetInstance(v string)
- func (o *ConstraintsViolationsError) SetStatus(v int32)
- func (o *ConstraintsViolationsError) SetTitle(v string)
- func (o *ConstraintsViolationsError) SetType(v string)
- func (o *ConstraintsViolationsError) SetViolations(v []ConstraintsViolation)
- func (o *ConstraintsViolationsError) UnmarshalJSON(bytes []byte) (err error)
- type Container
- func (o *Container) GetId() string
- func (o *Container) GetIdOk() (*string, bool)
- func (o *Container) GetImage() string
- func (o *Container) GetImageId() string
- func (o *Container) GetImageIdOk() (*string, bool)
- func (o *Container) GetImageOk() (*string, bool)
- func (o *Container) GetName() string
- func (o *Container) GetNameOk() (*string, bool)
- func (o *Container) GetProduct() Product
- func (o *Container) GetProductOk() (*Product, bool)
- func (o *Container) HasId() bool
- func (o *Container) HasProduct() bool
- func (o Container) MarshalJSON() ([]byte, error)
- func (o *Container) SetId(v string)
- func (o *Container) SetImage(v string)
- func (o *Container) SetImageId(v string)
- func (o *Container) SetName(v string)
- func (o *Container) SetProduct(v Product)
- func (o *Container) UnmarshalJSON(bytes []byte) (err error)
- type DeprecationPolicy
- func (o *DeprecationPolicy) GetAlternative() string
- func (o *DeprecationPolicy) GetAlternativeOk() (*string, bool)
- func (o *DeprecationPolicy) GetDeprecationDate() string
- func (o *DeprecationPolicy) GetDeprecationDateOk() (*string, bool)
- func (o *DeprecationPolicy) GetGracePeriodDays() int32
- func (o *DeprecationPolicy) GetGracePeriodDaysOk() (*int32, bool)
- func (o *DeprecationPolicy) GetReason() string
- func (o *DeprecationPolicy) GetReasonOk() (*string, bool)
- func (o *DeprecationPolicy) HasAlternative() bool
- func (o *DeprecationPolicy) HasGracePeriodDays() bool
- func (o *DeprecationPolicy) HasReason() bool
- func (o DeprecationPolicy) MarshalJSON() ([]byte, error)
- func (o *DeprecationPolicy) SetAlternative(v string)
- func (o *DeprecationPolicy) SetDeprecationDate(v string)
- func (o *DeprecationPolicy) SetGracePeriodDays(v int32)
- func (o *DeprecationPolicy) SetReason(v string)
- func (o *DeprecationPolicy) UnmarshalJSON(bytes []byte) (err error)
- type Error
- func (o *Error) GetDetail() string
- func (o *Error) GetDetailOk() (*string, bool)
- func (o *Error) GetInstance() string
- func (o *Error) GetInstanceOk() (*string, bool)
- func (o *Error) GetStatus() int32
- func (o *Error) GetStatusOk() (*int32, bool)
- func (o *Error) GetTitle() string
- func (o *Error) GetTitleOk() (*string, bool)
- func (o *Error) GetType() string
- func (o *Error) GetTypeOk() (*string, bool)
- func (o *Error) HasDetail() bool
- func (o *Error) HasInstance() bool
- func (o *Error) HasStatus() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetDetail(v string)
- func (o *Error) SetInstance(v string)
- func (o *Error) SetStatus(v int32)
- func (o *Error) SetTitle(v string)
- func (o *Error) SetType(v string)
- func (o *Error) UnmarshalJSON(bytes []byte) (err error)
- type GenericOpenAPIError
- type KubernetesAgentConfigRequest
- func (o *KubernetesAgentConfigRequest) GetApiToken() string
- func (o *KubernetesAgentConfigRequest) GetApiTokenOk() (*string, bool)
- func (o *KubernetesAgentConfigRequest) GetMatchLabels() []MatchLabel
- func (o *KubernetesAgentConfigRequest) GetMatchLabelsOk() ([]MatchLabel, bool)
- func (o KubernetesAgentConfigRequest) MarshalJSON() ([]byte, error)
- func (o *KubernetesAgentConfigRequest) SetApiToken(v string)
- func (o *KubernetesAgentConfigRequest) SetMatchLabels(v []MatchLabel)
- func (o *KubernetesAgentConfigRequest) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesCluster
- func (o *KubernetesCluster) GetName() string
- func (o *KubernetesCluster) GetNameOk() (*string, bool)
- func (o *KubernetesCluster) GetWorkloads() []KubernetesWorkload
- func (o *KubernetesCluster) GetWorkloadsOk() ([]KubernetesWorkload, bool)
- func (o KubernetesCluster) MarshalJSON() ([]byte, error)
- func (o *KubernetesCluster) SetName(v string)
- func (o *KubernetesCluster) SetWorkloads(v []KubernetesWorkload)
- func (o *KubernetesCluster) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesClusterDetailedResponse
- func (o *KubernetesClusterDetailedResponse) GetCreatedAt() time.Time
- func (o *KubernetesClusterDetailedResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *KubernetesClusterDetailedResponse) GetCreatedBy() string
- func (o *KubernetesClusterDetailedResponse) GetCreatedByOk() (*string, bool)
- func (o *KubernetesClusterDetailedResponse) GetId() string
- func (o *KubernetesClusterDetailedResponse) GetIdOk() (*string, bool)
- func (o *KubernetesClusterDetailedResponse) GetName() string
- func (o *KubernetesClusterDetailedResponse) GetNameOk() (*string, bool)
- func (o *KubernetesClusterDetailedResponse) GetTelemetry() KubernetesTelemetryResponse
- func (o *KubernetesClusterDetailedResponse) GetTelemetryOk() (*KubernetesTelemetryResponse, bool)
- func (o *KubernetesClusterDetailedResponse) GetUpdatedAt() time.Time
- func (o *KubernetesClusterDetailedResponse) GetUpdatedAtOk() (*time.Time, bool)
- func (o *KubernetesClusterDetailedResponse) GetUpdatedBy() string
- func (o *KubernetesClusterDetailedResponse) GetUpdatedByOk() (*string, bool)
- func (o *KubernetesClusterDetailedResponse) HasCreatedAt() bool
- func (o *KubernetesClusterDetailedResponse) HasCreatedBy() bool
- func (o *KubernetesClusterDetailedResponse) HasTelemetry() bool
- func (o *KubernetesClusterDetailedResponse) HasUpdatedAt() bool
- func (o *KubernetesClusterDetailedResponse) HasUpdatedBy() bool
- func (o KubernetesClusterDetailedResponse) MarshalJSON() ([]byte, error)
- func (o *KubernetesClusterDetailedResponse) SetCreatedAt(v time.Time)
- func (o *KubernetesClusterDetailedResponse) SetCreatedBy(v string)
- func (o *KubernetesClusterDetailedResponse) SetId(v string)
- func (o *KubernetesClusterDetailedResponse) SetName(v string)
- func (o *KubernetesClusterDetailedResponse) SetTelemetry(v KubernetesTelemetryResponse)
- func (o *KubernetesClusterDetailedResponse) SetUpdatedAt(v time.Time)
- func (o *KubernetesClusterDetailedResponse) SetUpdatedBy(v string)
- func (o *KubernetesClusterDetailedResponse) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesClusterDetailedResponseAllOf
- func (o *KubernetesClusterDetailedResponseAllOf) GetTelemetry() KubernetesTelemetryResponse
- func (o *KubernetesClusterDetailedResponseAllOf) GetTelemetryOk() (*KubernetesTelemetryResponse, bool)
- func (o *KubernetesClusterDetailedResponseAllOf) HasTelemetry() bool
- func (o KubernetesClusterDetailedResponseAllOf) MarshalJSON() ([]byte, error)
- func (o *KubernetesClusterDetailedResponseAllOf) SetTelemetry(v KubernetesTelemetryResponse)
- func (o *KubernetesClusterDetailedResponseAllOf) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesClusterRequest
- func (o *KubernetesClusterRequest) GetName() string
- func (o *KubernetesClusterRequest) GetNameOk() (*string, bool)
- func (o *KubernetesClusterRequest) GetWorkloads() []KubernetesWorkload
- func (o *KubernetesClusterRequest) GetWorkloadsOk() ([]KubernetesWorkload, bool)
- func (o KubernetesClusterRequest) MarshalJSON() ([]byte, error)
- func (o *KubernetesClusterRequest) SetName(v string)
- func (o *KubernetesClusterRequest) SetWorkloads(v []KubernetesWorkload)
- func (o *KubernetesClusterRequest) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesClusterResponse
- func (o *KubernetesClusterResponse) GetCreatedAt() time.Time
- func (o *KubernetesClusterResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *KubernetesClusterResponse) GetCreatedBy() string
- func (o *KubernetesClusterResponse) GetCreatedByOk() (*string, bool)
- func (o *KubernetesClusterResponse) GetId() string
- func (o *KubernetesClusterResponse) GetIdOk() (*string, bool)
- func (o *KubernetesClusterResponse) GetName() string
- func (o *KubernetesClusterResponse) GetNameOk() (*string, bool)
- func (o *KubernetesClusterResponse) GetUpdatedAt() time.Time
- func (o *KubernetesClusterResponse) GetUpdatedAtOk() (*time.Time, bool)
- func (o *KubernetesClusterResponse) GetUpdatedBy() string
- func (o *KubernetesClusterResponse) GetUpdatedByOk() (*string, bool)
- func (o *KubernetesClusterResponse) HasCreatedAt() bool
- func (o *KubernetesClusterResponse) HasCreatedBy() bool
- func (o *KubernetesClusterResponse) HasUpdatedAt() bool
- func (o *KubernetesClusterResponse) HasUpdatedBy() bool
- func (o KubernetesClusterResponse) MarshalJSON() ([]byte, error)
- func (o *KubernetesClusterResponse) SetCreatedAt(v time.Time)
- func (o *KubernetesClusterResponse) SetCreatedBy(v string)
- func (o *KubernetesClusterResponse) SetId(v string)
- func (o *KubernetesClusterResponse) SetName(v string)
- func (o *KubernetesClusterResponse) SetUpdatedAt(v time.Time)
- func (o *KubernetesClusterResponse) SetUpdatedBy(v string)
- func (o *KubernetesClusterResponse) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesClusterResponseAllOf
- func (o *KubernetesClusterResponseAllOf) GetCreatedAt() time.Time
- func (o *KubernetesClusterResponseAllOf) GetCreatedAtOk() (*time.Time, bool)
- func (o *KubernetesClusterResponseAllOf) GetCreatedBy() string
- func (o *KubernetesClusterResponseAllOf) GetCreatedByOk() (*string, bool)
- func (o *KubernetesClusterResponseAllOf) GetUpdatedAt() time.Time
- func (o *KubernetesClusterResponseAllOf) GetUpdatedAtOk() (*time.Time, bool)
- func (o *KubernetesClusterResponseAllOf) GetUpdatedBy() string
- func (o *KubernetesClusterResponseAllOf) GetUpdatedByOk() (*string, bool)
- func (o *KubernetesClusterResponseAllOf) HasCreatedAt() bool
- func (o *KubernetesClusterResponseAllOf) HasCreatedBy() bool
- func (o *KubernetesClusterResponseAllOf) HasUpdatedAt() bool
- func (o *KubernetesClusterResponseAllOf) HasUpdatedBy() bool
- func (o KubernetesClusterResponseAllOf) MarshalJSON() ([]byte, error)
- func (o *KubernetesClusterResponseAllOf) SetCreatedAt(v time.Time)
- func (o *KubernetesClusterResponseAllOf) SetCreatedBy(v string)
- func (o *KubernetesClusterResponseAllOf) SetUpdatedAt(v time.Time)
- func (o *KubernetesClusterResponseAllOf) SetUpdatedBy(v string)
- func (o *KubernetesClusterResponseAllOf) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesTelemetryRequest
- func (o *KubernetesTelemetryRequest) GetWorkloads() []KubernetesWorkload
- func (o *KubernetesTelemetryRequest) GetWorkloadsOk() ([]KubernetesWorkload, bool)
- func (o KubernetesTelemetryRequest) MarshalJSON() ([]byte, error)
- func (o *KubernetesTelemetryRequest) SetWorkloads(v []KubernetesWorkload)
- func (o *KubernetesTelemetryRequest) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesTelemetryResponse
- func (o *KubernetesTelemetryResponse) GetSyncAt() time.Time
- func (o *KubernetesTelemetryResponse) GetSyncAtOk() (*time.Time, bool)
- func (o *KubernetesTelemetryResponse) GetSyncBy() string
- func (o *KubernetesTelemetryResponse) GetSyncByOk() (*string, bool)
- func (o *KubernetesTelemetryResponse) GetWorkloads() []KubernetesWorkload
- func (o *KubernetesTelemetryResponse) GetWorkloadsOk() ([]KubernetesWorkload, bool)
- func (o *KubernetesTelemetryResponse) HasSyncAt() bool
- func (o *KubernetesTelemetryResponse) HasSyncBy() bool
- func (o KubernetesTelemetryResponse) MarshalJSON() ([]byte, error)
- func (o *KubernetesTelemetryResponse) SetSyncAt(v time.Time)
- func (o *KubernetesTelemetryResponse) SetSyncBy(v string)
- func (o *KubernetesTelemetryResponse) SetWorkloads(v []KubernetesWorkload)
- func (o *KubernetesTelemetryResponse) UnmarshalJSON(bytes []byte) (err error)
- type KubernetesWorkload
- func (o *KubernetesWorkload) GetContainers() []Container
- func (o *KubernetesWorkload) GetContainersOk() ([]Container, bool)
- func (o *KubernetesWorkload) GetKind() string
- func (o *KubernetesWorkload) GetKindOk() (*string, bool)
- func (o *KubernetesWorkload) GetName() string
- func (o *KubernetesWorkload) GetNameOk() (*string, bool)
- func (o *KubernetesWorkload) GetNamespace() string
- func (o *KubernetesWorkload) GetNamespaceOk() (*string, bool)
- func (o KubernetesWorkload) MarshalJSON() ([]byte, error)
- func (o *KubernetesWorkload) SetContainers(v []Container)
- func (o *KubernetesWorkload) SetKind(v string)
- func (o *KubernetesWorkload) SetName(v string)
- func (o *KubernetesWorkload) SetNamespace(v string)
- func (o *KubernetesWorkload) UnmarshalJSON(bytes []byte) (err error)
- type MatchLabel
- func (o *MatchLabel) GetKey() string
- func (o *MatchLabel) GetKeyOk() (*string, bool)
- func (o *MatchLabel) GetValue() string
- func (o *MatchLabel) GetValueOk() (*string, bool)
- func (o MatchLabel) MarshalJSON() ([]byte, error)
- func (o *MatchLabel) SetKey(v string)
- func (o *MatchLabel) SetValue(v string)
- func (o *MatchLabel) UnmarshalJSON(bytes []byte) (err error)
- type NonSupportPolicy
- func (o *NonSupportPolicy) GetName() string
- func (o *NonSupportPolicy) GetNameOk() (*string, bool)
- func (o *NonSupportPolicy) GetReason() string
- func (o *NonSupportPolicy) GetReasonOk() (*string, bool)
- func (o NonSupportPolicy) MarshalJSON() ([]byte, error)
- func (o *NonSupportPolicy) SetName(v string)
- func (o *NonSupportPolicy) SetReason(v string)
- func (o *NonSupportPolicy) UnmarshalJSON(bytes []byte) (err error)
- type NullableConstraintsViolation
- func (v NullableConstraintsViolation) Get() *ConstraintsViolation
- func (v NullableConstraintsViolation) IsSet() bool
- func (v NullableConstraintsViolation) MarshalJSON() ([]byte, error)
- func (v *NullableConstraintsViolation) Set(val *ConstraintsViolation)
- func (v *NullableConstraintsViolation) UnmarshalJSON(src []byte) error
- func (v *NullableConstraintsViolation) Unset()
- type NullableConstraintsViolationsError
- func (v NullableConstraintsViolationsError) Get() *ConstraintsViolationsError
- func (v NullableConstraintsViolationsError) IsSet() bool
- func (v NullableConstraintsViolationsError) MarshalJSON() ([]byte, error)
- func (v *NullableConstraintsViolationsError) Set(val *ConstraintsViolationsError)
- func (v *NullableConstraintsViolationsError) UnmarshalJSON(src []byte) error
- func (v *NullableConstraintsViolationsError) Unset()
- type NullableContainer
- type NullableDeprecationPolicy
- func (v NullableDeprecationPolicy) Get() *DeprecationPolicy
- func (v NullableDeprecationPolicy) IsSet() bool
- func (v NullableDeprecationPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableDeprecationPolicy) Set(val *DeprecationPolicy)
- func (v *NullableDeprecationPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableDeprecationPolicy) Unset()
- type NullableError
- type NullableKubernetesAgentConfigRequest
- func (v NullableKubernetesAgentConfigRequest) Get() *KubernetesAgentConfigRequest
- func (v NullableKubernetesAgentConfigRequest) IsSet() bool
- func (v NullableKubernetesAgentConfigRequest) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesAgentConfigRequest) Set(val *KubernetesAgentConfigRequest)
- func (v *NullableKubernetesAgentConfigRequest) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesAgentConfigRequest) Unset()
- type NullableKubernetesCluster
- func (v NullableKubernetesCluster) Get() *KubernetesCluster
- func (v NullableKubernetesCluster) IsSet() bool
- func (v NullableKubernetesCluster) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesCluster) Set(val *KubernetesCluster)
- func (v *NullableKubernetesCluster) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesCluster) Unset()
- type NullableKubernetesClusterDetailedResponse
- func (v NullableKubernetesClusterDetailedResponse) Get() *KubernetesClusterDetailedResponse
- func (v NullableKubernetesClusterDetailedResponse) IsSet() bool
- func (v NullableKubernetesClusterDetailedResponse) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesClusterDetailedResponse) Set(val *KubernetesClusterDetailedResponse)
- func (v *NullableKubernetesClusterDetailedResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesClusterDetailedResponse) Unset()
- type NullableKubernetesClusterDetailedResponseAllOf
- func (v NullableKubernetesClusterDetailedResponseAllOf) Get() *KubernetesClusterDetailedResponseAllOf
- func (v NullableKubernetesClusterDetailedResponseAllOf) IsSet() bool
- func (v NullableKubernetesClusterDetailedResponseAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesClusterDetailedResponseAllOf) Set(val *KubernetesClusterDetailedResponseAllOf)
- func (v *NullableKubernetesClusterDetailedResponseAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesClusterDetailedResponseAllOf) Unset()
- type NullableKubernetesClusterRequest
- func (v NullableKubernetesClusterRequest) Get() *KubernetesClusterRequest
- func (v NullableKubernetesClusterRequest) IsSet() bool
- func (v NullableKubernetesClusterRequest) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesClusterRequest) Set(val *KubernetesClusterRequest)
- func (v *NullableKubernetesClusterRequest) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesClusterRequest) Unset()
- type NullableKubernetesClusterResponse
- func (v NullableKubernetesClusterResponse) Get() *KubernetesClusterResponse
- func (v NullableKubernetesClusterResponse) IsSet() bool
- func (v NullableKubernetesClusterResponse) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesClusterResponse) Set(val *KubernetesClusterResponse)
- func (v *NullableKubernetesClusterResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesClusterResponse) Unset()
- type NullableKubernetesClusterResponseAllOf
- func (v NullableKubernetesClusterResponseAllOf) Get() *KubernetesClusterResponseAllOf
- func (v NullableKubernetesClusterResponseAllOf) IsSet() bool
- func (v NullableKubernetesClusterResponseAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesClusterResponseAllOf) Set(val *KubernetesClusterResponseAllOf)
- func (v *NullableKubernetesClusterResponseAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesClusterResponseAllOf) Unset()
- type NullableKubernetesTelemetryRequest
- func (v NullableKubernetesTelemetryRequest) Get() *KubernetesTelemetryRequest
- func (v NullableKubernetesTelemetryRequest) IsSet() bool
- func (v NullableKubernetesTelemetryRequest) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesTelemetryRequest) Set(val *KubernetesTelemetryRequest)
- func (v *NullableKubernetesTelemetryRequest) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesTelemetryRequest) Unset()
- type NullableKubernetesTelemetryResponse
- func (v NullableKubernetesTelemetryResponse) Get() *KubernetesTelemetryResponse
- func (v NullableKubernetesTelemetryResponse) IsSet() bool
- func (v NullableKubernetesTelemetryResponse) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesTelemetryResponse) Set(val *KubernetesTelemetryResponse)
- func (v *NullableKubernetesTelemetryResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesTelemetryResponse) Unset()
- type NullableKubernetesWorkload
- func (v NullableKubernetesWorkload) Get() *KubernetesWorkload
- func (v NullableKubernetesWorkload) IsSet() bool
- func (v NullableKubernetesWorkload) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesWorkload) Set(val *KubernetesWorkload)
- func (v *NullableKubernetesWorkload) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesWorkload) Unset()
- type NullableMatchLabel
- type NullableNonSupportPolicy
- func (v NullableNonSupportPolicy) Get() *NonSupportPolicy
- func (v NullableNonSupportPolicy) IsSet() bool
- func (v NullableNonSupportPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableNonSupportPolicy) Set(val *NonSupportPolicy)
- func (v *NullableNonSupportPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableNonSupportPolicy) Unset()
- type NullableProduct
- type NullableRegisterKubernetesClusterRequest
- func (v NullableRegisterKubernetesClusterRequest) Get() *RegisterKubernetesClusterRequest
- func (v NullableRegisterKubernetesClusterRequest) IsSet() bool
- func (v NullableRegisterKubernetesClusterRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRegisterKubernetesClusterRequest) Set(val *RegisterKubernetesClusterRequest)
- func (v *NullableRegisterKubernetesClusterRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRegisterKubernetesClusterRequest) Unset()
- type Product
- func (o *Product) GetBranch() string
- func (o *Product) GetBranchOk() (*string, bool)
- func (o *Product) GetDeprecationPolicy() DeprecationPolicy
- func (o *Product) GetDeprecationPolicyOk() (*DeprecationPolicy, bool)
- func (o *Product) GetLastVersionReleased() string
- func (o *Product) GetLastVersionReleasedOk() (*string, bool)
- func (o *Product) GetName() string
- func (o *Product) GetNameOk() (*string, bool)
- func (o *Product) GetNewerBranchesAvailable() []string
- func (o *Product) GetNewerBranchesAvailableOk() ([]string, bool)
- func (o *Product) GetNonsupportPolicy() NonSupportPolicy
- func (o *Product) GetNonsupportPolicyOk() (*NonSupportPolicy, bool)
- func (o *Product) GetReleasedAt() time.Time
- func (o *Product) GetReleasedAtOk() (*time.Time, bool)
- func (o *Product) GetRevision() string
- func (o *Product) GetRevisionOk() (*string, bool)
- func (o *Product) GetStatus() string
- func (o *Product) GetStatusOk() (*string, bool)
- func (o *Product) GetVersion() string
- func (o *Product) GetVersionOk() (*string, bool)
- func (o *Product) HasDeprecationPolicy() bool
- func (o *Product) HasLastVersionReleased() bool
- func (o *Product) HasNewerBranchesAvailable() bool
- func (o *Product) HasNonsupportPolicy() bool
- func (o *Product) HasRevision() bool
- func (o *Product) HasStatus() bool
- func (o Product) MarshalJSON() ([]byte, error)
- func (o *Product) SetBranch(v string)
- func (o *Product) SetDeprecationPolicy(v DeprecationPolicy)
- func (o *Product) SetLastVersionReleased(v string)
- func (o *Product) SetName(v string)
- func (o *Product) SetNewerBranchesAvailable(v []string)
- func (o *Product) SetNonsupportPolicy(v NonSupportPolicy)
- func (o *Product) SetReleasedAt(v time.Time)
- func (o *Product) SetRevision(v string)
- func (o *Product) SetStatus(v string)
- func (o *Product) SetVersion(v string)
- func (o *Product) UnmarshalJSON(bytes []byte) (err error)
- type ProductsApi
- type ProductsApiService
- type RegisterKubernetesClusterRequest
- func (o *RegisterKubernetesClusterRequest) GetName() string
- func (o *RegisterKubernetesClusterRequest) GetNameOk() (*string, bool)
- func (o RegisterKubernetesClusterRequest) MarshalJSON() ([]byte, error)
- func (o *RegisterKubernetesClusterRequest) SetName(v string)
- func (o *RegisterKubernetesClusterRequest) UnmarshalJSON(bytes []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { ClustersApi ClustersApi ProductsApi ProductsApi // contains filtered or unexported fields }
APIClient manages communication with the Catalog Governor Service REST API API v${project.version} In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type ApiGenerateAgentConfigRequest ¶
type ApiGenerateAgentConfigRequest struct { ApiService ClustersApi // contains filtered or unexported fields }
func (ApiGenerateAgentConfigRequest) Execute ¶
func (r ApiGenerateAgentConfigRequest) Execute() (string, *http.Response, error)
func (ApiGenerateAgentConfigRequest) KubernetesAgentConfigRequest ¶
func (r ApiGenerateAgentConfigRequest) KubernetesAgentConfigRequest(kubernetesAgentConfigRequest KubernetesAgentConfigRequest) ApiGenerateAgentConfigRequest
Details of the agent properties for generating agent configuration
type ApiGetClusterRequest ¶
type ApiGetClusterRequest struct { ApiService ClustersApi // contains filtered or unexported fields }
func (ApiGetClusterRequest) Execute ¶
func (r ApiGetClusterRequest) Execute() (*KubernetesClusterDetailedResponse, *http.Response, error)
type ApiGetClustersRequest ¶
type ApiGetClustersRequest struct { ApiService ClustersApi // contains filtered or unexported fields }
func (ApiGetClustersRequest) Execute ¶
func (r ApiGetClustersRequest) Execute() ([]KubernetesClusterResponse, *http.Response, error)
type ApiGetProductRequest ¶
type ApiGetProductRequest struct { ApiService ProductsApi // contains filtered or unexported fields }
func (ApiGetProductRequest) Execute ¶
func (r ApiGetProductRequest) Execute() (*Product, *http.Response, error)
func (ApiGetProductRequest) ImageId ¶
func (r ApiGetProductRequest) ImageId(imageId string) ApiGetProductRequest
A string as the identifier of a product
type ApiRegisterClusterRequest ¶
type ApiRegisterClusterRequest struct { ApiService ClustersApi // contains filtered or unexported fields }
func (ApiRegisterClusterRequest) Execute ¶
func (r ApiRegisterClusterRequest) Execute() (*http.Response, error)
func (ApiRegisterClusterRequest) RegisterKubernetesClusterRequest ¶
func (r ApiRegisterClusterRequest) RegisterKubernetesClusterRequest(registerKubernetesClusterRequest RegisterKubernetesClusterRequest) ApiRegisterClusterRequest
Details of the cluster to be registered
type ApiUnregisterClusterRequest ¶
type ApiUnregisterClusterRequest struct { ApiService ClustersApi // contains filtered or unexported fields }
type ApiUpdateTelemetryRequest ¶
type ApiUpdateTelemetryRequest struct { ApiService ClustersApi // contains filtered or unexported fields }
func (ApiUpdateTelemetryRequest) Execute ¶
func (r ApiUpdateTelemetryRequest) Execute() (*http.Response, error)
func (ApiUpdateTelemetryRequest) KubernetesTelemetryRequest ¶
func (r ApiUpdateTelemetryRequest) KubernetesTelemetryRequest(kubernetesTelemetryRequest KubernetesTelemetryRequest) ApiUpdateTelemetryRequest
Workload telemetry of the cluster to be updated
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type ClustersApi ¶
type ClustersApi interface { /* GenerateAgentConfig Generate cluster agent configuration manifest Generates the agent configuration manifest data for a cluster in an organization. OrgId is fetched from CSP token. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId A string as the identifier of a cluster @return ApiGenerateAgentConfigRequest */ GenerateAgentConfig(ctx context.Context, clusterId string) ApiGenerateAgentConfigRequest // GenerateAgentConfigExecute executes the request // @return string GenerateAgentConfigExecute(r ApiGenerateAgentConfigRequest) (string, *http.Response, error) /* GetCluster Get cluster and workload telemetry Returns information about a cluster and its workloads deployed for an organization. OrgId is fetched from CSP token. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId A string as the identifier of a cluster @return ApiGetClusterRequest */ GetCluster(ctx context.Context, clusterId string) ApiGetClusterRequest // GetClusterExecute executes the request // @return KubernetesClusterDetailedResponse GetClusterExecute(r ApiGetClusterRequest) (*KubernetesClusterDetailedResponse, *http.Response, error) /* GetClusters Get information about all clusters and their workloads Returns all clusters and their workloads for an organization. OrgId is fetched from CSP token. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetClustersRequest */ GetClusters(ctx context.Context) ApiGetClustersRequest // GetClustersExecute executes the request // @return []KubernetesClusterResponse GetClustersExecute(r ApiGetClustersRequest) ([]KubernetesClusterResponse, *http.Response, error) /* RegisterCluster Register a new kubernetes cluster Registers a new cluster to start receiving telemetry. OrgId is fetched from CSP token. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRegisterClusterRequest */ RegisterCluster(ctx context.Context) ApiRegisterClusterRequest // RegisterClusterExecute executes the request RegisterClusterExecute(r ApiRegisterClusterRequest) (*http.Response, error) /* UnregisterCluster Unregister a saved kubernetes cluster Unregisters a cluster. OrgId is fetched from CSP token. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId A string as the identifier of a cluster @return ApiUnregisterClusterRequest */ UnregisterCluster(ctx context.Context, clusterId string) ApiUnregisterClusterRequest // UnregisterClusterExecute executes the request UnregisterClusterExecute(r ApiUnregisterClusterRequest) (*http.Response, error) /* UpdateTelemetry Save or update cluster workload telemetry Saves/updates information about the running workloads in a cluster for an organization. OrgId is fetched from CSP token. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId A string as the identifier of a cluster @return ApiUpdateTelemetryRequest */ UpdateTelemetry(ctx context.Context, clusterId string) ApiUpdateTelemetryRequest // UpdateTelemetryExecute executes the request UpdateTelemetryExecute(r ApiUpdateTelemetryRequest) (*http.Response, error) }
type ClustersApiService ¶
type ClustersApiService service
ClustersApiService ClustersApi service
func (*ClustersApiService) GenerateAgentConfig ¶
func (a *ClustersApiService) GenerateAgentConfig(ctx context.Context, clusterId string) ApiGenerateAgentConfigRequest
GenerateAgentConfig Generate cluster agent configuration manifest
Generates the agent configuration manifest data for a cluster in an organization. OrgId is fetched from CSP token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId A string as the identifier of a cluster @return ApiGenerateAgentConfigRequest
func (*ClustersApiService) GenerateAgentConfigExecute ¶
func (a *ClustersApiService) GenerateAgentConfigExecute(r ApiGenerateAgentConfigRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ClustersApiService) GetCluster ¶
func (a *ClustersApiService) GetCluster(ctx context.Context, clusterId string) ApiGetClusterRequest
GetCluster Get cluster and workload telemetry
Returns information about a cluster and its workloads deployed for an organization. OrgId is fetched from CSP token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId A string as the identifier of a cluster @return ApiGetClusterRequest
func (*ClustersApiService) GetClusterExecute ¶
func (a *ClustersApiService) GetClusterExecute(r ApiGetClusterRequest) (*KubernetesClusterDetailedResponse, *http.Response, error)
Execute executes the request
@return KubernetesClusterDetailedResponse
func (*ClustersApiService) GetClusters ¶
func (a *ClustersApiService) GetClusters(ctx context.Context) ApiGetClustersRequest
GetClusters Get information about all clusters and their workloads
Returns all clusters and their workloads for an organization. OrgId is fetched from CSP token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetClustersRequest
func (*ClustersApiService) GetClustersExecute ¶
func (a *ClustersApiService) GetClustersExecute(r ApiGetClustersRequest) ([]KubernetesClusterResponse, *http.Response, error)
Execute executes the request
@return []KubernetesClusterResponse
func (*ClustersApiService) RegisterCluster ¶
func (a *ClustersApiService) RegisterCluster(ctx context.Context) ApiRegisterClusterRequest
RegisterCluster Register a new kubernetes cluster
Registers a new cluster to start receiving telemetry. OrgId is fetched from CSP token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRegisterClusterRequest
func (*ClustersApiService) RegisterClusterExecute ¶
func (a *ClustersApiService) RegisterClusterExecute(r ApiRegisterClusterRequest) (*http.Response, error)
Execute executes the request
func (*ClustersApiService) UnregisterCluster ¶
func (a *ClustersApiService) UnregisterCluster(ctx context.Context, clusterId string) ApiUnregisterClusterRequest
UnregisterCluster Unregister a saved kubernetes cluster
Unregisters a cluster. OrgId is fetched from CSP token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId A string as the identifier of a cluster @return ApiUnregisterClusterRequest
func (*ClustersApiService) UnregisterClusterExecute ¶
func (a *ClustersApiService) UnregisterClusterExecute(r ApiUnregisterClusterRequest) (*http.Response, error)
Execute executes the request
func (*ClustersApiService) UpdateTelemetry ¶
func (a *ClustersApiService) UpdateTelemetry(ctx context.Context, clusterId string) ApiUpdateTelemetryRequest
UpdateTelemetry Save or update cluster workload telemetry
Saves/updates information about the running workloads in a cluster for an organization. OrgId is fetched from CSP token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId A string as the identifier of a cluster @return ApiUpdateTelemetryRequest
func (*ClustersApiService) UpdateTelemetryExecute ¶
func (a *ClustersApiService) UpdateTelemetryExecute(r ApiUpdateTelemetryRequest) (*http.Response, error)
Execute executes the request
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConstraintsViolation ¶
type ConstraintsViolation struct { // The field that is causing the constraints violation Field string `json:"field"` // The human-readable constraints violation description Message string `json:"message"` AdditionalProperties map[string]interface{} }
ConstraintsViolation It represents a constraints violation error
func NewConstraintsViolation ¶
func NewConstraintsViolation(field string, message string) *ConstraintsViolation
NewConstraintsViolation instantiates a new ConstraintsViolation 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
func NewConstraintsViolationWithDefaults ¶
func NewConstraintsViolationWithDefaults() *ConstraintsViolation
NewConstraintsViolationWithDefaults instantiates a new ConstraintsViolation 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
func (*ConstraintsViolation) GetField ¶
func (o *ConstraintsViolation) GetField() string
GetField returns the Field field value
func (*ConstraintsViolation) GetFieldOk ¶
func (o *ConstraintsViolation) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*ConstraintsViolation) GetMessage ¶
func (o *ConstraintsViolation) GetMessage() string
GetMessage returns the Message field value
func (*ConstraintsViolation) GetMessageOk ¶
func (o *ConstraintsViolation) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (ConstraintsViolation) MarshalJSON ¶
func (o ConstraintsViolation) MarshalJSON() ([]byte, error)
func (*ConstraintsViolation) SetField ¶
func (o *ConstraintsViolation) SetField(v string)
SetField sets field value
func (*ConstraintsViolation) SetMessage ¶
func (o *ConstraintsViolation) SetMessage(v string)
SetMessage sets field value
func (*ConstraintsViolation) UnmarshalJSON ¶
func (o *ConstraintsViolation) UnmarshalJSON(bytes []byte) (err error)
type ConstraintsViolationsError ¶
type ConstraintsViolationsError struct { Violations []ConstraintsViolation `json:"violations"` // A URI reference that identifies the problem type When dereferenced, it provide human-readable documentation for the problem type using HTML Type string `json:"type"` // A short, human-readable summary of the problem type Title string `json:"title"` // The HTTP status code generated by the origin server for this occurrence of the problem Status *int32 `json:"status,omitempty"` // A human-readable explanation specific to this occurrence of the problem Detail *string `json:"detail,omitempty"` // A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced Instance *string `json:"instance,omitempty"` AdditionalProperties map[string]interface{} }
ConstraintsViolationsError Error object extension for returning a constraints violation error
func NewConstraintsViolationsError ¶
func NewConstraintsViolationsError(violations []ConstraintsViolation, type_ string, title string) *ConstraintsViolationsError
NewConstraintsViolationsError instantiates a new ConstraintsViolationsError 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
func NewConstraintsViolationsErrorWithDefaults ¶
func NewConstraintsViolationsErrorWithDefaults() *ConstraintsViolationsError
NewConstraintsViolationsErrorWithDefaults instantiates a new ConstraintsViolationsError 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
func (*ConstraintsViolationsError) GetDetail ¶
func (o *ConstraintsViolationsError) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*ConstraintsViolationsError) GetDetailOk ¶
func (o *ConstraintsViolationsError) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstraintsViolationsError) GetInstance ¶
func (o *ConstraintsViolationsError) GetInstance() string
GetInstance returns the Instance field value if set, zero value otherwise.
func (*ConstraintsViolationsError) GetInstanceOk ¶
func (o *ConstraintsViolationsError) GetInstanceOk() (*string, bool)
GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstraintsViolationsError) GetStatus ¶
func (o *ConstraintsViolationsError) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise.
func (*ConstraintsViolationsError) GetStatusOk ¶
func (o *ConstraintsViolationsError) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConstraintsViolationsError) GetTitle ¶
func (o *ConstraintsViolationsError) GetTitle() string
GetTitle returns the Title field value
func (*ConstraintsViolationsError) GetTitleOk ¶
func (o *ConstraintsViolationsError) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ConstraintsViolationsError) GetType ¶
func (o *ConstraintsViolationsError) GetType() string
GetType returns the Type field value
func (*ConstraintsViolationsError) GetTypeOk ¶
func (o *ConstraintsViolationsError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ConstraintsViolationsError) GetViolations ¶
func (o *ConstraintsViolationsError) GetViolations() []ConstraintsViolation
GetViolations returns the Violations field value
func (*ConstraintsViolationsError) GetViolationsOk ¶
func (o *ConstraintsViolationsError) GetViolationsOk() ([]ConstraintsViolation, bool)
GetViolationsOk returns a tuple with the Violations field value and a boolean to check if the value has been set.
func (*ConstraintsViolationsError) HasDetail ¶
func (o *ConstraintsViolationsError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*ConstraintsViolationsError) HasInstance ¶
func (o *ConstraintsViolationsError) HasInstance() bool
HasInstance returns a boolean if a field has been set.
func (*ConstraintsViolationsError) HasStatus ¶
func (o *ConstraintsViolationsError) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ConstraintsViolationsError) MarshalJSON ¶
func (o ConstraintsViolationsError) MarshalJSON() ([]byte, error)
func (*ConstraintsViolationsError) SetDetail ¶
func (o *ConstraintsViolationsError) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*ConstraintsViolationsError) SetInstance ¶
func (o *ConstraintsViolationsError) SetInstance(v string)
SetInstance gets a reference to the given string and assigns it to the Instance field.
func (*ConstraintsViolationsError) SetStatus ¶
func (o *ConstraintsViolationsError) SetStatus(v int32)
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*ConstraintsViolationsError) SetTitle ¶
func (o *ConstraintsViolationsError) SetTitle(v string)
SetTitle sets field value
func (*ConstraintsViolationsError) SetType ¶
func (o *ConstraintsViolationsError) SetType(v string)
SetType sets field value
func (*ConstraintsViolationsError) SetViolations ¶
func (o *ConstraintsViolationsError) SetViolations(v []ConstraintsViolation)
SetViolations sets field value
func (*ConstraintsViolationsError) UnmarshalJSON ¶
func (o *ConstraintsViolationsError) UnmarshalJSON(bytes []byte) (err error)
type Container ¶
type Container struct { // Name of the container in a workload deployed Name string `json:"name"` // Image URI for the container in a workload deployed Image string `json:"image"` // Image ID for the container in a workload deployed ImageId string `json:"image_id"` // Identifier of the container in a workload deployed Id *string `json:"id,omitempty"` Product *Product `json:"product,omitempty"` AdditionalProperties map[string]interface{} }
Container Container configured in a workload deployed
func NewContainer ¶
NewContainer instantiates a new Container 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
func NewContainerWithDefaults ¶
func NewContainerWithDefaults() *Container
NewContainerWithDefaults instantiates a new Container 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
func (*Container) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Container) GetImageId ¶
GetImageId returns the ImageId field value
func (*Container) GetImageIdOk ¶
GetImageIdOk returns a tuple with the ImageId field value and a boolean to check if the value has been set.
func (*Container) GetImageOk ¶
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*Container) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Container) GetProduct ¶
GetProduct returns the Product field value if set, zero value otherwise.
func (*Container) GetProductOk ¶
GetProductOk returns a tuple with the Product field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Container) HasProduct ¶
HasProduct returns a boolean if a field has been set.
func (Container) MarshalJSON ¶
func (*Container) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*Container) SetProduct ¶
SetProduct gets a reference to the given Product and assigns it to the Product field.
func (*Container) UnmarshalJSON ¶
type DeprecationPolicy ¶
type DeprecationPolicy struct { // Effective date since which the deprecation policy will take effect. DeprecationDate string `json:"deprecation_date"` // Period of time in days **after** the deprecation date in which the support for the catalog item, might be reduced instead of being completely removed. GracePeriodDays *int32 `json:"grace_period_days,omitempty"` // Sentence explaining why the deprecation policy is set. Reason *string `json:"reason,omitempty"` // Sentence pointing to alternatives to the deprecated resource. Alternative *string `json:"alternative,omitempty"` AdditionalProperties map[string]interface{} }
DeprecationPolicy VMWare Application Catalog Product's deprecation policy information.
func NewDeprecationPolicy ¶
func NewDeprecationPolicy(deprecationDate string) *DeprecationPolicy
NewDeprecationPolicy instantiates a new DeprecationPolicy 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
func NewDeprecationPolicyWithDefaults ¶
func NewDeprecationPolicyWithDefaults() *DeprecationPolicy
NewDeprecationPolicyWithDefaults instantiates a new DeprecationPolicy 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
func (*DeprecationPolicy) GetAlternative ¶
func (o *DeprecationPolicy) GetAlternative() string
GetAlternative returns the Alternative field value if set, zero value otherwise.
func (*DeprecationPolicy) GetAlternativeOk ¶
func (o *DeprecationPolicy) GetAlternativeOk() (*string, bool)
GetAlternativeOk returns a tuple with the Alternative field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeprecationPolicy) GetDeprecationDate ¶
func (o *DeprecationPolicy) GetDeprecationDate() string
GetDeprecationDate returns the DeprecationDate field value
func (*DeprecationPolicy) GetDeprecationDateOk ¶
func (o *DeprecationPolicy) GetDeprecationDateOk() (*string, bool)
GetDeprecationDateOk returns a tuple with the DeprecationDate field value and a boolean to check if the value has been set.
func (*DeprecationPolicy) GetGracePeriodDays ¶
func (o *DeprecationPolicy) GetGracePeriodDays() int32
GetGracePeriodDays returns the GracePeriodDays field value if set, zero value otherwise.
func (*DeprecationPolicy) GetGracePeriodDaysOk ¶
func (o *DeprecationPolicy) GetGracePeriodDaysOk() (*int32, bool)
GetGracePeriodDaysOk returns a tuple with the GracePeriodDays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeprecationPolicy) GetReason ¶
func (o *DeprecationPolicy) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*DeprecationPolicy) GetReasonOk ¶
func (o *DeprecationPolicy) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeprecationPolicy) HasAlternative ¶
func (o *DeprecationPolicy) HasAlternative() bool
HasAlternative returns a boolean if a field has been set.
func (*DeprecationPolicy) HasGracePeriodDays ¶
func (o *DeprecationPolicy) HasGracePeriodDays() bool
HasGracePeriodDays returns a boolean if a field has been set.
func (*DeprecationPolicy) HasReason ¶
func (o *DeprecationPolicy) HasReason() bool
HasReason returns a boolean if a field has been set.
func (DeprecationPolicy) MarshalJSON ¶
func (o DeprecationPolicy) MarshalJSON() ([]byte, error)
func (*DeprecationPolicy) SetAlternative ¶
func (o *DeprecationPolicy) SetAlternative(v string)
SetAlternative gets a reference to the given string and assigns it to the Alternative field.
func (*DeprecationPolicy) SetDeprecationDate ¶
func (o *DeprecationPolicy) SetDeprecationDate(v string)
SetDeprecationDate sets field value
func (*DeprecationPolicy) SetGracePeriodDays ¶
func (o *DeprecationPolicy) SetGracePeriodDays(v int32)
SetGracePeriodDays gets a reference to the given int32 and assigns it to the GracePeriodDays field.
func (*DeprecationPolicy) SetReason ¶
func (o *DeprecationPolicy) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*DeprecationPolicy) UnmarshalJSON ¶
func (o *DeprecationPolicy) UnmarshalJSON(bytes []byte) (err error)
type Error ¶
type Error struct { // A URI reference that identifies the problem type When dereferenced, it provide human-readable documentation for the problem type using HTML Type string `json:"type"` // A short, human-readable summary of the problem type Title string `json:"title"` // The HTTP status code generated by the origin server for this occurrence of the problem Status *int32 `json:"status,omitempty"` // A human-readable explanation specific to this occurrence of the problem Detail *string `json:"detail,omitempty"` // A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced Instance *string `json:"instance,omitempty"` AdditionalProperties map[string]interface{} }
Error Note: It follows [RFC-7807](https://tools.ietf.org/html/rfc7807#page-9) **proposed** standard Error object returned on any failure. It can be extended to add more params
func NewError ¶
NewError instantiates a new Error 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
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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
func (*Error) GetDetailOk ¶
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetInstance ¶
GetInstance returns the Instance field value if set, zero value otherwise.
func (*Error) GetInstanceOk ¶
GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*Error) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Error) HasInstance ¶
HasInstance returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetDetail ¶
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*Error) SetInstance ¶
SetInstance gets a reference to the given string and assigns it to the Instance field.
func (*Error) SetStatus ¶
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*Error) UnmarshalJSON ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type KubernetesAgentConfigRequest ¶
type KubernetesAgentConfigRequest struct { MatchLabels []MatchLabel `json:"match_labels"` // API token for agent running in a cluster ApiToken string `json:"api_token"` AdditionalProperties map[string]interface{} }
KubernetesAgentConfigRequest Payload to request agent config manifest for a cluster
func NewKubernetesAgentConfigRequest ¶
func NewKubernetesAgentConfigRequest(matchLabels []MatchLabel, apiToken string) *KubernetesAgentConfigRequest
NewKubernetesAgentConfigRequest instantiates a new KubernetesAgentConfigRequest 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
func NewKubernetesAgentConfigRequestWithDefaults ¶
func NewKubernetesAgentConfigRequestWithDefaults() *KubernetesAgentConfigRequest
NewKubernetesAgentConfigRequestWithDefaults instantiates a new KubernetesAgentConfigRequest 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
func (*KubernetesAgentConfigRequest) GetApiToken ¶
func (o *KubernetesAgentConfigRequest) GetApiToken() string
GetApiToken returns the ApiToken field value
func (*KubernetesAgentConfigRequest) GetApiTokenOk ¶
func (o *KubernetesAgentConfigRequest) GetApiTokenOk() (*string, bool)
GetApiTokenOk returns a tuple with the ApiToken field value and a boolean to check if the value has been set.
func (*KubernetesAgentConfigRequest) GetMatchLabels ¶
func (o *KubernetesAgentConfigRequest) GetMatchLabels() []MatchLabel
GetMatchLabels returns the MatchLabels field value
func (*KubernetesAgentConfigRequest) GetMatchLabelsOk ¶
func (o *KubernetesAgentConfigRequest) GetMatchLabelsOk() ([]MatchLabel, bool)
GetMatchLabelsOk returns a tuple with the MatchLabels field value and a boolean to check if the value has been set.
func (KubernetesAgentConfigRequest) MarshalJSON ¶
func (o KubernetesAgentConfigRequest) MarshalJSON() ([]byte, error)
func (*KubernetesAgentConfigRequest) SetApiToken ¶
func (o *KubernetesAgentConfigRequest) SetApiToken(v string)
SetApiToken sets field value
func (*KubernetesAgentConfigRequest) SetMatchLabels ¶
func (o *KubernetesAgentConfigRequest) SetMatchLabels(v []MatchLabel)
SetMatchLabels sets field value
func (*KubernetesAgentConfigRequest) UnmarshalJSON ¶
func (o *KubernetesAgentConfigRequest) UnmarshalJSON(bytes []byte) (err error)
type KubernetesCluster ¶
type KubernetesCluster struct { // name of the cluster where the workload is deployed Name string `json:"name"` Workloads []KubernetesWorkload `json:"workloads"` AdditionalProperties map[string]interface{} }
KubernetesCluster Kubernetes cluster
func NewKubernetesCluster ¶
func NewKubernetesCluster(name string, workloads []KubernetesWorkload) *KubernetesCluster
NewKubernetesCluster instantiates a new KubernetesCluster 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
func NewKubernetesClusterWithDefaults ¶
func NewKubernetesClusterWithDefaults() *KubernetesCluster
NewKubernetesClusterWithDefaults instantiates a new KubernetesCluster 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
func (*KubernetesCluster) GetName ¶
func (o *KubernetesCluster) GetName() string
GetName returns the Name field value
func (*KubernetesCluster) GetNameOk ¶
func (o *KubernetesCluster) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KubernetesCluster) GetWorkloads ¶
func (o *KubernetesCluster) GetWorkloads() []KubernetesWorkload
GetWorkloads returns the Workloads field value
func (*KubernetesCluster) GetWorkloadsOk ¶
func (o *KubernetesCluster) GetWorkloadsOk() ([]KubernetesWorkload, bool)
GetWorkloadsOk returns a tuple with the Workloads field value and a boolean to check if the value has been set.
func (KubernetesCluster) MarshalJSON ¶
func (o KubernetesCluster) MarshalJSON() ([]byte, error)
func (*KubernetesCluster) SetName ¶
func (o *KubernetesCluster) SetName(v string)
SetName sets field value
func (*KubernetesCluster) SetWorkloads ¶
func (o *KubernetesCluster) SetWorkloads(v []KubernetesWorkload)
SetWorkloads sets field value
func (*KubernetesCluster) UnmarshalJSON ¶
func (o *KubernetesCluster) UnmarshalJSON(bytes []byte) (err error)
type KubernetesClusterDetailedResponse ¶
type KubernetesClusterDetailedResponse struct { // id of the cluster where the workloads are deployed Id string `json:"id"` // name of the cluster where the workloads are deployed Name string `json:"name"` // Date when the cluster was registered CreatedAt *time.Time `json:"created_at,omitempty"` // Last date when the cluster was updated with new telemetry UpdatedAt *time.Time `json:"updated_at,omitempty"` // User who created the cluster CreatedBy *string `json:"created_by,omitempty"` // User who last updated the cluster UpdatedBy *string `json:"updated_by,omitempty"` Telemetry *KubernetesTelemetryResponse `json:"telemetry,omitempty"` AdditionalProperties map[string]interface{} }
KubernetesClusterDetailedResponse A Kubernetes cluster with its metadata, workloads and audit information included
func NewKubernetesClusterDetailedResponse ¶
func NewKubernetesClusterDetailedResponse(id string, name string) *KubernetesClusterDetailedResponse
NewKubernetesClusterDetailedResponse instantiates a new KubernetesClusterDetailedResponse 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
func NewKubernetesClusterDetailedResponseWithDefaults ¶
func NewKubernetesClusterDetailedResponseWithDefaults() *KubernetesClusterDetailedResponse
NewKubernetesClusterDetailedResponseWithDefaults instantiates a new KubernetesClusterDetailedResponse 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
func (*KubernetesClusterDetailedResponse) GetCreatedAt ¶
func (o *KubernetesClusterDetailedResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*KubernetesClusterDetailedResponse) GetCreatedAtOk ¶
func (o *KubernetesClusterDetailedResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterDetailedResponse) GetCreatedBy ¶
func (o *KubernetesClusterDetailedResponse) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*KubernetesClusterDetailedResponse) GetCreatedByOk ¶
func (o *KubernetesClusterDetailedResponse) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterDetailedResponse) GetId ¶
func (o *KubernetesClusterDetailedResponse) GetId() string
GetId returns the Id field value
func (*KubernetesClusterDetailedResponse) GetIdOk ¶
func (o *KubernetesClusterDetailedResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*KubernetesClusterDetailedResponse) GetName ¶
func (o *KubernetesClusterDetailedResponse) GetName() string
GetName returns the Name field value
func (*KubernetesClusterDetailedResponse) GetNameOk ¶
func (o *KubernetesClusterDetailedResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KubernetesClusterDetailedResponse) GetTelemetry ¶
func (o *KubernetesClusterDetailedResponse) GetTelemetry() KubernetesTelemetryResponse
GetTelemetry returns the Telemetry field value if set, zero value otherwise.
func (*KubernetesClusterDetailedResponse) GetTelemetryOk ¶
func (o *KubernetesClusterDetailedResponse) GetTelemetryOk() (*KubernetesTelemetryResponse, bool)
GetTelemetryOk returns a tuple with the Telemetry field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterDetailedResponse) GetUpdatedAt ¶
func (o *KubernetesClusterDetailedResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*KubernetesClusterDetailedResponse) GetUpdatedAtOk ¶
func (o *KubernetesClusterDetailedResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterDetailedResponse) GetUpdatedBy ¶
func (o *KubernetesClusterDetailedResponse) GetUpdatedBy() string
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*KubernetesClusterDetailedResponse) GetUpdatedByOk ¶
func (o *KubernetesClusterDetailedResponse) GetUpdatedByOk() (*string, bool)
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterDetailedResponse) HasCreatedAt ¶
func (o *KubernetesClusterDetailedResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*KubernetesClusterDetailedResponse) HasCreatedBy ¶
func (o *KubernetesClusterDetailedResponse) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*KubernetesClusterDetailedResponse) HasTelemetry ¶
func (o *KubernetesClusterDetailedResponse) HasTelemetry() bool
HasTelemetry returns a boolean if a field has been set.
func (*KubernetesClusterDetailedResponse) HasUpdatedAt ¶
func (o *KubernetesClusterDetailedResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*KubernetesClusterDetailedResponse) HasUpdatedBy ¶
func (o *KubernetesClusterDetailedResponse) HasUpdatedBy() bool
HasUpdatedBy returns a boolean if a field has been set.
func (KubernetesClusterDetailedResponse) MarshalJSON ¶
func (o KubernetesClusterDetailedResponse) MarshalJSON() ([]byte, error)
func (*KubernetesClusterDetailedResponse) SetCreatedAt ¶
func (o *KubernetesClusterDetailedResponse) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*KubernetesClusterDetailedResponse) SetCreatedBy ¶
func (o *KubernetesClusterDetailedResponse) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*KubernetesClusterDetailedResponse) SetId ¶
func (o *KubernetesClusterDetailedResponse) SetId(v string)
SetId sets field value
func (*KubernetesClusterDetailedResponse) SetName ¶
func (o *KubernetesClusterDetailedResponse) SetName(v string)
SetName sets field value
func (*KubernetesClusterDetailedResponse) SetTelemetry ¶
func (o *KubernetesClusterDetailedResponse) SetTelemetry(v KubernetesTelemetryResponse)
SetTelemetry gets a reference to the given KubernetesTelemetryResponse and assigns it to the Telemetry field.
func (*KubernetesClusterDetailedResponse) SetUpdatedAt ¶
func (o *KubernetesClusterDetailedResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*KubernetesClusterDetailedResponse) SetUpdatedBy ¶
func (o *KubernetesClusterDetailedResponse) SetUpdatedBy(v string)
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (*KubernetesClusterDetailedResponse) UnmarshalJSON ¶
func (o *KubernetesClusterDetailedResponse) UnmarshalJSON(bytes []byte) (err error)
type KubernetesClusterDetailedResponseAllOf ¶
type KubernetesClusterDetailedResponseAllOf struct { Telemetry *KubernetesTelemetryResponse `json:"telemetry,omitempty"` AdditionalProperties map[string]interface{} }
KubernetesClusterDetailedResponseAllOf struct for KubernetesClusterDetailedResponseAllOf
func NewKubernetesClusterDetailedResponseAllOf ¶
func NewKubernetesClusterDetailedResponseAllOf() *KubernetesClusterDetailedResponseAllOf
NewKubernetesClusterDetailedResponseAllOf instantiates a new KubernetesClusterDetailedResponseAllOf 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
func NewKubernetesClusterDetailedResponseAllOfWithDefaults ¶
func NewKubernetesClusterDetailedResponseAllOfWithDefaults() *KubernetesClusterDetailedResponseAllOf
NewKubernetesClusterDetailedResponseAllOfWithDefaults instantiates a new KubernetesClusterDetailedResponseAllOf 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
func (*KubernetesClusterDetailedResponseAllOf) GetTelemetry ¶
func (o *KubernetesClusterDetailedResponseAllOf) GetTelemetry() KubernetesTelemetryResponse
GetTelemetry returns the Telemetry field value if set, zero value otherwise.
func (*KubernetesClusterDetailedResponseAllOf) GetTelemetryOk ¶
func (o *KubernetesClusterDetailedResponseAllOf) GetTelemetryOk() (*KubernetesTelemetryResponse, bool)
GetTelemetryOk returns a tuple with the Telemetry field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterDetailedResponseAllOf) HasTelemetry ¶
func (o *KubernetesClusterDetailedResponseAllOf) HasTelemetry() bool
HasTelemetry returns a boolean if a field has been set.
func (KubernetesClusterDetailedResponseAllOf) MarshalJSON ¶
func (o KubernetesClusterDetailedResponseAllOf) MarshalJSON() ([]byte, error)
func (*KubernetesClusterDetailedResponseAllOf) SetTelemetry ¶
func (o *KubernetesClusterDetailedResponseAllOf) SetTelemetry(v KubernetesTelemetryResponse)
SetTelemetry gets a reference to the given KubernetesTelemetryResponse and assigns it to the Telemetry field.
func (*KubernetesClusterDetailedResponseAllOf) UnmarshalJSON ¶
func (o *KubernetesClusterDetailedResponseAllOf) UnmarshalJSON(bytes []byte) (err error)
type KubernetesClusterRequest ¶
type KubernetesClusterRequest struct { // name of the cluster where the workload is deployed Name string `json:"name"` Workloads []KubernetesWorkload `json:"workloads"` AdditionalProperties map[string]interface{} }
KubernetesClusterRequest A Kubernetes cluster creation request
func NewKubernetesClusterRequest ¶
func NewKubernetesClusterRequest(name string, workloads []KubernetesWorkload) *KubernetesClusterRequest
NewKubernetesClusterRequest instantiates a new KubernetesClusterRequest 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
func NewKubernetesClusterRequestWithDefaults ¶
func NewKubernetesClusterRequestWithDefaults() *KubernetesClusterRequest
NewKubernetesClusterRequestWithDefaults instantiates a new KubernetesClusterRequest 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
func (*KubernetesClusterRequest) GetName ¶
func (o *KubernetesClusterRequest) GetName() string
GetName returns the Name field value
func (*KubernetesClusterRequest) GetNameOk ¶
func (o *KubernetesClusterRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KubernetesClusterRequest) GetWorkloads ¶
func (o *KubernetesClusterRequest) GetWorkloads() []KubernetesWorkload
GetWorkloads returns the Workloads field value
func (*KubernetesClusterRequest) GetWorkloadsOk ¶
func (o *KubernetesClusterRequest) GetWorkloadsOk() ([]KubernetesWorkload, bool)
GetWorkloadsOk returns a tuple with the Workloads field value and a boolean to check if the value has been set.
func (KubernetesClusterRequest) MarshalJSON ¶
func (o KubernetesClusterRequest) MarshalJSON() ([]byte, error)
func (*KubernetesClusterRequest) SetName ¶
func (o *KubernetesClusterRequest) SetName(v string)
SetName sets field value
func (*KubernetesClusterRequest) SetWorkloads ¶
func (o *KubernetesClusterRequest) SetWorkloads(v []KubernetesWorkload)
SetWorkloads sets field value
func (*KubernetesClusterRequest) UnmarshalJSON ¶
func (o *KubernetesClusterRequest) UnmarshalJSON(bytes []byte) (err error)
type KubernetesClusterResponse ¶
type KubernetesClusterResponse struct { // id of the cluster where the workloads are deployed Id string `json:"id"` // name of the cluster where the workloads are deployed Name string `json:"name"` // Date when the cluster was registered CreatedAt *time.Time `json:"created_at,omitempty"` // Last date when the cluster was updated with new telemetry UpdatedAt *time.Time `json:"updated_at,omitempty"` // User who created the cluster CreatedBy *string `json:"created_by,omitempty"` // User who last updated the cluster UpdatedBy *string `json:"updated_by,omitempty"` AdditionalProperties map[string]interface{} }
KubernetesClusterResponse A Kubernetes cluster with its metadata and audit information
func NewKubernetesClusterResponse ¶
func NewKubernetesClusterResponse(id string, name string) *KubernetesClusterResponse
NewKubernetesClusterResponse instantiates a new KubernetesClusterResponse 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
func NewKubernetesClusterResponseWithDefaults ¶
func NewKubernetesClusterResponseWithDefaults() *KubernetesClusterResponse
NewKubernetesClusterResponseWithDefaults instantiates a new KubernetesClusterResponse 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
func (*KubernetesClusterResponse) GetCreatedAt ¶
func (o *KubernetesClusterResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*KubernetesClusterResponse) GetCreatedAtOk ¶
func (o *KubernetesClusterResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterResponse) GetCreatedBy ¶
func (o *KubernetesClusterResponse) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*KubernetesClusterResponse) GetCreatedByOk ¶
func (o *KubernetesClusterResponse) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterResponse) GetId ¶
func (o *KubernetesClusterResponse) GetId() string
GetId returns the Id field value
func (*KubernetesClusterResponse) GetIdOk ¶
func (o *KubernetesClusterResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*KubernetesClusterResponse) GetName ¶
func (o *KubernetesClusterResponse) GetName() string
GetName returns the Name field value
func (*KubernetesClusterResponse) GetNameOk ¶
func (o *KubernetesClusterResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KubernetesClusterResponse) GetUpdatedAt ¶
func (o *KubernetesClusterResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*KubernetesClusterResponse) GetUpdatedAtOk ¶
func (o *KubernetesClusterResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterResponse) GetUpdatedBy ¶
func (o *KubernetesClusterResponse) GetUpdatedBy() string
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*KubernetesClusterResponse) GetUpdatedByOk ¶
func (o *KubernetesClusterResponse) GetUpdatedByOk() (*string, bool)
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterResponse) HasCreatedAt ¶
func (o *KubernetesClusterResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*KubernetesClusterResponse) HasCreatedBy ¶
func (o *KubernetesClusterResponse) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*KubernetesClusterResponse) HasUpdatedAt ¶
func (o *KubernetesClusterResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*KubernetesClusterResponse) HasUpdatedBy ¶
func (o *KubernetesClusterResponse) HasUpdatedBy() bool
HasUpdatedBy returns a boolean if a field has been set.
func (KubernetesClusterResponse) MarshalJSON ¶
func (o KubernetesClusterResponse) MarshalJSON() ([]byte, error)
func (*KubernetesClusterResponse) SetCreatedAt ¶
func (o *KubernetesClusterResponse) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*KubernetesClusterResponse) SetCreatedBy ¶
func (o *KubernetesClusterResponse) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*KubernetesClusterResponse) SetId ¶
func (o *KubernetesClusterResponse) SetId(v string)
SetId sets field value
func (*KubernetesClusterResponse) SetName ¶
func (o *KubernetesClusterResponse) SetName(v string)
SetName sets field value
func (*KubernetesClusterResponse) SetUpdatedAt ¶
func (o *KubernetesClusterResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*KubernetesClusterResponse) SetUpdatedBy ¶
func (o *KubernetesClusterResponse) SetUpdatedBy(v string)
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (*KubernetesClusterResponse) UnmarshalJSON ¶
func (o *KubernetesClusterResponse) UnmarshalJSON(bytes []byte) (err error)
type KubernetesClusterResponseAllOf ¶
type KubernetesClusterResponseAllOf struct { // Creation date CreatedAt *time.Time `json:"created_at,omitempty"` // Last updated date UpdatedAt *time.Time `json:"updated_at,omitempty"` // User who created the cluster CreatedBy *string `json:"created_by,omitempty"` // User who last updated the cluster UpdatedBy *string `json:"updated_by,omitempty"` AdditionalProperties map[string]interface{} }
KubernetesClusterResponseAllOf Kubernetes cluster response
func NewKubernetesClusterResponseAllOf ¶
func NewKubernetesClusterResponseAllOf() *KubernetesClusterResponseAllOf
NewKubernetesClusterResponseAllOf instantiates a new KubernetesClusterResponseAllOf 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
func NewKubernetesClusterResponseAllOfWithDefaults ¶
func NewKubernetesClusterResponseAllOfWithDefaults() *KubernetesClusterResponseAllOf
NewKubernetesClusterResponseAllOfWithDefaults instantiates a new KubernetesClusterResponseAllOf 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
func (*KubernetesClusterResponseAllOf) GetCreatedAt ¶
func (o *KubernetesClusterResponseAllOf) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*KubernetesClusterResponseAllOf) GetCreatedAtOk ¶
func (o *KubernetesClusterResponseAllOf) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterResponseAllOf) GetCreatedBy ¶
func (o *KubernetesClusterResponseAllOf) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*KubernetesClusterResponseAllOf) GetCreatedByOk ¶
func (o *KubernetesClusterResponseAllOf) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterResponseAllOf) GetUpdatedAt ¶
func (o *KubernetesClusterResponseAllOf) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*KubernetesClusterResponseAllOf) GetUpdatedAtOk ¶
func (o *KubernetesClusterResponseAllOf) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterResponseAllOf) GetUpdatedBy ¶
func (o *KubernetesClusterResponseAllOf) GetUpdatedBy() string
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*KubernetesClusterResponseAllOf) GetUpdatedByOk ¶
func (o *KubernetesClusterResponseAllOf) GetUpdatedByOk() (*string, bool)
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesClusterResponseAllOf) HasCreatedAt ¶
func (o *KubernetesClusterResponseAllOf) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*KubernetesClusterResponseAllOf) HasCreatedBy ¶
func (o *KubernetesClusterResponseAllOf) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*KubernetesClusterResponseAllOf) HasUpdatedAt ¶
func (o *KubernetesClusterResponseAllOf) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*KubernetesClusterResponseAllOf) HasUpdatedBy ¶
func (o *KubernetesClusterResponseAllOf) HasUpdatedBy() bool
HasUpdatedBy returns a boolean if a field has been set.
func (KubernetesClusterResponseAllOf) MarshalJSON ¶
func (o KubernetesClusterResponseAllOf) MarshalJSON() ([]byte, error)
func (*KubernetesClusterResponseAllOf) SetCreatedAt ¶
func (o *KubernetesClusterResponseAllOf) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*KubernetesClusterResponseAllOf) SetCreatedBy ¶
func (o *KubernetesClusterResponseAllOf) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*KubernetesClusterResponseAllOf) SetUpdatedAt ¶
func (o *KubernetesClusterResponseAllOf) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*KubernetesClusterResponseAllOf) SetUpdatedBy ¶
func (o *KubernetesClusterResponseAllOf) SetUpdatedBy(v string)
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (*KubernetesClusterResponseAllOf) UnmarshalJSON ¶
func (o *KubernetesClusterResponseAllOf) UnmarshalJSON(bytes []byte) (err error)
type KubernetesTelemetryRequest ¶
type KubernetesTelemetryRequest struct { Workloads []KubernetesWorkload `json:"workloads"` AdditionalProperties map[string]interface{} }
KubernetesTelemetryRequest Request for updating telemetry for a cluster
func NewKubernetesTelemetryRequest ¶
func NewKubernetesTelemetryRequest(workloads []KubernetesWorkload) *KubernetesTelemetryRequest
NewKubernetesTelemetryRequest instantiates a new KubernetesTelemetryRequest 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
func NewKubernetesTelemetryRequestWithDefaults ¶
func NewKubernetesTelemetryRequestWithDefaults() *KubernetesTelemetryRequest
NewKubernetesTelemetryRequestWithDefaults instantiates a new KubernetesTelemetryRequest 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
func (*KubernetesTelemetryRequest) GetWorkloads ¶
func (o *KubernetesTelemetryRequest) GetWorkloads() []KubernetesWorkload
GetWorkloads returns the Workloads field value
func (*KubernetesTelemetryRequest) GetWorkloadsOk ¶
func (o *KubernetesTelemetryRequest) GetWorkloadsOk() ([]KubernetesWorkload, bool)
GetWorkloadsOk returns a tuple with the Workloads field value and a boolean to check if the value has been set.
func (KubernetesTelemetryRequest) MarshalJSON ¶
func (o KubernetesTelemetryRequest) MarshalJSON() ([]byte, error)
func (*KubernetesTelemetryRequest) SetWorkloads ¶
func (o *KubernetesTelemetryRequest) SetWorkloads(v []KubernetesWorkload)
SetWorkloads sets field value
func (*KubernetesTelemetryRequest) UnmarshalJSON ¶
func (o *KubernetesTelemetryRequest) UnmarshalJSON(bytes []byte) (err error)
type KubernetesTelemetryResponse ¶
type KubernetesTelemetryResponse struct { // Last synchronization of telemetry time SyncAt *time.Time `json:"sync_at,omitempty"` // User who sent last telemetry data SyncBy *string `json:"sync_by,omitempty"` Workloads []KubernetesWorkload `json:"workloads"` AdditionalProperties map[string]interface{} }
KubernetesTelemetryResponse Response with telemetry properties when querying for cluster details
func NewKubernetesTelemetryResponse ¶
func NewKubernetesTelemetryResponse(workloads []KubernetesWorkload) *KubernetesTelemetryResponse
NewKubernetesTelemetryResponse instantiates a new KubernetesTelemetryResponse 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
func NewKubernetesTelemetryResponseWithDefaults ¶
func NewKubernetesTelemetryResponseWithDefaults() *KubernetesTelemetryResponse
NewKubernetesTelemetryResponseWithDefaults instantiates a new KubernetesTelemetryResponse 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
func (*KubernetesTelemetryResponse) GetSyncAt ¶
func (o *KubernetesTelemetryResponse) GetSyncAt() time.Time
GetSyncAt returns the SyncAt field value if set, zero value otherwise.
func (*KubernetesTelemetryResponse) GetSyncAtOk ¶
func (o *KubernetesTelemetryResponse) GetSyncAtOk() (*time.Time, bool)
GetSyncAtOk returns a tuple with the SyncAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesTelemetryResponse) GetSyncBy ¶
func (o *KubernetesTelemetryResponse) GetSyncBy() string
GetSyncBy returns the SyncBy field value if set, zero value otherwise.
func (*KubernetesTelemetryResponse) GetSyncByOk ¶
func (o *KubernetesTelemetryResponse) GetSyncByOk() (*string, bool)
GetSyncByOk returns a tuple with the SyncBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesTelemetryResponse) GetWorkloads ¶
func (o *KubernetesTelemetryResponse) GetWorkloads() []KubernetesWorkload
GetWorkloads returns the Workloads field value
func (*KubernetesTelemetryResponse) GetWorkloadsOk ¶
func (o *KubernetesTelemetryResponse) GetWorkloadsOk() ([]KubernetesWorkload, bool)
GetWorkloadsOk returns a tuple with the Workloads field value and a boolean to check if the value has been set.
func (*KubernetesTelemetryResponse) HasSyncAt ¶
func (o *KubernetesTelemetryResponse) HasSyncAt() bool
HasSyncAt returns a boolean if a field has been set.
func (*KubernetesTelemetryResponse) HasSyncBy ¶
func (o *KubernetesTelemetryResponse) HasSyncBy() bool
HasSyncBy returns a boolean if a field has been set.
func (KubernetesTelemetryResponse) MarshalJSON ¶
func (o KubernetesTelemetryResponse) MarshalJSON() ([]byte, error)
func (*KubernetesTelemetryResponse) SetSyncAt ¶
func (o *KubernetesTelemetryResponse) SetSyncAt(v time.Time)
SetSyncAt gets a reference to the given time.Time and assigns it to the SyncAt field.
func (*KubernetesTelemetryResponse) SetSyncBy ¶
func (o *KubernetesTelemetryResponse) SetSyncBy(v string)
SetSyncBy gets a reference to the given string and assigns it to the SyncBy field.
func (*KubernetesTelemetryResponse) SetWorkloads ¶
func (o *KubernetesTelemetryResponse) SetWorkloads(v []KubernetesWorkload)
SetWorkloads sets field value
func (*KubernetesTelemetryResponse) UnmarshalJSON ¶
func (o *KubernetesTelemetryResponse) UnmarshalJSON(bytes []byte) (err error)
type KubernetesWorkload ¶
type KubernetesWorkload struct { // Name of the workload deployed Name string `json:"name"` // Namespace where the workload is deployed Namespace string `json:"namespace"` // Kind of the workload Resource Kind string `json:"kind"` Containers []Container `json:"containers"` AdditionalProperties map[string]interface{} }
KubernetesWorkload Kubernetes workload deployed in a remote system
func NewKubernetesWorkload ¶
func NewKubernetesWorkload(name string, namespace string, kind string, containers []Container) *KubernetesWorkload
NewKubernetesWorkload instantiates a new KubernetesWorkload 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
func NewKubernetesWorkloadWithDefaults ¶
func NewKubernetesWorkloadWithDefaults() *KubernetesWorkload
NewKubernetesWorkloadWithDefaults instantiates a new KubernetesWorkload 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
func (*KubernetesWorkload) GetContainers ¶
func (o *KubernetesWorkload) GetContainers() []Container
GetContainers returns the Containers field value
func (*KubernetesWorkload) GetContainersOk ¶
func (o *KubernetesWorkload) GetContainersOk() ([]Container, bool)
GetContainersOk returns a tuple with the Containers field value and a boolean to check if the value has been set.
func (*KubernetesWorkload) GetKind ¶
func (o *KubernetesWorkload) GetKind() string
GetKind returns the Kind field value
func (*KubernetesWorkload) GetKindOk ¶
func (o *KubernetesWorkload) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*KubernetesWorkload) GetName ¶
func (o *KubernetesWorkload) GetName() string
GetName returns the Name field value
func (*KubernetesWorkload) GetNameOk ¶
func (o *KubernetesWorkload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KubernetesWorkload) GetNamespace ¶
func (o *KubernetesWorkload) GetNamespace() string
GetNamespace returns the Namespace field value
func (*KubernetesWorkload) GetNamespaceOk ¶
func (o *KubernetesWorkload) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.
func (KubernetesWorkload) MarshalJSON ¶
func (o KubernetesWorkload) MarshalJSON() ([]byte, error)
func (*KubernetesWorkload) SetContainers ¶
func (o *KubernetesWorkload) SetContainers(v []Container)
SetContainers sets field value
func (*KubernetesWorkload) SetKind ¶
func (o *KubernetesWorkload) SetKind(v string)
SetKind sets field value
func (*KubernetesWorkload) SetName ¶
func (o *KubernetesWorkload) SetName(v string)
SetName sets field value
func (*KubernetesWorkload) SetNamespace ¶
func (o *KubernetesWorkload) SetNamespace(v string)
SetNamespace sets field value
func (*KubernetesWorkload) UnmarshalJSON ¶
func (o *KubernetesWorkload) UnmarshalJSON(bytes []byte) (err error)
type MatchLabel ¶
type MatchLabel struct { // MatchLabel key on which agent can scan workloads Key string `json:"key"` // MatchLabel value on which agent can scan workloads Value string `json:"value"` AdditionalProperties map[string]interface{} }
MatchLabel Resources with matching label on which agent can scan workloads
func NewMatchLabel ¶
func NewMatchLabel(key string, value string) *MatchLabel
NewMatchLabel instantiates a new MatchLabel 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
func NewMatchLabelWithDefaults ¶
func NewMatchLabelWithDefaults() *MatchLabel
NewMatchLabelWithDefaults instantiates a new MatchLabel 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
func (*MatchLabel) GetKeyOk ¶
func (o *MatchLabel) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*MatchLabel) GetValue ¶
func (o *MatchLabel) GetValue() string
GetValue returns the Value field value
func (*MatchLabel) GetValueOk ¶
func (o *MatchLabel) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (MatchLabel) MarshalJSON ¶
func (o MatchLabel) MarshalJSON() ([]byte, error)
func (*MatchLabel) UnmarshalJSON ¶
func (o *MatchLabel) UnmarshalJSON(bytes []byte) (err error)
type NonSupportPolicy ¶
type NonSupportPolicy struct { // Human-readable name for the non-support policy. Name string `json:"name"` // Sentence explaining why the non-support policy is set. Reason string `json:"reason"` AdditionalProperties map[string]interface{} }
NonSupportPolicy VMWare Application Catalog Product's non-support policy information.
func NewNonSupportPolicy ¶
func NewNonSupportPolicy(name string, reason string) *NonSupportPolicy
NewNonSupportPolicy instantiates a new NonSupportPolicy 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
func NewNonSupportPolicyWithDefaults ¶
func NewNonSupportPolicyWithDefaults() *NonSupportPolicy
NewNonSupportPolicyWithDefaults instantiates a new NonSupportPolicy 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
func (*NonSupportPolicy) GetName ¶
func (o *NonSupportPolicy) GetName() string
GetName returns the Name field value
func (*NonSupportPolicy) GetNameOk ¶
func (o *NonSupportPolicy) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*NonSupportPolicy) GetReason ¶
func (o *NonSupportPolicy) GetReason() string
GetReason returns the Reason field value
func (*NonSupportPolicy) GetReasonOk ¶
func (o *NonSupportPolicy) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (NonSupportPolicy) MarshalJSON ¶
func (o NonSupportPolicy) MarshalJSON() ([]byte, error)
func (*NonSupportPolicy) SetName ¶
func (o *NonSupportPolicy) SetName(v string)
SetName sets field value
func (*NonSupportPolicy) SetReason ¶
func (o *NonSupportPolicy) SetReason(v string)
SetReason sets field value
func (*NonSupportPolicy) UnmarshalJSON ¶
func (o *NonSupportPolicy) UnmarshalJSON(bytes []byte) (err error)
type NullableConstraintsViolation ¶
type NullableConstraintsViolation struct {
// contains filtered or unexported fields
}
func NewNullableConstraintsViolation ¶
func NewNullableConstraintsViolation(val *ConstraintsViolation) *NullableConstraintsViolation
func (NullableConstraintsViolation) Get ¶
func (v NullableConstraintsViolation) Get() *ConstraintsViolation
func (NullableConstraintsViolation) IsSet ¶
func (v NullableConstraintsViolation) IsSet() bool
func (NullableConstraintsViolation) MarshalJSON ¶
func (v NullableConstraintsViolation) MarshalJSON() ([]byte, error)
func (*NullableConstraintsViolation) Set ¶
func (v *NullableConstraintsViolation) Set(val *ConstraintsViolation)
func (*NullableConstraintsViolation) UnmarshalJSON ¶
func (v *NullableConstraintsViolation) UnmarshalJSON(src []byte) error
func (*NullableConstraintsViolation) Unset ¶
func (v *NullableConstraintsViolation) Unset()
type NullableConstraintsViolationsError ¶
type NullableConstraintsViolationsError struct {
// contains filtered or unexported fields
}
func NewNullableConstraintsViolationsError ¶
func NewNullableConstraintsViolationsError(val *ConstraintsViolationsError) *NullableConstraintsViolationsError
func (NullableConstraintsViolationsError) Get ¶
func (v NullableConstraintsViolationsError) Get() *ConstraintsViolationsError
func (NullableConstraintsViolationsError) IsSet ¶
func (v NullableConstraintsViolationsError) IsSet() bool
func (NullableConstraintsViolationsError) MarshalJSON ¶
func (v NullableConstraintsViolationsError) MarshalJSON() ([]byte, error)
func (*NullableConstraintsViolationsError) Set ¶
func (v *NullableConstraintsViolationsError) Set(val *ConstraintsViolationsError)
func (*NullableConstraintsViolationsError) UnmarshalJSON ¶
func (v *NullableConstraintsViolationsError) UnmarshalJSON(src []byte) error
func (*NullableConstraintsViolationsError) Unset ¶
func (v *NullableConstraintsViolationsError) Unset()
type NullableContainer ¶
type NullableContainer struct {
// contains filtered or unexported fields
}
func NewNullableContainer ¶
func NewNullableContainer(val *Container) *NullableContainer
func (NullableContainer) Get ¶
func (v NullableContainer) Get() *Container
func (NullableContainer) IsSet ¶
func (v NullableContainer) IsSet() bool
func (NullableContainer) MarshalJSON ¶
func (v NullableContainer) MarshalJSON() ([]byte, error)
func (*NullableContainer) Set ¶
func (v *NullableContainer) Set(val *Container)
func (*NullableContainer) UnmarshalJSON ¶
func (v *NullableContainer) UnmarshalJSON(src []byte) error
func (*NullableContainer) Unset ¶
func (v *NullableContainer) Unset()
type NullableDeprecationPolicy ¶
type NullableDeprecationPolicy struct {
// contains filtered or unexported fields
}
func NewNullableDeprecationPolicy ¶
func NewNullableDeprecationPolicy(val *DeprecationPolicy) *NullableDeprecationPolicy
func (NullableDeprecationPolicy) Get ¶
func (v NullableDeprecationPolicy) Get() *DeprecationPolicy
func (NullableDeprecationPolicy) IsSet ¶
func (v NullableDeprecationPolicy) IsSet() bool
func (NullableDeprecationPolicy) MarshalJSON ¶
func (v NullableDeprecationPolicy) MarshalJSON() ([]byte, error)
func (*NullableDeprecationPolicy) Set ¶
func (v *NullableDeprecationPolicy) Set(val *DeprecationPolicy)
func (*NullableDeprecationPolicy) UnmarshalJSON ¶
func (v *NullableDeprecationPolicy) UnmarshalJSON(src []byte) error
func (*NullableDeprecationPolicy) Unset ¶
func (v *NullableDeprecationPolicy) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableKubernetesAgentConfigRequest ¶
type NullableKubernetesAgentConfigRequest struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesAgentConfigRequest ¶
func NewNullableKubernetesAgentConfigRequest(val *KubernetesAgentConfigRequest) *NullableKubernetesAgentConfigRequest
func (NullableKubernetesAgentConfigRequest) Get ¶
func (v NullableKubernetesAgentConfigRequest) Get() *KubernetesAgentConfigRequest
func (NullableKubernetesAgentConfigRequest) IsSet ¶
func (v NullableKubernetesAgentConfigRequest) IsSet() bool
func (NullableKubernetesAgentConfigRequest) MarshalJSON ¶
func (v NullableKubernetesAgentConfigRequest) MarshalJSON() ([]byte, error)
func (*NullableKubernetesAgentConfigRequest) Set ¶
func (v *NullableKubernetesAgentConfigRequest) Set(val *KubernetesAgentConfigRequest)
func (*NullableKubernetesAgentConfigRequest) UnmarshalJSON ¶
func (v *NullableKubernetesAgentConfigRequest) UnmarshalJSON(src []byte) error
func (*NullableKubernetesAgentConfigRequest) Unset ¶
func (v *NullableKubernetesAgentConfigRequest) Unset()
type NullableKubernetesCluster ¶
type NullableKubernetesCluster struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesCluster ¶
func NewNullableKubernetesCluster(val *KubernetesCluster) *NullableKubernetesCluster
func (NullableKubernetesCluster) Get ¶
func (v NullableKubernetesCluster) Get() *KubernetesCluster
func (NullableKubernetesCluster) IsSet ¶
func (v NullableKubernetesCluster) IsSet() bool
func (NullableKubernetesCluster) MarshalJSON ¶
func (v NullableKubernetesCluster) MarshalJSON() ([]byte, error)
func (*NullableKubernetesCluster) Set ¶
func (v *NullableKubernetesCluster) Set(val *KubernetesCluster)
func (*NullableKubernetesCluster) UnmarshalJSON ¶
func (v *NullableKubernetesCluster) UnmarshalJSON(src []byte) error
func (*NullableKubernetesCluster) Unset ¶
func (v *NullableKubernetesCluster) Unset()
type NullableKubernetesClusterDetailedResponse ¶
type NullableKubernetesClusterDetailedResponse struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesClusterDetailedResponse ¶
func NewNullableKubernetesClusterDetailedResponse(val *KubernetesClusterDetailedResponse) *NullableKubernetesClusterDetailedResponse
func (NullableKubernetesClusterDetailedResponse) IsSet ¶
func (v NullableKubernetesClusterDetailedResponse) IsSet() bool
func (NullableKubernetesClusterDetailedResponse) MarshalJSON ¶
func (v NullableKubernetesClusterDetailedResponse) MarshalJSON() ([]byte, error)
func (*NullableKubernetesClusterDetailedResponse) Set ¶
func (v *NullableKubernetesClusterDetailedResponse) Set(val *KubernetesClusterDetailedResponse)
func (*NullableKubernetesClusterDetailedResponse) UnmarshalJSON ¶
func (v *NullableKubernetesClusterDetailedResponse) UnmarshalJSON(src []byte) error
func (*NullableKubernetesClusterDetailedResponse) Unset ¶
func (v *NullableKubernetesClusterDetailedResponse) Unset()
type NullableKubernetesClusterDetailedResponseAllOf ¶
type NullableKubernetesClusterDetailedResponseAllOf struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesClusterDetailedResponseAllOf ¶
func NewNullableKubernetesClusterDetailedResponseAllOf(val *KubernetesClusterDetailedResponseAllOf) *NullableKubernetesClusterDetailedResponseAllOf
func (NullableKubernetesClusterDetailedResponseAllOf) IsSet ¶
func (v NullableKubernetesClusterDetailedResponseAllOf) IsSet() bool
func (NullableKubernetesClusterDetailedResponseAllOf) MarshalJSON ¶
func (v NullableKubernetesClusterDetailedResponseAllOf) MarshalJSON() ([]byte, error)
func (*NullableKubernetesClusterDetailedResponseAllOf) Set ¶
func (v *NullableKubernetesClusterDetailedResponseAllOf) Set(val *KubernetesClusterDetailedResponseAllOf)
func (*NullableKubernetesClusterDetailedResponseAllOf) UnmarshalJSON ¶
func (v *NullableKubernetesClusterDetailedResponseAllOf) UnmarshalJSON(src []byte) error
func (*NullableKubernetesClusterDetailedResponseAllOf) Unset ¶
func (v *NullableKubernetesClusterDetailedResponseAllOf) Unset()
type NullableKubernetesClusterRequest ¶
type NullableKubernetesClusterRequest struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesClusterRequest ¶
func NewNullableKubernetesClusterRequest(val *KubernetesClusterRequest) *NullableKubernetesClusterRequest
func (NullableKubernetesClusterRequest) Get ¶
func (v NullableKubernetesClusterRequest) Get() *KubernetesClusterRequest
func (NullableKubernetesClusterRequest) IsSet ¶
func (v NullableKubernetesClusterRequest) IsSet() bool
func (NullableKubernetesClusterRequest) MarshalJSON ¶
func (v NullableKubernetesClusterRequest) MarshalJSON() ([]byte, error)
func (*NullableKubernetesClusterRequest) Set ¶
func (v *NullableKubernetesClusterRequest) Set(val *KubernetesClusterRequest)
func (*NullableKubernetesClusterRequest) UnmarshalJSON ¶
func (v *NullableKubernetesClusterRequest) UnmarshalJSON(src []byte) error
func (*NullableKubernetesClusterRequest) Unset ¶
func (v *NullableKubernetesClusterRequest) Unset()
type NullableKubernetesClusterResponse ¶
type NullableKubernetesClusterResponse struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesClusterResponse ¶
func NewNullableKubernetesClusterResponse(val *KubernetesClusterResponse) *NullableKubernetesClusterResponse
func (NullableKubernetesClusterResponse) Get ¶
func (v NullableKubernetesClusterResponse) Get() *KubernetesClusterResponse
func (NullableKubernetesClusterResponse) IsSet ¶
func (v NullableKubernetesClusterResponse) IsSet() bool
func (NullableKubernetesClusterResponse) MarshalJSON ¶
func (v NullableKubernetesClusterResponse) MarshalJSON() ([]byte, error)
func (*NullableKubernetesClusterResponse) Set ¶
func (v *NullableKubernetesClusterResponse) Set(val *KubernetesClusterResponse)
func (*NullableKubernetesClusterResponse) UnmarshalJSON ¶
func (v *NullableKubernetesClusterResponse) UnmarshalJSON(src []byte) error
func (*NullableKubernetesClusterResponse) Unset ¶
func (v *NullableKubernetesClusterResponse) Unset()
type NullableKubernetesClusterResponseAllOf ¶
type NullableKubernetesClusterResponseAllOf struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesClusterResponseAllOf ¶
func NewNullableKubernetesClusterResponseAllOf(val *KubernetesClusterResponseAllOf) *NullableKubernetesClusterResponseAllOf
func (NullableKubernetesClusterResponseAllOf) Get ¶
func (v NullableKubernetesClusterResponseAllOf) Get() *KubernetesClusterResponseAllOf
func (NullableKubernetesClusterResponseAllOf) IsSet ¶
func (v NullableKubernetesClusterResponseAllOf) IsSet() bool
func (NullableKubernetesClusterResponseAllOf) MarshalJSON ¶
func (v NullableKubernetesClusterResponseAllOf) MarshalJSON() ([]byte, error)
func (*NullableKubernetesClusterResponseAllOf) Set ¶
func (v *NullableKubernetesClusterResponseAllOf) Set(val *KubernetesClusterResponseAllOf)
func (*NullableKubernetesClusterResponseAllOf) UnmarshalJSON ¶
func (v *NullableKubernetesClusterResponseAllOf) UnmarshalJSON(src []byte) error
func (*NullableKubernetesClusterResponseAllOf) Unset ¶
func (v *NullableKubernetesClusterResponseAllOf) Unset()
type NullableKubernetesTelemetryRequest ¶
type NullableKubernetesTelemetryRequest struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesTelemetryRequest ¶
func NewNullableKubernetesTelemetryRequest(val *KubernetesTelemetryRequest) *NullableKubernetesTelemetryRequest
func (NullableKubernetesTelemetryRequest) Get ¶
func (v NullableKubernetesTelemetryRequest) Get() *KubernetesTelemetryRequest
func (NullableKubernetesTelemetryRequest) IsSet ¶
func (v NullableKubernetesTelemetryRequest) IsSet() bool
func (NullableKubernetesTelemetryRequest) MarshalJSON ¶
func (v NullableKubernetesTelemetryRequest) MarshalJSON() ([]byte, error)
func (*NullableKubernetesTelemetryRequest) Set ¶
func (v *NullableKubernetesTelemetryRequest) Set(val *KubernetesTelemetryRequest)
func (*NullableKubernetesTelemetryRequest) UnmarshalJSON ¶
func (v *NullableKubernetesTelemetryRequest) UnmarshalJSON(src []byte) error
func (*NullableKubernetesTelemetryRequest) Unset ¶
func (v *NullableKubernetesTelemetryRequest) Unset()
type NullableKubernetesTelemetryResponse ¶
type NullableKubernetesTelemetryResponse struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesTelemetryResponse ¶
func NewNullableKubernetesTelemetryResponse(val *KubernetesTelemetryResponse) *NullableKubernetesTelemetryResponse
func (NullableKubernetesTelemetryResponse) Get ¶
func (v NullableKubernetesTelemetryResponse) Get() *KubernetesTelemetryResponse
func (NullableKubernetesTelemetryResponse) IsSet ¶
func (v NullableKubernetesTelemetryResponse) IsSet() bool
func (NullableKubernetesTelemetryResponse) MarshalJSON ¶
func (v NullableKubernetesTelemetryResponse) MarshalJSON() ([]byte, error)
func (*NullableKubernetesTelemetryResponse) Set ¶
func (v *NullableKubernetesTelemetryResponse) Set(val *KubernetesTelemetryResponse)
func (*NullableKubernetesTelemetryResponse) UnmarshalJSON ¶
func (v *NullableKubernetesTelemetryResponse) UnmarshalJSON(src []byte) error
func (*NullableKubernetesTelemetryResponse) Unset ¶
func (v *NullableKubernetesTelemetryResponse) Unset()
type NullableKubernetesWorkload ¶
type NullableKubernetesWorkload struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesWorkload ¶
func NewNullableKubernetesWorkload(val *KubernetesWorkload) *NullableKubernetesWorkload
func (NullableKubernetesWorkload) Get ¶
func (v NullableKubernetesWorkload) Get() *KubernetesWorkload
func (NullableKubernetesWorkload) IsSet ¶
func (v NullableKubernetesWorkload) IsSet() bool
func (NullableKubernetesWorkload) MarshalJSON ¶
func (v NullableKubernetesWorkload) MarshalJSON() ([]byte, error)
func (*NullableKubernetesWorkload) Set ¶
func (v *NullableKubernetesWorkload) Set(val *KubernetesWorkload)
func (*NullableKubernetesWorkload) UnmarshalJSON ¶
func (v *NullableKubernetesWorkload) UnmarshalJSON(src []byte) error
func (*NullableKubernetesWorkload) Unset ¶
func (v *NullableKubernetesWorkload) Unset()
type NullableMatchLabel ¶
type NullableMatchLabel struct {
// contains filtered or unexported fields
}
func NewNullableMatchLabel ¶
func NewNullableMatchLabel(val *MatchLabel) *NullableMatchLabel
func (NullableMatchLabel) Get ¶
func (v NullableMatchLabel) Get() *MatchLabel
func (NullableMatchLabel) IsSet ¶
func (v NullableMatchLabel) IsSet() bool
func (NullableMatchLabel) MarshalJSON ¶
func (v NullableMatchLabel) MarshalJSON() ([]byte, error)
func (*NullableMatchLabel) Set ¶
func (v *NullableMatchLabel) Set(val *MatchLabel)
func (*NullableMatchLabel) UnmarshalJSON ¶
func (v *NullableMatchLabel) UnmarshalJSON(src []byte) error
func (*NullableMatchLabel) Unset ¶
func (v *NullableMatchLabel) Unset()
type NullableNonSupportPolicy ¶
type NullableNonSupportPolicy struct {
// contains filtered or unexported fields
}
func NewNullableNonSupportPolicy ¶
func NewNullableNonSupportPolicy(val *NonSupportPolicy) *NullableNonSupportPolicy
func (NullableNonSupportPolicy) Get ¶
func (v NullableNonSupportPolicy) Get() *NonSupportPolicy
func (NullableNonSupportPolicy) IsSet ¶
func (v NullableNonSupportPolicy) IsSet() bool
func (NullableNonSupportPolicy) MarshalJSON ¶
func (v NullableNonSupportPolicy) MarshalJSON() ([]byte, error)
func (*NullableNonSupportPolicy) Set ¶
func (v *NullableNonSupportPolicy) Set(val *NonSupportPolicy)
func (*NullableNonSupportPolicy) UnmarshalJSON ¶
func (v *NullableNonSupportPolicy) UnmarshalJSON(src []byte) error
func (*NullableNonSupportPolicy) Unset ¶
func (v *NullableNonSupportPolicy) Unset()
type NullableProduct ¶
type NullableProduct struct {
// contains filtered or unexported fields
}
func NewNullableProduct ¶
func NewNullableProduct(val *Product) *NullableProduct
func (NullableProduct) Get ¶
func (v NullableProduct) Get() *Product
func (NullableProduct) IsSet ¶
func (v NullableProduct) IsSet() bool
func (NullableProduct) MarshalJSON ¶
func (v NullableProduct) MarshalJSON() ([]byte, error)
func (*NullableProduct) Set ¶
func (v *NullableProduct) Set(val *Product)
func (*NullableProduct) UnmarshalJSON ¶
func (v *NullableProduct) UnmarshalJSON(src []byte) error
func (*NullableProduct) Unset ¶
func (v *NullableProduct) Unset()
type NullableRegisterKubernetesClusterRequest ¶
type NullableRegisterKubernetesClusterRequest struct {
// contains filtered or unexported fields
}
func NewNullableRegisterKubernetesClusterRequest ¶
func NewNullableRegisterKubernetesClusterRequest(val *RegisterKubernetesClusterRequest) *NullableRegisterKubernetesClusterRequest
func (NullableRegisterKubernetesClusterRequest) IsSet ¶
func (v NullableRegisterKubernetesClusterRequest) IsSet() bool
func (NullableRegisterKubernetesClusterRequest) MarshalJSON ¶
func (v NullableRegisterKubernetesClusterRequest) MarshalJSON() ([]byte, error)
func (*NullableRegisterKubernetesClusterRequest) Set ¶
func (v *NullableRegisterKubernetesClusterRequest) Set(val *RegisterKubernetesClusterRequest)
func (*NullableRegisterKubernetesClusterRequest) UnmarshalJSON ¶
func (v *NullableRegisterKubernetesClusterRequest) UnmarshalJSON(src []byte) error
func (*NullableRegisterKubernetesClusterRequest) Unset ¶
func (v *NullableRegisterKubernetesClusterRequest) Unset()
type Product ¶
type Product struct { // Product name from VMWare Application Catalog Name string `json:"name"` // Product branch from VMWare Application Catalog Branch string `json:"branch"` // Product version from VMWare Application Catalog Version string `json:"version"` // Product revision from VMWare Application Catalog Revision *string `json:"revision,omitempty"` // The date-time which the product was released at ReleasedAt time.Time `json:"released_at"` // Last release version of product LastVersionReleased *string `json:"last_version_released,omitempty"` // List of newer branches available for the product NewerBranchesAvailable []string `json:"newer_branches_available,omitempty"` DeprecationPolicy *DeprecationPolicy `json:"deprecation_policy,omitempty"` NonsupportPolicy *NonSupportPolicy `json:"nonsupport_policy,omitempty"` // The status of the product in the catalog. Available values are DRAFT, ACTIVE, SCHEDULED_DEPRECATION, DEPRECATION_GRACE_PERIOD, DEPRECATED, NON_SUPPORTED Status *string `json:"status,omitempty"` AdditionalProperties map[string]interface{} }
Product VMWare Application Catalog Product's information.
func NewProduct ¶
NewProduct instantiates a new Product 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
func NewProductWithDefaults ¶
func NewProductWithDefaults() *Product
NewProductWithDefaults instantiates a new Product 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
func (*Product) GetBranchOk ¶
GetBranchOk returns a tuple with the Branch field value and a boolean to check if the value has been set.
func (*Product) GetDeprecationPolicy ¶
func (o *Product) GetDeprecationPolicy() DeprecationPolicy
GetDeprecationPolicy returns the DeprecationPolicy field value if set, zero value otherwise.
func (*Product) GetDeprecationPolicyOk ¶
func (o *Product) GetDeprecationPolicyOk() (*DeprecationPolicy, bool)
GetDeprecationPolicyOk returns a tuple with the DeprecationPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetLastVersionReleased ¶
GetLastVersionReleased returns the LastVersionReleased field value if set, zero value otherwise.
func (*Product) GetLastVersionReleasedOk ¶
GetLastVersionReleasedOk returns a tuple with the LastVersionReleased field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Product) GetNewerBranchesAvailable ¶
GetNewerBranchesAvailable returns the NewerBranchesAvailable field value if set, zero value otherwise.
func (*Product) GetNewerBranchesAvailableOk ¶
GetNewerBranchesAvailableOk returns a tuple with the NewerBranchesAvailable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetNonsupportPolicy ¶
func (o *Product) GetNonsupportPolicy() NonSupportPolicy
GetNonsupportPolicy returns the NonsupportPolicy field value if set, zero value otherwise.
func (*Product) GetNonsupportPolicyOk ¶
func (o *Product) GetNonsupportPolicyOk() (*NonSupportPolicy, bool)
GetNonsupportPolicyOk returns a tuple with the NonsupportPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetReleasedAt ¶
GetReleasedAt returns the ReleasedAt field value
func (*Product) GetReleasedAtOk ¶
GetReleasedAtOk returns a tuple with the ReleasedAt field value and a boolean to check if the value has been set.
func (*Product) GetRevision ¶
GetRevision returns the Revision field value if set, zero value otherwise.
func (*Product) GetRevisionOk ¶
GetRevisionOk returns a tuple with the Revision field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetVersion ¶
GetVersion returns the Version field value
func (*Product) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*Product) HasDeprecationPolicy ¶
HasDeprecationPolicy returns a boolean if a field has been set.
func (*Product) HasLastVersionReleased ¶
HasLastVersionReleased returns a boolean if a field has been set.
func (*Product) HasNewerBranchesAvailable ¶
HasNewerBranchesAvailable returns a boolean if a field has been set.
func (*Product) HasNonsupportPolicy ¶
HasNonsupportPolicy returns a boolean if a field has been set.
func (*Product) HasRevision ¶
HasRevision returns a boolean if a field has been set.
func (Product) MarshalJSON ¶
func (*Product) SetDeprecationPolicy ¶
func (o *Product) SetDeprecationPolicy(v DeprecationPolicy)
SetDeprecationPolicy gets a reference to the given DeprecationPolicy and assigns it to the DeprecationPolicy field.
func (*Product) SetLastVersionReleased ¶
SetLastVersionReleased gets a reference to the given string and assigns it to the LastVersionReleased field.
func (*Product) SetNewerBranchesAvailable ¶
SetNewerBranchesAvailable gets a reference to the given []string and assigns it to the NewerBranchesAvailable field.
func (*Product) SetNonsupportPolicy ¶
func (o *Product) SetNonsupportPolicy(v NonSupportPolicy)
SetNonsupportPolicy gets a reference to the given NonSupportPolicy and assigns it to the NonsupportPolicy field.
func (*Product) SetReleasedAt ¶
SetReleasedAt sets field value
func (*Product) SetRevision ¶
SetRevision gets a reference to the given string and assigns it to the Revision field.
func (*Product) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Product) UnmarshalJSON ¶
type ProductsApi ¶
type ProductsApi interface { /* GetProduct Get information for a product Returns information for a VAC product and its deprecations. OrgId is fetched from CSP token. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetProductRequest */ GetProduct(ctx context.Context) ApiGetProductRequest // GetProductExecute executes the request // @return Product GetProductExecute(r ApiGetProductRequest) (*Product, *http.Response, error) }
type ProductsApiService ¶
type ProductsApiService service
ProductsApiService ProductsApi service
func (*ProductsApiService) GetProduct ¶
func (a *ProductsApiService) GetProduct(ctx context.Context) ApiGetProductRequest
GetProduct Get information for a product
Returns information for a VAC product and its deprecations. OrgId is fetched from CSP token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetProductRequest
func (*ProductsApiService) GetProductExecute ¶
func (a *ProductsApiService) GetProductExecute(r ApiGetProductRequest) (*Product, *http.Response, error)
Execute executes the request
@return Product
type RegisterKubernetesClusterRequest ¶
type RegisterKubernetesClusterRequest struct { // Name of the cluster to be registered Name string `json:"name"` AdditionalProperties map[string]interface{} }
RegisterKubernetesClusterRequest Payload to request registering a Kubernetes cluster
func NewRegisterKubernetesClusterRequest ¶
func NewRegisterKubernetesClusterRequest(name string) *RegisterKubernetesClusterRequest
NewRegisterKubernetesClusterRequest instantiates a new RegisterKubernetesClusterRequest 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
func NewRegisterKubernetesClusterRequestWithDefaults ¶
func NewRegisterKubernetesClusterRequestWithDefaults() *RegisterKubernetesClusterRequest
NewRegisterKubernetesClusterRequestWithDefaults instantiates a new RegisterKubernetesClusterRequest 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
func (*RegisterKubernetesClusterRequest) GetName ¶
func (o *RegisterKubernetesClusterRequest) GetName() string
GetName returns the Name field value
func (*RegisterKubernetesClusterRequest) GetNameOk ¶
func (o *RegisterKubernetesClusterRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (RegisterKubernetesClusterRequest) MarshalJSON ¶
func (o RegisterKubernetesClusterRequest) MarshalJSON() ([]byte, error)
func (*RegisterKubernetesClusterRequest) SetName ¶
func (o *RegisterKubernetesClusterRequest) SetName(v string)
SetName sets field value
func (*RegisterKubernetesClusterRequest) UnmarshalJSON ¶
func (o *RegisterKubernetesClusterRequest) UnmarshalJSON(bytes []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files ¶
- api_clusters.go
- api_products.go
- client.go
- configuration.go
- model_constraints_violation.go
- model_constraints_violations_error.go
- model_container.go
- model_deprecation_policy.go
- model_error.go
- model_kubernetes_agent_config_request.go
- model_kubernetes_cluster.go
- model_kubernetes_cluster_detailed_response.go
- model_kubernetes_cluster_detailed_response_all_of.go
- model_kubernetes_cluster_request.go
- model_kubernetes_cluster_response.go
- model_kubernetes_cluster_response_all_of.go
- model_kubernetes_telemetry_request.go
- model_kubernetes_telemetry_response.go
- model_kubernetes_workload.go
- model_match_label.go
- model_non_support_policy.go
- model_product.go
- model_register_kubernetes_cluster_request.go