openapi

package
v0.0.0-...-46fbbb1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

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

type APIKey struct {
	Key    string
	Prefix string
}

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 (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

type ApiGetClustersRequest

type ApiGetClustersRequest struct {
	ApiService ClustersApi
	// contains filtered or unexported fields
}

func (ApiGetClustersRequest) Execute

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

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
}

func (ApiUnregisterClusterRequest) Execute

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

Execute executes the request

@return KubernetesClusterDetailedResponse

func (*ClustersApiService) GetClusters

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

Execute executes the request

@return []KubernetesClusterResponse

func (*ClustersApiService) RegisterCluster

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

func NewContainer(name string, image string, imageId string) *Container

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) GetId

func (o *Container) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Container) GetIdOk

func (o *Container) GetIdOk() (*string, bool)

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) GetImage

func (o *Container) GetImage() string

GetImage returns the Image field value

func (*Container) GetImageId

func (o *Container) GetImageId() string

GetImageId returns the ImageId field value

func (*Container) GetImageIdOk

func (o *Container) GetImageIdOk() (*string, bool)

GetImageIdOk returns a tuple with the ImageId field value and a boolean to check if the value has been set.

func (*Container) GetImageOk

func (o *Container) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.

func (*Container) GetName

func (o *Container) GetName() string

GetName returns the Name field value

func (*Container) GetNameOk

func (o *Container) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Container) GetProduct

func (o *Container) GetProduct() Product

GetProduct returns the Product field value if set, zero value otherwise.

func (*Container) GetProductOk

func (o *Container) GetProductOk() (*Product, bool)

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) HasId

func (o *Container) HasId() bool

HasId returns a boolean if a field has been set.

func (*Container) HasProduct

func (o *Container) HasProduct() bool

HasProduct returns a boolean if a field has been set.

func (Container) MarshalJSON

func (o Container) MarshalJSON() ([]byte, error)

func (*Container) SetId

func (o *Container) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Container) SetImage

func (o *Container) SetImage(v string)

SetImage sets field value

func (*Container) SetImageId

func (o *Container) SetImageId(v string)

SetImageId sets field value

func (*Container) SetName

func (o *Container) SetName(v string)

SetName sets field value

func (*Container) SetProduct

func (o *Container) SetProduct(v Product)

SetProduct gets a reference to the given Product and assigns it to the Product field.

func (*Container) UnmarshalJSON

func (o *Container) UnmarshalJSON(bytes []byte) (err error)

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

func NewError(type_ string, title string) *Error

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) GetDetail

func (o *Error) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*Error) GetDetailOk

func (o *Error) 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 (*Error) GetInstance

func (o *Error) GetInstance() string

GetInstance returns the Instance field value if set, zero value otherwise.

func (*Error) GetInstanceOk

func (o *Error) 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 (*Error) GetStatus

func (o *Error) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error) GetStatusOk

func (o *Error) 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 (*Error) GetTitle

func (o *Error) GetTitle() string

GetTitle returns the Title field value

func (*Error) GetTitleOk

func (o *Error) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*Error) GetType

func (o *Error) GetType() string

GetType returns the Type field value

func (*Error) GetTypeOk

func (o *Error) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Error) HasDetail

func (o *Error) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*Error) HasInstance

func (o *Error) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*Error) HasStatus

func (o *Error) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetDetail

func (o *Error) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*Error) SetInstance

func (o *Error) SetInstance(v string)

SetInstance gets a reference to the given string and assigns it to the Instance field.

func (*Error) SetStatus

func (o *Error) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error) SetTitle

func (o *Error) SetTitle(v string)

SetTitle sets field value

func (*Error) SetType

func (o *Error) SetType(v string)

SetType sets field value

func (*Error) UnmarshalJSON

func (o *Error) UnmarshalJSON(bytes []byte) (err error)

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

GetId returns the Id field value

func (*KubernetesClusterDetailedResponse) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*KubernetesClusterDetailedResponse) GetName

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

GetTelemetry returns the Telemetry field value if set, zero value otherwise.

func (*KubernetesClusterDetailedResponse) GetTelemetryOk

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

SetId sets field value

