models

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// V1ServiceResponseStatusReady captures enum value "ready"
	V1ServiceResponseStatusReady string = "ready"

	// V1ServiceResponseStatusFailed captures enum value "failed"
	V1ServiceResponseStatusFailed string = "failed"

	// V1ServiceResponseStatusPending captures enum value "pending"
	V1ServiceResponseStatusPending string = "pending"

	// V1ServiceResponseStatusStopped captures enum value "stopped"
	V1ServiceResponseStatusStopped string = "stopped"

	// V1ServiceResponseStatusRetired captures enum value "retired"
	V1ServiceResponseStatusRetired string = "retired"
)
View Source
const (

	// V1ServiceResponseInternalStatusReady captures enum value "ready"
	V1ServiceResponseInternalStatusReady string = "ready"

	// V1ServiceResponseInternalStatusFailed captures enum value "failed"
	V1ServiceResponseInternalStatusFailed string = "failed"

	// V1ServiceResponseInternalStatusPending captures enum value "pending"
	V1ServiceResponseInternalStatusPending string = "pending"

	// V1ServiceResponseInternalStatusStopped captures enum value "stopped"
	V1ServiceResponseInternalStatusStopped string = "stopped"

	// V1ServiceResponseInternalStatusRetired captures enum value "retired"
	V1ServiceResponseInternalStatusRetired string = "retired"
)
View Source
const (

	// V1SetStorageIOPSRequestVolumeTypeGp2 captures enum value "gp2"
	V1SetStorageIOPSRequestVolumeTypeGp2 string = "gp2"

	// V1SetStorageIOPSRequestVolumeTypeGp3 captures enum value "gp3"
	V1SetStorageIOPSRequestVolumeTypeGp3 string = "gp3"

	// V1SetStorageIOPSRequestVolumeTypeIo1 captures enum value "io1"
	V1SetStorageIOPSRequestVolumeTypeIo1 string = "io1"

	// V1SetStorageIOPSRequestVolumeTypeIo2 captures enum value "io2"
	V1SetStorageIOPSRequestVolumeTypeIo2 string = "io2"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrrErrorDetails

type ErrrErrorDetails struct {

	// error
	Error string `json:"error,omitempty"`

	// location
	Location string `json:"location,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// solution
	Solution string `json:"solution,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

ErrrErrorDetails errr error details

swagger:model errr.ErrorDetails

func (*ErrrErrorDetails) ContextValidate

func (m *ErrrErrorDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this errr error details based on context it is used

func (*ErrrErrorDetails) MarshalBinary

func (m *ErrrErrorDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ErrrErrorDetails) UnmarshalBinary

func (m *ErrrErrorDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ErrrErrorDetails) Validate

func (m *ErrrErrorDetails) Validate(formats strfmt.Registry) error

Validate validates this errr error details

type ErrrErrorResponse

type ErrrErrorResponse struct {

	// code
	Code int64 `json:"code,omitempty"`

	// errors
	Errors []*ErrrErrorDetails `json:"errors"`

	// exception
	Exception string `json:"exception,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// timestamp
	Timestamp int64 `json:"timestamp,omitempty"`

	// trace id
	TraceID string `json:"trace_id,omitempty"`
}

ErrrErrorResponse errr error response

swagger:model errr.ErrorResponse

func (*ErrrErrorResponse) ContextValidate

func (m *ErrrErrorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this errr error response based on the context it is used

func (*ErrrErrorResponse) MarshalBinary

func (m *ErrrErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ErrrErrorResponse) UnmarshalBinary

func (m *ErrrErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ErrrErrorResponse) Validate

func (m *ErrrErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this errr error response

type V1AccountResponse

type V1AccountResponse struct {

	// account id
	AccountID string `json:"account_id,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

V1AccountResponse v1 account response

swagger:model v1.AccountResponse

func (*V1AccountResponse) ContextValidate

func (m *V1AccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 account response based on context it is used

func (*V1AccountResponse) MarshalBinary

func (m *V1AccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AccountResponse) UnmarshalBinary

func (m *V1AccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AccountResponse) Validate

func (m *V1AccountResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 account response

type V1AddAllowListIPAddressRequest

type V1AddAllowListIPAddressRequest struct {

	// ip address
	// Example: 142.251.46.142/32
	IPAddress string `json:"ip_address,omitempty"`
}

V1AddAllowListIPAddressRequest v1 add allow list IP address request

swagger:model v1.AddAllowListIPAddressRequest

func (*V1AddAllowListIPAddressRequest) ContextValidate

func (m *V1AddAllowListIPAddressRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 add allow list IP address request based on context it is used

func (*V1AddAllowListIPAddressRequest) MarshalBinary

func (m *V1AddAllowListIPAddressRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AddAllowListIPAddressRequest) UnmarshalBinary

func (m *V1AddAllowListIPAddressRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AddAllowListIPAddressRequest) Validate

func (m *V1AddAllowListIPAddressRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 add allow list IP address request

type V1AllowListEndpoint

type V1AllowListEndpoint struct {

	// allow list
	// Example: ["142.251.46.142"]
	AllowList []string `json:"allowList"`

	// name
	// Example: primary
	Name string `json:"name,omitempty"`
}

V1AllowListEndpoint IP Address that has been added to the services network allow list

swagger:model v1.AllowListEndpoint

func (*V1AllowListEndpoint) ContextValidate

func (m *V1AllowListEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 allow list endpoint based on context it is used

func (*V1AllowListEndpoint) MarshalBinary

func (m *V1AllowListEndpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AllowListEndpoint) UnmarshalBinary

func (m *V1AllowListEndpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AllowListEndpoint) Validate

func (m *V1AllowListEndpoint) Validate(formats strfmt.Registry) error

Validate validates this v1 allow list endpoint

type V1Certificate

type V1Certificate struct {

	// certificate
	Certificate string `json:"certificate,omitempty"`

	// expires
	Expires string `json:"expires,omitempty"`

	// serial
	Serial string `json:"serial,omitempty"`
}

V1Certificate v1 certificate

swagger:model v1.Certificate

func (*V1Certificate) ContextValidate

func (m *V1Certificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 certificate based on context it is used

func (*V1Certificate) MarshalBinary

func (m *V1Certificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Certificate) UnmarshalBinary

func (m *V1Certificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Certificate) Validate

func (m *V1Certificate) Validate(formats strfmt.Registry) error

Validate validates this v1 certificate

type V1ClusterApplication

type V1ClusterApplication struct {

	// name
	Name string `json:"name,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

V1ClusterApplication v1 cluster application

swagger:model v1.ClusterApplication

func (*V1ClusterApplication) ContextValidate

func (m *V1ClusterApplication) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster application based on context it is used

func (*V1ClusterApplication) MarshalBinary

func (m *V1ClusterApplication) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterApplication) UnmarshalBinary

func (m *V1ClusterApplication) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterApplication) Validate

func (m *V1ClusterApplication) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster application

type V1ClusterResponse

type V1ClusterResponse struct {

	// applications
	Applications []*V1ClusterApplication `json:"applications"`

	// availability zones
	AvailabilityZones []string `json:"availability_zones"`

	// ca cert
	CaCert string `json:"ca_cert,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// kubernetes version
	KubernetesVersion string `json:"kubernetes_version,omitempty"`

	// monitoring fqdn
	MonitoringFqdn string `json:"monitoring_fqdn,omitempty"`

	// nat ips
	NatIps []string `json:"nat_ips"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

V1ClusterResponse v1 cluster response

swagger:model v1.ClusterResponse

func (*V1ClusterResponse) ContextValidate

func (m *V1ClusterResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cluster response based on the context it is used

func (*V1ClusterResponse) MarshalBinary

func (m *V1ClusterResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterResponse) UnmarshalBinary

func (m *V1ClusterResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterResponse) Validate

func (m *V1ClusterResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster response

type V1ConfigResponse

type V1ConfigResponse struct {

	// created on
	CreatedOn string `json:"createdOn,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// organization ID
	OrganizationID string `json:"organizationID,omitempty"`

	// public
	Public bool `json:"public,omitempty"`

	// topology name
	TopologyName string `json:"topologyName,omitempty"`

	// updated on
	UpdatedOn string `json:"updatedOn,omitempty"`
}

V1ConfigResponse ConfigResponse

swagger:model v1.ConfigResponse

func (*V1ConfigResponse) ContextValidate

func (m *V1ConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 config response based on context it is used

func (*V1ConfigResponse) MarshalBinary

func (m *V1ConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ConfigResponse) UnmarshalBinary

func (m *V1ConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ConfigResponse) Validate

func (m *V1ConfigResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 config response

type V1ConfigValues

type V1ConfigValues struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1ConfigValues ConfigValues

swagger:model v1.ConfigValues

func (*V1ConfigValues) ContextValidate

func (m *V1ConfigValues) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 config values based on context it is used

func (*V1ConfigValues) MarshalBinary

func (m *V1ConfigValues) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ConfigValues) UnmarshalBinary

func (m *V1ConfigValues) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ConfigValues) Validate

func (m *V1ConfigValues) Validate(formats strfmt.Registry) error

Validate validates this v1 config values

type V1ConfigVariableResponse

type V1ConfigVariableResponse struct {

	// keywords
	Keywords []string `json:"keywords"`

	// name
	Name string `json:"name,omitempty"`

	// requires restart
	RequiresRestart bool `json:"requires_restart,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// values
	Values []string `json:"values"`
}

V1ConfigVariableResponse ConfigVariableResponse

swagger:model v1.ConfigVariableResponse

func (*V1ConfigVariableResponse) ContextValidate

func (m *V1ConfigVariableResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 config variable response based on context it is used

func (*V1ConfigVariableResponse) MarshalBinary

func (m *V1ConfigVariableResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ConfigVariableResponse) UnmarshalBinary

func (m *V1ConfigVariableResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ConfigVariableResponse) Validate

func (m *V1ConfigVariableResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 config variable response

type V1ConfigWithValuesResponse

type V1ConfigWithValuesResponse struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// product configs
	ProductConfigs map[string][]V1ConfigValues `json:"product_configs,omitempty"`
}

V1ConfigWithValuesResponse ConfigWithValuesResponse

swagger:model v1.ConfigWithValuesResponse

func (*V1ConfigWithValuesResponse) ContextValidate

func (m *V1ConfigWithValuesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 config with values response based on the context it is used

func (*V1ConfigWithValuesResponse) MarshalBinary

func (m *V1ConfigWithValuesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ConfigWithValuesResponse) UnmarshalBinary

func (m *V1ConfigWithValuesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ConfigWithValuesResponse) Validate

func (m *V1ConfigWithValuesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 config with values response

type V1CreateAccountRequest

type V1CreateAccountRequest struct {

	// account id
	AccountID string `json:"account_id,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

V1CreateAccountRequest v1 create account request

swagger:model v1.CreateAccountRequest

func (*V1CreateAccountRequest) ContextValidate

func (m *V1CreateAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 create account request based on context it is used

func (*V1CreateAccountRequest) MarshalBinary

func (m *V1CreateAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateAccountRequest) UnmarshalBinary

func (m *V1CreateAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateAccountRequest) Validate

func (m *V1CreateAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create account request

type V1CreateClusterRequest

type V1CreateClusterRequest struct {

	// applications
	Applications []*V1ClusterApplication `json:"applications"`

	// availability zones
	AvailabilityZones []string `json:"availability_zones"`

	// ca cert
	CaCert string `json:"ca_cert,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// kubernetes version
	KubernetesVersion string `json:"kubernetes_version,omitempty"`

	// monitoring fqdn
	MonitoringFqdn string `json:"monitoring_fqdn,omitempty"`

	// nat ips
	NatIps []string `json:"nat_ips"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

V1CreateClusterRequest v1 create cluster request

swagger:model v1.CreateClusterRequest

func (*V1CreateClusterRequest) ContextValidate

func (m *V1CreateClusterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create cluster request based on the context it is used

func (*V1CreateClusterRequest) MarshalBinary

func (m *V1CreateClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateClusterRequest) UnmarshalBinary

func (m *V1CreateClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateClusterRequest) Validate

func (m *V1CreateClusterRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create cluster request

type V1CreateConfigWithValuesRequest

type V1CreateConfigWithValuesRequest struct {

	// name
	Name string `json:"name,omitempty"`

	// product configs
	ProductConfigs V1ProductConfigs `json:"product_configs,omitempty"`

	// topology id
	TopologyID string `json:"topology_id,omitempty"`
}

V1CreateConfigWithValuesRequest CreateConfigWithValuesRequest

swagger:model v1.CreateConfigWithValuesRequest

func (*V1CreateConfigWithValuesRequest) ContextValidate

func (m *V1CreateConfigWithValuesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create config with values request based on the context it is used

func (*V1CreateConfigWithValuesRequest) MarshalBinary

func (m *V1CreateConfigWithValuesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateConfigWithValuesRequest) UnmarshalBinary

func (m *V1CreateConfigWithValuesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateConfigWithValuesRequest) Validate

Validate validates this v1 create config with values request

type V1CreateServiceRequest

type V1CreateServiceRequest struct {

	// name
	// Example: doc-test-tx-single
	Name string `json:"name,omitempty"`

	// nodes
	// Example: 1
	Nodes int64 `json:"nodes,omitempty"`

	// project id
	// Example: b4ffd36d-20b2-4813-9939-635f66a21c5e
	ProjectID string `json:"project_id,omitempty"`

	// provider
	// Example: aws
	Provider string `json:"provider,omitempty"`

	// region
	// Example: us-east-1
	Region string `json:"region,omitempty"`

	// service type
	// Example: transactional
	ServiceType string `json:"service_type,omitempty"`

	// size
	// Example: sky-2x8
	Size string `json:"size,omitempty"`

	// ssl enabled
	// Example: true
	SslEnabled bool `json:"ssl_enabled,omitempty"`

	// storage
	// Example: 100
	Storage int64 `json:"storage,omitempty"`

	// tier
	// Example: foundation
	Tier string `json:"tier,omitempty"`

	// topology
	// Example: standalone
	Topology string `json:"topology,omitempty"`

	// version
	// Example: 10.6.7-3-1
	Version string `json:"version,omitempty"`

	// volume iops
	// Example: 100
	VolumeIops int64 `json:"volume_iops,omitempty"`

	// volume type
	// Example: gp2
	VolumeType string `json:"volume_type,omitempty"`
}

V1CreateServiceRequest v1 create service request

swagger:model v1.CreateServiceRequest

func (*V1CreateServiceRequest) ContextValidate

func (m *V1CreateServiceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 create service request based on context it is used

func (*V1CreateServiceRequest) MarshalBinary

func (m *V1CreateServiceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateServiceRequest) UnmarshalBinary

func (m *V1CreateServiceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateServiceRequest) Validate

func (m *V1CreateServiceRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create service request

type V1CredentialsResponse

type V1CredentialsResponse struct {

	// host
	Host string `json:"host,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

V1CredentialsResponse v1 credentials response

swagger:model v1.CredentialsResponse

func (*V1CredentialsResponse) ContextValidate

func (m *V1CredentialsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 credentials response based on context it is used

func (*V1CredentialsResponse) MarshalBinary

func (m *V1CredentialsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CredentialsResponse) UnmarshalBinary

func (m *V1CredentialsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CredentialsResponse) Validate

func (m *V1CredentialsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 credentials response

type V1DeleteAllowedAddressRequest

type V1DeleteAllowedAddressRequest struct {

	// ip address
	// Example: 142.251.46.142/32
	IPAddress string `json:"ip_address,omitempty"`
}

V1DeleteAllowedAddressRequest v1 delete allowed address request

swagger:model v1.DeleteAllowedAddressRequest

func (*V1DeleteAllowedAddressRequest) ContextValidate

func (m *V1DeleteAllowedAddressRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 delete allowed address request based on context it is used

func (*V1DeleteAllowedAddressRequest) MarshalBinary

func (m *V1DeleteAllowedAddressRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeleteAllowedAddressRequest) UnmarshalBinary

func (m *V1DeleteAllowedAddressRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeleteAllowedAddressRequest) Validate

func (m *V1DeleteAllowedAddressRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 delete allowed address request

type V1Endpoint

type V1Endpoint struct {

	// name
	Name string `json:"name,omitempty"`

	// ports
	Ports []*V1EndpointPort `json:"ports"`

	// visibility
	Visibility string `json:"visibility,omitempty"`

	// whitelist
	Whitelist []string `json:"whitelist"`
}

V1Endpoint v1 endpoint

swagger:model v1.Endpoint

func (*V1Endpoint) ContextValidate

func (m *V1Endpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 endpoint based on the context it is used

func (*V1Endpoint) MarshalBinary

func (m *V1Endpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Endpoint) UnmarshalBinary

func (m *V1Endpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Endpoint) Validate

func (m *V1Endpoint) Validate(formats strfmt.Registry) error

Validate validates this v1 endpoint

type V1EndpointPort

type V1EndpointPort struct {

	// name
	Name string `json:"name,omitempty"`

	// port
	Port int64 `json:"port,omitempty"`

	// purpose
	Purpose string `json:"purpose,omitempty"`
}

V1EndpointPort v1 endpoint port

swagger:model v1.EndpointPort

func (*V1EndpointPort) ContextValidate

func (m *V1EndpointPort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 endpoint port based on context it is used

func (*V1EndpointPort) MarshalBinary

func (m *V1EndpointPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1EndpointPort) UnmarshalBinary

func (m *V1EndpointPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1EndpointPort) Validate

func (m *V1EndpointPort) Validate(formats strfmt.Registry) error

Validate validates this v1 endpoint port

type V1PatchAccountRequest

type V1PatchAccountRequest struct {

	// account id
	AccountID string `json:"account_id,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

V1PatchAccountRequest v1 patch account request

swagger:model v1.PatchAccountRequest

func (*V1PatchAccountRequest) ContextValidate

func (m *V1PatchAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 patch account request based on context it is used

func (*V1PatchAccountRequest) MarshalBinary

func (m *V1PatchAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PatchAccountRequest) UnmarshalBinary

func (m *V1PatchAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PatchAccountRequest) Validate

func (m *V1PatchAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 patch account request

type V1PatchClusterRequest

type V1PatchClusterRequest struct {

	// applications
	Applications []*V1ClusterApplication `json:"applications"`

	// availability zones
	AvailabilityZones []string `json:"availability_zones"`

	// ca cert
	CaCert string `json:"ca_cert,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// kubernetes version
	KubernetesVersion string `json:"kubernetes_version,omitempty"`

	// monitoring fqdn
	MonitoringFqdn string `json:"monitoring_fqdn,omitempty"`

	// nat ips
	NatIps []string `json:"nat_ips"`

	// status
	Status string `json:"status,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

V1PatchClusterRequest v1 patch cluster request

swagger:model v1.PatchClusterRequest

func (*V1PatchClusterRequest) ContextValidate

func (m *V1PatchClusterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 patch cluster request based on the context it is used

func (*V1PatchClusterRequest) MarshalBinary

func (m *V1PatchClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PatchClusterRequest) UnmarshalBinary

func (m *V1PatchClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PatchClusterRequest) Validate

func (m *V1PatchClusterRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 patch cluster request

type V1PatchServiceRequest

type V1PatchServiceRequest struct {

	// applications
	Applications interface{} `json:"applications,omitempty"`

	// cert
	Cert *V1Certificate `json:"cert,omitempty"`

	// endpoints
	Endpoints []*V1Endpoint `json:"endpoints"`

	// fqdn
	Fqdn string `json:"fqdn,omitempty"`

	// ips
	Ips []string `json:"ips"`

	// status
	Status string `json:"status,omitempty"`
}

V1PatchServiceRequest Update service request

swagger:model v1.PatchServiceRequest

func (*V1PatchServiceRequest) ContextValidate

func (m *V1PatchServiceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 patch service request based on the context it is used

func (*V1PatchServiceRequest) MarshalBinary

func (m *V1PatchServiceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PatchServiceRequest) UnmarshalBinary

func (m *V1PatchServiceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PatchServiceRequest) Validate

func (m *V1PatchServiceRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 patch service request

type V1PowerState

type V1PowerState struct {

	// is active
	IsActive bool `json:"is_active,omitempty"`
}

V1PowerState Start/Stop Service

swagger:model v1.PowerState

func (*V1PowerState) ContextValidate

func (m *V1PowerState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 power state based on context it is used

func (*V1PowerState) MarshalBinary

func (m *V1PowerState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PowerState) UnmarshalBinary

func (m *V1PowerState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PowerState) Validate

func (m *V1PowerState) Validate(formats strfmt.Registry) error

Validate validates this v1 power state

type V1Product

type V1Product struct {

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

V1Product Product

swagger:model v1.Product

func (*V1Product) ContextValidate

func (m *V1Product) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 product based on context it is used

func (*V1Product) MarshalBinary

func (m *V1Product) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Product) UnmarshalBinary

func (m *V1Product) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Product) Validate

func (m *V1Product) Validate(formats strfmt.Registry) error

Validate validates this v1 product

type V1ProductConfigResponse

type V1ProductConfigResponse struct {

	// product
	Product string `json:"product,omitempty"`

	// variables
	Variables []*V1ConfigVariableResponse `json:"variables"`
}

V1ProductConfigResponse ProductConfigResponse

swagger:model v1.ProductConfigResponse

func (*V1ProductConfigResponse) ContextValidate

func (m *V1ProductConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 product config response based on the context it is used

func (*V1ProductConfigResponse) MarshalBinary

func (m *V1ProductConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ProductConfigResponse) UnmarshalBinary

func (m *V1ProductConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ProductConfigResponse) Validate

func (m *V1ProductConfigResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 product config response

type V1ProductConfigs

type V1ProductConfigs map[string][]V1ConfigValues

V1ProductConfigs v1 product configs

swagger:model v1.ProductConfigs

func (V1ProductConfigs) ContextValidate

func (m V1ProductConfigs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 product configs based on the context it is used

func (V1ProductConfigs) Validate

func (m V1ProductConfigs) Validate(formats strfmt.Registry) error

Validate validates this v1 product configs

type V1Provider

type V1Provider struct {

	// active
	Active bool `json:"active,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// iops min
	IopsMin int64 `json:"iops_min,omitempty"`

	// iops per gb
	IopsPerGb int64 `json:"iops_per_gb,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// volume size max gb
	VolumeSizeMaxGb int64 `json:"volume_size_max_gb,omitempty"`

	// volume size min gb
	VolumeSizeMinGb int64 `json:"volume_size_min_gb,omitempty"`
}

V1Provider v1 provider

swagger:model v1.Provider

func (*V1Provider) ContextValidate

func (m *V1Provider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 provider based on context it is used

func (*V1Provider) MarshalBinary

func (m *V1Provider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Provider) UnmarshalBinary

func (m *V1Provider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Provider) Validate

func (m *V1Provider) Validate(formats strfmt.Registry) error

Validate validates this v1 provider

type V1Region

type V1Region struct {

	// default
	Default bool `json:"default,omitempty"`

	// has clusters
	HasClusters bool `json:"has_clusters,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// region
	Region string `json:"region,omitempty"`
}

V1Region Geographic region, as defined by the provider

swagger:model v1.Region

func (*V1Region) ContextValidate

func (m *V1Region) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 region based on context it is used

func (*V1Region) MarshalBinary

func (m *V1Region) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Region) UnmarshalBinary

func (m *V1Region) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Region) Validate

func (m *V1Region) Validate(formats strfmt.Registry) error

Validate validates this v1 region

type V1ServiceEndpoint

type V1ServiceEndpoint struct {

	// name
	Name string `json:"name,omitempty"`

	// ports
	Ports []*V1EndpointPort `json:"ports"`
}

V1ServiceEndpoint v1 service endpoint

swagger:model v1.ServiceEndpoint

func (*V1ServiceEndpoint) ContextValidate

func (m *V1ServiceEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service endpoint based on the context it is used

func (*V1ServiceEndpoint) MarshalBinary

func (m *V1ServiceEndpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceEndpoint) UnmarshalBinary

func (m *V1ServiceEndpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceEndpoint) Validate

func (m *V1ServiceEndpoint) Validate(formats strfmt.Registry) error

Validate validates this v1 service endpoint

type V1ServiceNodesState

type V1ServiceNodesState struct {

	// nodes
	Nodes int64 `json:"nodes,omitempty"`
}

V1ServiceNodesState Update the number of nodes for a service

swagger:model v1.ServiceNodesState

func (*V1ServiceNodesState) ContextValidate

func (m *V1ServiceNodesState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 service nodes state based on context it is used

func (*V1ServiceNodesState) MarshalBinary

func (m *V1ServiceNodesState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceNodesState) UnmarshalBinary

func (m *V1ServiceNodesState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceNodesState) Validate

func (m *V1ServiceNodesState) Validate(formats strfmt.Registry) error

Validate validates this v1 service nodes state

type V1ServiceResponse

type V1ServiceResponse struct {

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// created on
	CreatedOn int64 `json:"created_on,omitempty"`

	// endpoints
	Endpoints []*V1ServiceEndpoint `json:"endpoints"`

	// fqdn
	Fqdn string `json:"fqdn,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is active
	IsActive bool `json:"is_active,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nodes
	Nodes int64 `json:"nodes,omitempty"`

	// outbound ips
	OutboundIps []string `json:"outbound_ips"`

	// provider
	Provider string `json:"provider,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// service type
	ServiceType string `json:"service_type,omitempty"`

	// size
	Size string `json:"size,omitempty"`

	// ssl enabled
	SslEnabled bool `json:"ssl_enabled,omitempty"`

	// status
	// Enum: [ready failed pending stopped retired]
	Status string `json:"status,omitempty"`

	// storage volume
	StorageVolume *V1StorageVolume `json:"storage_volume,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`

	// topology
	Topology string `json:"topology,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`

	// updated on
	UpdatedOn int64 `json:"updated_on,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

V1ServiceResponse ServiceResponse

swagger:model v1.ServiceResponse

func (*V1ServiceResponse) ContextValidate

func (m *V1ServiceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service response based on the context it is used

func (*V1ServiceResponse) MarshalBinary

func (m *V1ServiceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceResponse) UnmarshalBinary

func (m *V1ServiceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceResponse) Validate

func (m *V1ServiceResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 service response

type V1ServiceResponseInternal

type V1ServiceResponseInternal struct {

	// applications
	Applications interface{} `json:"applications,omitempty"`

	// availability zone
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// cert
	Cert interface{} `json:"cert,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// created on
	CreatedOn int64 `json:"created_on,omitempty"`

	// custom image versions
	CustomImageVersions interface{} `json:"custom_image_versions,omitempty"`

	// endpoints
	Endpoints []*V1Endpoint `json:"endpoints"`

	// fqdn
	Fqdn string `json:"fqdn,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// ips
	Ips interface{} `json:"ips,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nodes
	Nodes int64 `json:"nodes,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// proxy options
	ProxyOptions interface{} `json:"proxy_options,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// service number
	ServiceNumber string `json:"service_number,omitempty"`

	// size
	Size string `json:"size,omitempty"`

	// ssl enabled
	SslEnabled bool `json:"ssl_enabled,omitempty"`

	// status
	// Enum: [ready failed pending stopped retired]
	Status string `json:"status,omitempty"`

	// storage volume
	StorageVolume *V1StorageVolume `json:"storage_volume,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`

	// topology
	Topology string `json:"topology,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`

	// updated on
	UpdatedOn int64 `json:"updated_on,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

V1ServiceResponseInternal Service object

swagger:model v1.ServiceResponseInternal

func (*V1ServiceResponseInternal) ContextValidate

func (m *V1ServiceResponseInternal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service response internal based on the context it is used

func (*V1ServiceResponseInternal) MarshalBinary

func (m *V1ServiceResponseInternal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceResponseInternal) UnmarshalBinary

func (m *V1ServiceResponseInternal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceResponseInternal) Validate

func (m *V1ServiceResponseInternal) Validate(formats strfmt.Registry) error

Validate validates this v1 service response internal

type V1ServiceSizeState

type V1ServiceSizeState struct {

	// size
	// Example: sky-2x8
	Size string `json:"size,omitempty"`
}

V1ServiceSizeState Nodes size for a service

swagger:model v1.ServiceSizeState

func (*V1ServiceSizeState) ContextValidate

func (m *V1ServiceSizeState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 service size state based on context it is used

func (*V1ServiceSizeState) MarshalBinary

func (m *V1ServiceSizeState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceSizeState) UnmarshalBinary

func (m *V1ServiceSizeState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceSizeState) Validate

func (m *V1ServiceSizeState) Validate(formats strfmt.Registry) error

Validate validates this v1 service size state

type V1ServiceType

type V1ServiceType struct {

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// order
	Order int64 `json:"order,omitempty"`

	// short description
	ShortDescription string `json:"short_description,omitempty"`
}

V1ServiceType a database services type, e.g. Distributed Transactions

swagger:model v1.ServiceType

func (*V1ServiceType) ContextValidate

func (m *V1ServiceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 service type based on context it is used

func (*V1ServiceType) MarshalBinary

func (m *V1ServiceType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceType) UnmarshalBinary

func (m *V1ServiceType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceType) Validate

func (m *V1ServiceType) Validate(formats strfmt.Registry) error

Validate validates this v1 service type

type V1SetStorageIOPSRequest

type V1SetStorageIOPSRequest struct {

	// Input/output operations per second
	// Minimum / Maximum IOPs depend on the size of the disk and volume type.
	Iops int64 `json:"iops,omitempty"`

	// Type of the EBS volume. Can be gp2, gp3, io1 or io2
	// Enum: [gp2 gp3 io1 io2]
	VolumeType string `json:"volume_type,omitempty"`
}

V1SetStorageIOPSRequest Storage IOPs and volume type

swagger:model v1.SetStorageIOPSRequest

func (*V1SetStorageIOPSRequest) ContextValidate

func (m *V1SetStorageIOPSRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 set storage i o p s request based on context it is used

func (*V1SetStorageIOPSRequest) MarshalBinary

func (m *V1SetStorageIOPSRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SetStorageIOPSRequest) UnmarshalBinary

func (m *V1SetStorageIOPSRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SetStorageIOPSRequest) Validate

func (m *V1SetStorageIOPSRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 set storage i o p s request

type V1SetStorageSizeRequest

type V1SetStorageSizeRequest struct {

	// Size in GBs
	// Example: 10
	Size int64 `json:"size,omitempty"`
}

V1SetStorageSizeRequest Storage size that is set for the service

swagger:model v1.SetStorageSizeRequest

func (*V1SetStorageSizeRequest) ContextValidate

func (m *V1SetStorageSizeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 set storage size request based on context it is used

func (*V1SetStorageSizeRequest) MarshalBinary

func (m *V1SetStorageSizeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SetStorageSizeRequest) UnmarshalBinary

func (m *V1SetStorageSizeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SetStorageSizeRequest) Validate

func (m *V1SetStorageSizeRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 set storage size request

type V1Size

type V1Size struct {

	// cpu
	CPU string `json:"cpu,omitempty"`

	// created on
	CreatedOn string `json:"created_on,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is active
	IsActive bool `json:"is_active,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// ram
	RAM string `json:"ram,omitempty"`

	// service type
	ServiceType string `json:"service_type,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`

	// updated on
	UpdatedOn string `json:"updated_on,omitempty"`
}

V1Size v1 size

swagger:model v1.Size

func (*V1Size) ContextValidate

func (m *V1Size) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 size based on context it is used

func (*V1Size) MarshalBinary

func (m *V1Size) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Size) UnmarshalBinary

func (m *V1Size) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Size) Validate

func (m *V1Size) Validate(formats strfmt.Registry) error

Validate validates this v1 size

type V1StorageVolume

type V1StorageVolume struct {

	// iops
	Iops int64 `json:"iops,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// volume type
	VolumeType string `json:"volume_type,omitempty"`
}

V1StorageVolume v1 storage volume

swagger:model v1.StorageVolume

func (*V1StorageVolume) ContextValidate

func (m *V1StorageVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 storage volume based on context it is used

func (*V1StorageVolume) MarshalBinary

func (m *V1StorageVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1StorageVolume) UnmarshalBinary

func (m *V1StorageVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1StorageVolume) Validate

func (m *V1StorageVolume) Validate(formats strfmt.Registry) error

Validate validates this v1 storage volume

type V1Tier

type V1Tier struct {

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is active
	IsActive bool `json:"is_active,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// topologies
	Topologies []*V1Topology `json:"topologies"`
}

V1Tier v1 tier

swagger:model v1.Tier

func (*V1Tier) ContextValidate

func (m *V1Tier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 tier based on the context it is used

func (*V1Tier) MarshalBinary

func (m *V1Tier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Tier) UnmarshalBinary

func (m *V1Tier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Tier) Validate

func (m *V1Tier) Validate(formats strfmt.Registry) error

Validate validates this v1 tier

type V1Topology

type V1Topology struct {

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nodes
	Nodes interface{} `json:"nodes,omitempty"`

	// order
	Order int64 `json:"order,omitempty"`

	// service type
	ServiceType string `json:"service_type,omitempty"`

	// storage engine
	StorageEngine string `json:"storage_engine,omitempty"`
}

V1Topology Cluster topology valid for a particular product, e.g. Standalone or MaxScale

swagger:model v1.Topology

func (*V1Topology) ContextValidate

func (m *V1Topology) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 topology based on context it is used

func (*V1Topology) MarshalBinary

func (m *V1Topology) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Topology) UnmarshalBinary

func (m *V1Topology) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Topology) Validate

func (m *V1Topology) Validate(formats strfmt.Registry) error

Validate validates this v1 topology

type V1Version

type V1Version struct {

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is major
	IsMajor bool `json:"is_major,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// product
	Product string `json:"product,omitempty"`

	// release date
	ReleaseDate string `json:"release_date,omitempty"`

	// release notes url
	ReleaseNotesURL string `json:"release_notes_url,omitempty"`

	// topology
	Topology string `json:"topology,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

V1Version Database version, e.g. 10.4 or 10.5

swagger:model v1.Version

func (*V1Version) ContextValidate

func (m *V1Version) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 version based on context it is used

func (*V1Version) MarshalBinary

func (m *V1Version) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Version) UnmarshalBinary

func (m *V1Version) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Version) Validate

func (m *V1Version) Validate(formats strfmt.Registry) error

Validate validates this v1 version

type V1VolumeTypeResponse

type V1VolumeTypeResponse struct {

	// created on
	CreatedOn int64 `json:"created_on,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is default
	IsDefault bool `json:"is_default,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// updated on
	UpdatedOn int64 `json:"updated_on,omitempty"`
}

V1VolumeTypeResponse cloud storage volume type

swagger:model v1.VolumeTypeResponse

func (*V1VolumeTypeResponse) ContextValidate

func (m *V1VolumeTypeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 volume type response based on context it is used

func (*V1VolumeTypeResponse) MarshalBinary

func (m *V1VolumeTypeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VolumeTypeResponse) UnmarshalBinary

func (m *V1VolumeTypeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VolumeTypeResponse) Validate

func (m *V1VolumeTypeResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 volume type response

Jump to

Keyboard shortcuts

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