models

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterCreationRequest

type ClusterCreationRequest struct {

	// cloud account id
	CloudAccountID string `json:"cloud_account_id,omitempty"`

	// firewall
	Firewall *ClusterCreationRequestFirewall `json:"firewall,omitempty"`

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

	// node groups
	NodeGroups *ClusterCreationRequestNodeGroups `json:"node_groups,omitempty"`
}

ClusterCreationRequest cluster creation request

swagger:model ClusterCreationRequest

func (*ClusterCreationRequest) ContextValidate

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

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

func (*ClusterCreationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationRequest) Validate

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

Validate validates this cluster creation request

type ClusterCreationRequestFirewall

type ClusterCreationRequestFirewall struct {

	// rules
	Rules []*ClusterCreationRequestFirewallRulesItems0 `json:"rules"`
}

ClusterCreationRequestFirewall cluster creation request firewall

swagger:model ClusterCreationRequestFirewall

func (*ClusterCreationRequestFirewall) ContextValidate

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

ContextValidate validate this cluster creation request firewall based on the context it is used

func (*ClusterCreationRequestFirewall) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationRequestFirewall) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationRequestFirewall) Validate

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

Validate validates this cluster creation request firewall

type ClusterCreationRequestFirewallRulesItems0

type ClusterCreationRequestFirewallRulesItems0 struct {

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

	// sources
	Sources []string `json:"sources"`

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

ClusterCreationRequestFirewallRulesItems0 cluster creation request firewall rules items0

swagger:model ClusterCreationRequestFirewallRulesItems0

func (*ClusterCreationRequestFirewallRulesItems0) ContextValidate

ContextValidate validates this cluster creation request firewall rules items0 based on context it is used

func (*ClusterCreationRequestFirewallRulesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationRequestFirewallRulesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationRequestFirewallRulesItems0) Validate

Validate validates this cluster creation request firewall rules items0

type ClusterCreationRequestNodeGroups

type ClusterCreationRequestNodeGroups struct {

	// aws
	Aws []*NodeGroup `json:"aws"`

	// azure
	Azure []*NodeGroup `json:"azure"`

	// google
	Google []*NodeGroup `json:"google"`
}

ClusterCreationRequestNodeGroups cluster creation request node groups

swagger:model ClusterCreationRequestNodeGroups

func (*ClusterCreationRequestNodeGroups) ContextValidate

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

ContextValidate validate this cluster creation request node groups based on the context it is used

func (*ClusterCreationRequestNodeGroups) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationRequestNodeGroups) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationRequestNodeGroups) Validate

Validate validates this cluster creation request node groups

type ClusterCreationResponse

type ClusterCreationResponse struct {

	// aws
	Aws *ClusterCreationResponseAws `json:"aws,omitempty"`

	// cloud account id
	CloudAccountID string `json:"cloud_account_id,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// database
	Database *ClusterCreationResponseDatabase `json:"database,omitempty"`

	// firewall
	Firewall *ClusterCreationResponseFirewall `json:"firewall,omitempty"`

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

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

	// node groups
	NodeGroups *ClusterCreationResponseNodeGroups `json:"node_groups,omitempty"`

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

ClusterCreationResponse cluster creation response

swagger:model ClusterCreationResponse

func (*ClusterCreationResponse) ContextValidate

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

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

func (*ClusterCreationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationResponse) Validate

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

Validate validates this cluster creation response

type ClusterCreationResponseAws

type ClusterCreationResponseAws struct {

	// key pair
	KeyPair string `json:"key_pair,omitempty"`

	// role arn
	RoleArn string `json:"role_arn,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

ClusterCreationResponseAws cluster creation response aws

swagger:model ClusterCreationResponseAws

func (*ClusterCreationResponseAws) ContextValidate

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

ContextValidate validates this cluster creation response aws based on context it is used

func (*ClusterCreationResponseAws) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationResponseAws) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationResponseAws) Validate

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