func (*KubernetesClusterDetailedResponse) SetName

SetName sets field value

func (*KubernetesClusterDetailedResponse) SetTelemetry

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

GetTelemetry returns the Telemetry field value if set, zero value otherwise.

func (*KubernetesClusterDetailedResponseAllOf) GetTelemetryOk

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

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) GetKey

func (o *MatchLabel) GetKey() string

GetKey returns the Key field value

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) SetKey

func (o *MatchLabel) SetKey(v string)

SetKey sets field value

func (*MatchLabel) SetValue

func (o *MatchLabel) SetValue(v string)

SetValue sets field value

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 (NullableConstraintsViolation) IsSet

func (NullableConstraintsViolation) MarshalJSON

func (v NullableConstraintsViolation) MarshalJSON() ([]byte, error)

func (*NullableConstraintsViolation) Set

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 (NullableConstraintsViolationsError) Get

func (NullableConstraintsViolationsError) IsSet

func (NullableConstraintsViolationsError) MarshalJSON

func (v NullableConstraintsViolationsError) MarshalJSON() ([]byte, error)

func (*NullableConstraintsViolationsError) Set

func (*NullableConstraintsViolationsError) UnmarshalJSON

func (v *NullableConstraintsViolationsError) UnmarshalJSON(src []byte) error