Validate validates this cluster creation response aws

type ClusterCreationResponseDatabase

type ClusterCreationResponseDatabase struct {

	// components
	Components []string `json:"components"`

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

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

	// pg version
	PgVersion string `json:"pg_version,omitempty"`

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

	// scripts
	Scripts *DatabaseScripts `json:"scripts,omitempty"`

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

ClusterCreationResponseDatabase cluster creation response database

swagger:model ClusterCreationResponseDatabase

func (*ClusterCreationResponseDatabase) ContextValidate

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

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

func (*ClusterCreationResponseDatabase) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationResponseDatabase) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationResponseDatabase) Validate

Validate validates this cluster creation response database

type ClusterCreationResponseFirewall

type ClusterCreationResponseFirewall struct {

	// rules
	Rules []*ClusterCreationResponseFirewallRulesItems0 `json:"rules"`
}

ClusterCreationResponseFirewall cluster creation response firewall

swagger:model ClusterCreationResponseFirewall

func (*ClusterCreationResponseFirewall) ContextValidate

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

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

func (*ClusterCreationResponseFirewall) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationResponseFirewall) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationResponseFirewall) Validate

Validate validates this cluster creation response firewall

type ClusterCreationResponseFirewallRulesItems0

type ClusterCreationResponseFirewallRulesItems0 struct {

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

	// sources
	Sources []string `json:"sources"`

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

ClusterCreationResponseFirewallRulesItems0 cluster creation response firewall rules items0

swagger:model ClusterCreationResponseFirewallRulesItems0

func (*ClusterCreationResponseFirewallRulesItems0) ContextValidate

ContextValidate validates this cluster creation response firewall rules items0 based on context it is used

func (*ClusterCreationResponseFirewallRulesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationResponseFirewallRulesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationResponseFirewallRulesItems0) Validate

Validate validates this cluster creation response firewall rules items0

type ClusterCreationResponseNodeGroups

type ClusterCreationResponseNodeGroups struct {

	// aws
	Aws []*NodeGroup `json:"aws"`

	// azure
	Azure []*NodeGroup `json:"azure"`

	// google
	Google []*NodeGroup `json:"google"`
}

ClusterCreationResponseNodeGroups cluster creation response node groups

swagger:model ClusterCreationResponseNodeGroups

func (*ClusterCreationResponseNodeGroups) ContextValidate

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

ContextValidate validate this cluster creation response node groups based on the context it is used

func (*ClusterCreationResponseNodeGroups) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreationResponseNodeGroups) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreationResponseNodeGroups) Validate

Validate validates this cluster creation response node groups

type ClusterDetails

type ClusterDetails struct {

	// aws
	Aws *ClusterDetailsAws `json:"aws,omitempty"`

	// cloud account id
	CloudAccountID string `json:"cloud_account_id,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// database
	Database *ClusterDetailsDatabase `json:"database,omitempty"`

	// firewall
	Firewall *ClusterDetailsFirewall `json:"firewall,omitempty"`

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

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

	// node groups
	NodeGroups *ClusterDetailsNodeGroups `json:"node_groups,omitempty"`

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

ClusterDetails cluster details

swagger:model ClusterDetails

func (*ClusterDetails) ContextValidate

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

ContextValidate validate this cluster details based on the context it is used

func (*ClusterDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterDetails) Validate

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

Validate validates this cluster details

type ClusterDetailsAws

type ClusterDetailsAws struct {

	// key pair
	KeyPair string `json:"key_pair,omitempty"`

	// role arn
	RoleArn string `json:"role_arn,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

ClusterDetailsAws cluster details aws

swagger:model ClusterDetailsAws

func (*ClusterDetailsAws) ContextValidate

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

ContextValidate validates this cluster details aws based on context it is used

func (*ClusterDetailsAws) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterDetailsAws) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterDetailsAws) Validate

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

Validate validates this cluster details aws

type ClusterDetailsDatabase

type ClusterDetailsDatabase struct {

	// components
	Components []string `json:"components"`

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

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

	// pg version
	PgVersion string `json:"pg_version,omitempty"`

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

	// scripts
	Scripts *DatabaseScripts `json:"scripts,omitempty"`

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

ClusterDetailsDatabase cluster details database

swagger:model ClusterDetailsDatabase

func (*ClusterDetailsDatabase) ContextValidate

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

ContextValidate validate this cluster details database based on the context it is used

func (*ClusterDetailsDatabase) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterDetailsDatabase) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterDetailsDatabase) Validate

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

Validate validates this cluster details database

type ClusterDetailsFirewall

type ClusterDetailsFirewall struct {

	// rules
	Rules []*ClusterDetailsFirewallRulesItems0 `json:"rules"`
}

ClusterDetailsFirewall cluster details firewall

swagger:model ClusterDetailsFirewall

func (*ClusterDetailsFirewall) ContextValidate

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

ContextValidate validate this cluster details firewall based on the context it is used

func (*ClusterDetailsFirewall) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterDetailsFirewall) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterDetailsFirewall) Validate

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

Validate validates this cluster details firewall

type ClusterDetailsFirewallRulesItems0

type ClusterDetailsFirewallRulesItems0 struct {

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

	// sources
	Sources []string `json:"sources"`

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

ClusterDetailsFirewallRulesItems0 cluster details firewall rules items0

swagger:model ClusterDetailsFirewallRulesItems0

func (*ClusterDetailsFirewallRulesItems0) ContextValidate

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

ContextValidate validates this cluster details firewall rules items0 based on context it is used

func (*ClusterDetailsFirewallRulesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterDetailsFirewallRulesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterDetailsFirewallRulesItems0) Validate

Validate validates this cluster details firewall rules items0

type ClusterDetailsNodeGroups

type ClusterDetailsNodeGroups struct {

	// aws
	Aws []*NodeGroup `json:"aws"`

	// azure
	Azure []*NodeGroup `json:"azure"`

	// google
	Google []*NodeGroup `json:"google"`
}

ClusterDetailsNodeGroups cluster details node groups

swagger:model ClusterDetailsNodeGroups

func (*ClusterDetailsNodeGroups) ContextValidate

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

ContextValidate validate this cluster details node groups based on the context it is used

func (*ClusterDetailsNodeGroups) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterDetailsNodeGroups) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterDetailsNodeGroups) Validate

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

Validate validates this cluster details node groups

type Database