func (*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 (NullableDeprecationPolicy) IsSet

func (v NullableDeprecationPolicy) IsSet() bool

func (NullableDeprecationPolicy) MarshalJSON

func (v NullableDeprecationPolicy) MarshalJSON() ([]byte, error)

func (*NullableDeprecationPolicy) Set

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 (NullableKubernetesAgentConfigRequest) Get

func (NullableKubernetesAgentConfigRequest) IsSet

func (NullableKubernetesAgentConfigRequest) MarshalJSON

func (v NullableKubernetesAgentConfigRequest) MarshalJSON() ([]byte, error)

func (*NullableKubernetesAgentConfigRequest) Set

func (*NullableKubernetesAgentConfigRequest) UnmarshalJSON

func (v *NullableKubernetesAgentConfigRequest) UnmarshalJSON(src []byte) error

func (*NullableKubernetesAgentConfigRequest) Unset

type NullableKubernetesCluster

type NullableKubernetesCluster struct {
	// contains filtered or unexported fields
}

func NewNullableKubernetesCluster

func NewNullableKubernetesCluster(val *KubernetesCluster) *NullableKubernetesCluster

func (NullableKubernetesCluster) Get

func (NullableKubernetesCluster) IsSet

func (v NullableKubernetesCluster) IsSet() bool

func (NullableKubernetesCluster) MarshalJSON

func (v NullableKubernetesCluster) MarshalJSON() ([]byte, error)

func (*NullableKubernetesCluster) Set

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 (NullableKubernetesClusterDetailedResponse) Get

func (NullableKubernetesClusterDetailedResponse) IsSet

func (NullableKubernetesClusterDetailedResponse) MarshalJSON

func (*NullableKubernetesClusterDetailedResponse) Set

func (*NullableKubernetesClusterDetailedResponse) UnmarshalJSON

func (v *NullableKubernetesClusterDetailedResponse) UnmarshalJSON(src []byte) error

func (*NullableKubernetesClusterDetailedResponse) Unset

type NullableKubernetesClusterDetailedResponseAllOf

type NullableKubernetesClusterDetailedResponseAllOf struct {
	// contains filtered or unexported fields
}

func (NullableKubernetesClusterDetailedResponseAllOf) Get

func (NullableKubernetesClusterDetailedResponseAllOf) IsSet

func (NullableKubernetesClusterDetailedResponseAllOf) MarshalJSON

func (*NullableKubernetesClusterDetailedResponseAllOf) Set

func (*NullableKubernetesClusterDetailedResponseAllOf) UnmarshalJSON

func (*NullableKubernetesClusterDetailedResponseAllOf) Unset

type NullableKubernetesClusterRequest

type NullableKubernetesClusterRequest struct {
	// contains filtered or unexported fields
}

func (NullableKubernetesClusterRequest) Get

func (NullableKubernetesClusterRequest) IsSet

func (NullableKubernetesClusterRequest) MarshalJSON

func (v NullableKubernetesClusterRequest) MarshalJSON() ([]byte, error)

func (*NullableKubernetesClusterRequest) Set

func (*NullableKubernetesClusterRequest) UnmarshalJSON

func (v *NullableKubernetesClusterRequest) UnmarshalJSON(src []byte) error

func (*NullableKubernetesClusterRequest) Unset

type NullableKubernetesClusterResponse

type NullableKubernetesClusterResponse struct {
	// contains filtered or unexported fields
}

func (NullableKubernetesClusterResponse) Get

func (NullableKubernetesClusterResponse) IsSet

func (NullableKubernetesClusterResponse) MarshalJSON

func (v NullableKubernetesClusterResponse) MarshalJSON() ([]byte, error)

func (*NullableKubernetesClusterResponse) Set

func (*NullableKubernetesClusterResponse) UnmarshalJSON

func (v *NullableKubernetesClusterResponse) UnmarshalJSON(src []byte) error

func (*NullableKubernetesClusterResponse) Unset

type NullableKubernetesClusterResponseAllOf

type NullableKubernetesClusterResponseAllOf struct {
	// contains filtered or unexported fields
}

func (NullableKubernetesClusterResponseAllOf) Get

func (NullableKubernetesClusterResponseAllOf) IsSet

func (NullableKubernetesClusterResponseAllOf) MarshalJSON

func (v NullableKubernetesClusterResponseAllOf) MarshalJSON() ([]byte, error)

func (*NullableKubernetesClusterResponseAllOf) Set

func (*NullableKubernetesClusterResponseAllOf) UnmarshalJSON

func (v *NullableKubernetesClusterResponseAllOf) UnmarshalJSON(src []byte) error

func (*NullableKubernetesClusterResponseAllOf) Unset

type NullableKubernetesTelemetryRequest

type NullableKubernetesTelemetryRequest struct {
	// contains filtered or unexported fields
}

func (NullableKubernetesTelemetryRequest) Get

func (NullableKubernetesTelemetryRequest) IsSet

func (NullableKubernetesTelemetryRequest) MarshalJSON

func (v NullableKubernetesTelemetryRequest) MarshalJSON() ([]byte, error)

func (*NullableKubernetesTelemetryRequest) Set

func (*NullableKubernetesTelemetryRequest) UnmarshalJSON

func (v *NullableKubernetesTelemetryRequest) UnmarshalJSON(src []byte) error

func (*NullableKubernetesTelemetryRequest) Unset

type NullableKubernetesTelemetryResponse

type NullableKubernetesTelemetryResponse struct {
	// contains filtered or unexported fields
}

func (NullableKubernetesTelemetryResponse) Get

func (NullableKubernetesTelemetryResponse) IsSet

func (NullableKubernetesTelemetryResponse) MarshalJSON

func (v NullableKubernetesTelemetryResponse) MarshalJSON() ([]byte, error)

func (*NullableKubernetesTelemetryResponse) Set

func (*NullableKubernetesTelemetryResponse) UnmarshalJSON

func (v *NullableKubernetesTelemetryResponse) UnmarshalJSON(src []byte) error

func (*NullableKubernetesTelemetryResponse) Unset

type NullableKubernetesWorkload

type NullableKubernetesWorkload struct {
	// contains filtered or unexported fields
}

func NewNullableKubernetesWorkload

func NewNullableKubernetesWorkload(val *KubernetesWorkload) *NullableKubernetesWorkload

func (NullableKubernetesWorkload) Get

func (NullableKubernetesWorkload) IsSet

func (v NullableKubernetesWorkload) IsSet() bool

func (NullableKubernetesWorkload) MarshalJSON

func (v NullableKubernetesWorkload) MarshalJSON() ([]byte, error)

func (*NullableKubernetesWorkload) Set

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 (NullableNonSupportPolicy) IsSet

func (v NullableNonSupportPolicy) IsSet() bool

func (NullableNonSupportPolicy) MarshalJSON

func (v NullableNonSupportPolicy) MarshalJSON() ([]byte, error)

func (*NullableNonSupportPolicy) Set

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 (NullableRegisterKubernetesClusterRequest) Get

func (NullableRegisterKubernetesClusterRequest) IsSet

func (NullableRegisterKubernetesClusterRequest) MarshalJSON

func (*NullableRegisterKubernetesClusterRequest) Set

func (*NullableRegisterKubernetesClusterRequest) UnmarshalJSON

func (v *NullableRegisterKubernetesClusterRequest) UnmarshalJSON(src []byte) error

func (*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

func NewProduct(name string, branch string, version string, releasedAt time.Time) *Product

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) GetBranch

func (o *Product) GetBranch() string

GetBranch returns the Branch field value

func (*Product) GetBranchOk

func (o *Product) GetBranchOk() (*string, bool)

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

func (o *Product) GetLastVersionReleased() string

GetLastVersionReleased returns the LastVersionReleased field value if set, zero value otherwise.

func (*Product) GetLastVersionReleasedOk

func (o *Product) GetLastVersionReleasedOk() (*string, bool)

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) GetName