type Database struct {

	// cluster id
	// Format: uuid
	ClusterID strfmt.UUID `json:"cluster_id,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

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

	// nodes
	Nodes []*Node `json:"nodes"`

	// options
	Options []string `json:"options"`

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

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Database database

swagger:model Database

func (*Database) ContextValidate

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

ContextValidate validate this database based on the context it is used

func (*Database) MarshalBinary

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

MarshalBinary interface implementation

func (*Database) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Database) Validate

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

Validate validates this database

type DatabaseCreationRequest

type DatabaseCreationRequest struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

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

	// options
	Options []string `json:"options"`
}

DatabaseCreationRequest database creation request

swagger:model DatabaseCreationRequest

func (*DatabaseCreationRequest) ContextValidate

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

ContextValidate validates this database creation request based on context it is used

func (*DatabaseCreationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseCreationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseCreationRequest) Validate

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

Validate validates this database creation request

type DatabaseCreationResponse

type DatabaseCreationResponse struct {

	// cluster id
	// Format: uuid
	ClusterID strfmt.UUID `json:"cluster_id,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

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

	// nodes
	Nodes []*Node `json:"nodes"`

	// options
	Options []string `json:"options"`

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

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

DatabaseCreationResponse database creation response

swagger:model DatabaseCreationResponse

func (*DatabaseCreationResponse) ContextValidate

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

ContextValidate validate this database creation response based on the context it is used

func (*DatabaseCreationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseCreationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseCreationResponse) Validate

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

Validate validates this database creation response

type DatabaseDetails

type DatabaseDetails struct {

	// cluster id
	// Format: uuid
	ClusterID strfmt.UUID `json:"cluster_id,omitempty"`

	// components
	Components []*DatabaseDetailsComponentsItems0 `json:"components"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

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

	// nodes
	Nodes []*Node `json:"nodes"`

	// options
	Options []string `json:"options"`

	// pg version
	PgVersion string `json:"pg_version,omitempty"`

	// roles
	Roles []*DatabaseDetailsRolesItems0 `json:"roles"`

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

	// storage used
	StorageUsed int64 `json:"storage_used,omitempty"`

	// tables
	Tables []*DatabaseDetailsTablesItems0 `json:"tables"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

DatabaseDetails database details

swagger:model DatabaseDetails

func (*DatabaseDetails) ContextValidate

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

ContextValidate validate this database details based on the context it is used

func (*DatabaseDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseDetails) Validate

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

Validate validates this database details

type DatabaseDetailsComponentsItems0

type DatabaseDetailsComponentsItems0 struct {

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

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

	// release date
	// Format: date
	ReleaseDate strfmt.Date `json:"release_date,omitempty"`

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

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

DatabaseDetailsComponentsItems0 database details components items0

swagger:model DatabaseDetailsComponentsItems0

func (*DatabaseDetailsComponentsItems0) ContextValidate

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

ContextValidate validates this database details components items0 based on context it is used

func (*DatabaseDetailsComponentsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseDetailsComponentsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseDetailsComponentsItems0) Validate

Validate validates this database details components items0

type DatabaseDetailsRolesItems0

type DatabaseDetailsRolesItems0 struct {

	// bypass rls
	BypassRls bool `json:"bypass_rls,omitempty"`

	// connection limit
	ConnectionLimit int64 `json:"connection_limit,omitempty"`

	// create db
	CreateDb bool `json:"create_db,omitempty"`

	// create role
	CreateRole bool `json:"create_role,omitempty"`

	// inherit
	Inherit bool `json:"inherit,omitempty"`

	// login
	Login bool `json:"login,omitempty"`

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

	// replication
	Replication bool `json:"replication,omitempty"`

	// superuser
	Superuser bool `json:"superuser,omitempty"`
}

DatabaseDetailsRolesItems0 database details roles items0

swagger:model DatabaseDetailsRolesItems0

func (*DatabaseDetailsRolesItems0) ContextValidate

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

ContextValidate validates this database details roles items0 based on context it is used

func (*DatabaseDetailsRolesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseDetailsRolesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseDetailsRolesItems0) Validate

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

Validate validates this database details roles items0

type DatabaseDetailsTablesItems0

type DatabaseDetailsTablesItems0 struct {

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

	// primary key
	PrimaryKey []string `json:"primary_key"`

	// replication sets
	ReplicationSets interface{} `json:"replication_sets,omitempty"`

	// schema
	Schema string `json:"schema,omitempty"`

	// status
	Status []*DatabaseDetailsTablesItems0StatusItems0 `json:"status"`
}

DatabaseDetailsTablesItems0 database details tables items0

swagger:model DatabaseDetailsTablesItems0

func (*DatabaseDetailsTablesItems0) ContextValidate

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

ContextValidate validate this database details tables items0 based on the context it is used

func (*DatabaseDetailsTablesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseDetailsTablesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseDetailsTablesItems0) Validate

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

Validate validates this database details tables items0

type DatabaseDetailsTablesItems0StatusItems0

type DatabaseDetailsTablesItems0StatusItems0 struct {

	// aligned
	Aligned bool `json:"aligned,omitempty"`

	// node name
	NodeName string `json:"node_name,omitempty"`

	// present
	Present bool `json:"present,omitempty"`

	// replicating
	Replicating bool `json:"replicating,omitempty"`
}

DatabaseDetailsTablesItems0StatusItems0 database details tables items0 status items0

swagger:model DatabaseDetailsTablesItems0StatusItems0

func (*DatabaseDetailsTablesItems0StatusItems0) ContextValidate

ContextValidate validates this database details tables items0 status items0 based on context it is used

func (*DatabaseDetailsTablesItems0StatusItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseDetailsTablesItems0StatusItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseDetailsTablesItems0StatusItems0) Validate

Validate validates this database details tables items0 status items0

type DatabaseScripts

type DatabaseScripts struct {

	// init
	Init string `json:"init,omitempty"`
}

DatabaseScripts database scripts

swagger:model DatabaseScripts

func (*DatabaseScripts) ContextValidate

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

ContextValidate validates this database scripts based on context it is used

func (*DatabaseScripts) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseScripts) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseScripts) Validate

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

Validate validates this database scripts

type Node

type Node struct {

	// connection
	Connection *NodeConnection `json:"connection,omitempty"`

	// location
	Location *NodeLocation `json:"location,omitempty"`

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

Node node

swagger:model Node

func (*Node) ContextValidate

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

ContextValidate validate this node based on the context it is used

func (*Node) MarshalBinary

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

MarshalBinary interface implementation

func (*Node) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Node) Validate

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

Validate validates this node

type NodeConnection

type NodeConnection struct {

	// database
	Database string `json:"database,omitempty"`

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

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

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

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

NodeConnection node connection

swagger:model NodeConnection

func (*NodeConnection) ContextValidate

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

ContextValidate validates this node connection based on context it is used

func (*NodeConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeConnection) Validate

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

Validate validates this node connection

type NodeGroup

type NodeGroup struct {

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

	// cidr
	Cidr string `json:"cidr,omitempty"`

	// instance type
	InstanceType string `json:"instance_type,omitempty"`

	// node location
	NodeLocation string `json:"node_location,omitempty"`

	// nodes
	Nodes []*NodeGroupNodesItems0 `json:"nodes"`

	// private subnets
	PrivateSubnets []string `json:"private_subnets"`

	// public subnets
	PublicSubnets []string `json:"public_subnets"`

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

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

	// volume size
	VolumeSize int64 `json:"volume_size,omitempty"`

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

NodeGroup node group

swagger:model NodeGroup

func (*NodeGroup) ContextValidate

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

ContextValidate validate this node group based on the context it is used

func (*NodeGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeGroup) Validate

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

Validate validates this node group

type NodeGroupNodesItems0

type NodeGroupNodesItems0 struct {

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

	// ip address
	IPAddress string `json:"ip_address,omitempty"`

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

NodeGroupNodesItems0 node group nodes items0

swagger:model NodeGroupNodesItems0

func (*NodeGroupNodesItems0) ContextValidate

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

ContextValidate validates this node group nodes items0 based on context it is used

func (*NodeGroupNodesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeGroupNodesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeGroupNodesItems0) Validate

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

Validate validates this node group nodes items0

type NodeLocation

type NodeLocation struct {

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

	// country
	Country string `json:"country,omitempty"`

	// latitude
	Latitude float64 `json:"latitude,omitempty"`

	// longitude
	Longitude float64 `json:"longitude,omitempty"`

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

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

	// region code
	RegionCode string `json:"region_code,omitempty"`
}

NodeLocation node location

swagger:model NodeLocation

func (*NodeLocation) ContextValidate

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

ContextValidate validates this node location based on context it is used

func (*NodeLocation) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeLocation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeLocation) Validate

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

Validate validates this node location

type ReplicationResponse

type ReplicationResponse struct {

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

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

ReplicationResponse replication response

swagger:model ReplicationResponse

func (*ReplicationResponse) ContextValidate

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

ContextValidate validates this replication response based on context it is used

func (*ReplicationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ReplicationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ReplicationResponse) Validate

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

Validate validates this replication response

Jump to

Keyboard shortcuts

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