func (o *Product) GetName() string

GetName returns the Name field value

func (*Product) GetNameOk

func (o *Product) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Product) GetNewerBranchesAvailable

func (o *Product) GetNewerBranchesAvailable() []string

GetNewerBranchesAvailable returns the NewerBranchesAvailable field value if set, zero value otherwise.

func (*Product) GetNewerBranchesAvailableOk

func (o *Product) GetNewerBranchesAvailableOk() ([]string, bool)

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

func (o *Product) GetReleasedAt() time.Time

GetReleasedAt returns the ReleasedAt field value

func (*Product) GetReleasedAtOk

func (o *Product) GetReleasedAtOk() (*time.Time, bool)

GetReleasedAtOk returns a tuple with the ReleasedAt field value and a boolean to check if the value has been set.

func (*Product) GetRevision

func (o *Product) GetRevision() string

GetRevision returns the Revision field value if set, zero value otherwise.

func (*Product) GetRevisionOk

func (o *Product) GetRevisionOk() (*string, bool)

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) GetStatus

func (o *Product) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Product) GetStatusOk

func (o *Product) GetStatusOk() (*string, 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 (*Product) GetVersion

func (o *Product) GetVersion() string

GetVersion returns the Version field value

func (*Product) GetVersionOk

func (o *Product) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*Product) HasDeprecationPolicy

func (o *Product) HasDeprecationPolicy() bool

HasDeprecationPolicy returns a boolean if a field has been set.

func (*Product) HasLastVersionReleased

func (o *Product) HasLastVersionReleased() bool

HasLastVersionReleased returns a boolean if a field has been set.

func (*Product) HasNewerBranchesAvailable

func (o *Product) HasNewerBranchesAvailable() bool

HasNewerBranchesAvailable returns a boolean if a field has been set.

func (*Product) HasNonsupportPolicy

func (o *Product) HasNonsupportPolicy() bool

HasNonsupportPolicy returns a boolean if a field has been set.

func (*Product) HasRevision

func (o *Product) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*Product) HasStatus

func (o *Product) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Product) MarshalJSON

func (o Product) MarshalJSON() ([]byte, error)

func (*Product) SetBranch

func (o *Product) SetBranch(v string)

SetBranch sets field value

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

func (o *Product) SetLastVersionReleased(v string)

SetLastVersionReleased gets a reference to the given string and assigns it to the LastVersionReleased field.

func (*Product) SetName

func (o *Product) SetName(v string)

SetName sets field value

func (*Product) SetNewerBranchesAvailable

func (o *Product) SetNewerBranchesAvailable(v []string)

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

func (o *Product) SetReleasedAt(v time.Time)

SetReleasedAt sets field value

func (*Product) SetRevision

func (o *Product) SetRevision(v string)

SetRevision gets a reference to the given string and assigns it to the Revision field.

func (*Product) SetStatus

func (o *Product) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Product) SetVersion

func (o *Product) SetVersion(v string)

SetVersion sets field value

func (*Product) UnmarshalJSON

func (o *Product) UnmarshalJSON(bytes []byte) (err error)

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

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

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

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL