models

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudBoundary20211221Cluster

type HashicorpCloudBoundary20211221Cluster struct {

	// boundary_version is the version of the HCP Boundary running in this cluster.
	BoundaryVersion string `json:"boundary_version,omitempty"`

	// cluster_id is the id of the cluster set by user on creation.
	ClusterID string `json:"cluster_id,omitempty"`

	// cluster_url is the generated vanity url.
	ClusterURL string `json:"cluster_url,omitempty"`

	// created_at is the timestamp of the cluster creation.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// state is the current state of the cluster.
	State *HashicorpCloudBoundary20211221ClusterState `json:"state,omitempty"`
}

HashicorpCloudBoundary20211221Cluster Cluster represents a single HCP Boundary cluster.

swagger:model hashicorp.cloud.boundary_20211221.Cluster

func (*HashicorpCloudBoundary20211221Cluster) ContextValidate added in v0.23.0

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

ContextValidate validate this hashicorp cloud boundary 20211221 cluster based on the context it is used

func (*HashicorpCloudBoundary20211221Cluster) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221Cluster) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221Cluster) Validate

Validate validates this hashicorp cloud boundary 20211221 cluster

type HashicorpCloudBoundary20211221ClusterState

type HashicorpCloudBoundary20211221ClusterState string

HashicorpCloudBoundary20211221ClusterState State is the state of the HCP Boundary cluster.

  • STATE_INVALID_UNSPECIFIED: STATE_INVALID_UNSPECIFIED is used when state is not valid.
  • STATE_PENDING: STATE_PENDING is used when cluster is waiting for creation.
  • STATE_CREATING: STATE_CREATING is used when cluster is creating.
  • STATE_RUNNING: STATE_RUNNING is used when cluster is up and running.
  • STATE_FAILED: STATE_FAILED is used when cluster failed to be created.
  • STATE_DELETING: STATE_DELETING is used when cluster received a deletion request.
  • STATE_DELETED: STATE_DELETED is used when cluster finished deleting.
  • STATE_UPDATING: STATE_UPDATING is used when cluster finished updating.

swagger:model hashicorp.cloud.boundary_20211221.Cluster.State

const (

	// HashicorpCloudBoundary20211221ClusterStateSTATEINVALIDUNSPECIFIED captures enum value "STATE_INVALID_UNSPECIFIED"
	HashicorpCloudBoundary20211221ClusterStateSTATEINVALIDUNSPECIFIED HashicorpCloudBoundary20211221ClusterState = "STATE_INVALID_UNSPECIFIED"

	// HashicorpCloudBoundary20211221ClusterStateSTATEPENDING captures enum value "STATE_PENDING"
	HashicorpCloudBoundary20211221ClusterStateSTATEPENDING HashicorpCloudBoundary20211221ClusterState = "STATE_PENDING"

	// HashicorpCloudBoundary20211221ClusterStateSTATECREATING captures enum value "STATE_CREATING"
	HashicorpCloudBoundary20211221ClusterStateSTATECREATING HashicorpCloudBoundary20211221ClusterState = "STATE_CREATING"

	// HashicorpCloudBoundary20211221ClusterStateSTATERUNNING captures enum value "STATE_RUNNING"
	HashicorpCloudBoundary20211221ClusterStateSTATERUNNING HashicorpCloudBoundary20211221ClusterState = "STATE_RUNNING"

	// HashicorpCloudBoundary20211221ClusterStateSTATEFAILED captures enum value "STATE_FAILED"
	HashicorpCloudBoundary20211221ClusterStateSTATEFAILED HashicorpCloudBoundary20211221ClusterState = "STATE_FAILED"

	// HashicorpCloudBoundary20211221ClusterStateSTATEDELETING captures enum value "STATE_DELETING"
	HashicorpCloudBoundary20211221ClusterStateSTATEDELETING HashicorpCloudBoundary20211221ClusterState = "STATE_DELETING"

	// HashicorpCloudBoundary20211221ClusterStateSTATEDELETED captures enum value "STATE_DELETED"
	HashicorpCloudBoundary20211221ClusterStateSTATEDELETED HashicorpCloudBoundary20211221ClusterState = "STATE_DELETED"

	// HashicorpCloudBoundary20211221ClusterStateSTATEUPDATING captures enum value "STATE_UPDATING"
	HashicorpCloudBoundary20211221ClusterStateSTATEUPDATING HashicorpCloudBoundary20211221ClusterState = "STATE_UPDATING"
)

func (HashicorpCloudBoundary20211221ClusterState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud boundary 20211221 cluster state based on context it is used

func (HashicorpCloudBoundary20211221ClusterState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudBoundary20211221ClusterState.

func (HashicorpCloudBoundary20211221ClusterState) Validate

Validate validates this hashicorp cloud boundary 20211221 cluster state

type HashicorpCloudBoundary20211221CreateRequest

type HashicorpCloudBoundary20211221CreateRequest struct {

	// cluster_id is the id of the cluster set by user on creation.
	ClusterID string `json:"cluster_id,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// password is the initial password to use to setup initial login
	Password string `json:"password,omitempty"`

	// username is the admin username to setup for initial login
	Username string `json:"username,omitempty"`
}

HashicorpCloudBoundary20211221CreateRequest CreateRequest is a request to create a single HCP Boundary cluster.

swagger:model hashicorp.cloud.boundary_20211221.CreateRequest

func (*HashicorpCloudBoundary20211221CreateRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud boundary 20211221 create request based on the context it is used

func (*HashicorpCloudBoundary20211221CreateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221CreateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221CreateRequest) Validate

Validate validates this hashicorp cloud boundary 20211221 create request

type HashicorpCloudBoundary20211221CreateResponse

type HashicorpCloudBoundary20211221CreateResponse struct {

	// cluster_id is the ID of the Boundary cluster that users set on creation.
	ClusterID string `json:"cluster_id,omitempty"`

	// cluster_url is the generated vanity url.
	ClusterURL string `json:"cluster_url,omitempty"`

	// operation tracks the asynchronous creation of the Boundary cluster.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudBoundary20211221CreateResponse CreateResponse is a response on cluster creation.

swagger:model hashicorp.cloud.boundary_20211221.CreateResponse

func (*HashicorpCloudBoundary20211221CreateResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud boundary 20211221 create response based on the context it is used

func (*HashicorpCloudBoundary20211221CreateResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221CreateResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221CreateResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 create response

type HashicorpCloudBoundary20211221DeleteResponse

type HashicorpCloudBoundary20211221DeleteResponse struct {

	// operation tracks the asynchronous creation of the Boundary cluster.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudBoundary20211221DeleteResponse DeleteResponse is a response from cluster deletion.

swagger:model hashicorp.cloud.boundary_20211221.DeleteResponse

func (*HashicorpCloudBoundary20211221DeleteResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud boundary 20211221 delete response based on the context it is used

func (*HashicorpCloudBoundary20211221DeleteResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221DeleteResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221DeleteResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 delete response

type HashicorpCloudBoundary20211221GetResponse

type HashicorpCloudBoundary20211221GetResponse struct {

	// Cluster represents a single HCP Boundary cluster.
	Cluster *HashicorpCloudBoundary20211221Cluster `json:"cluster,omitempty"`
}

HashicorpCloudBoundary20211221GetResponse GetResponse is a response from getting an existing cluster.

swagger:model hashicorp.cloud.boundary_20211221.GetResponse

func (*HashicorpCloudBoundary20211221GetResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud boundary 20211221 get response based on the context it is used

func (*HashicorpCloudBoundary20211221GetResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221GetResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221GetResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 get response

type HashicorpCloudBoundary20211221ListResponse

type HashicorpCloudBoundary20211221ListResponse struct {

	// Clusters are the retrieved Boundary clusters.
	Clusters []*HashicorpCloudBoundary20211221Cluster `json:"clusters"`

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudBoundary20211221ListResponse ListResponse is a response of the list request.

swagger:model hashicorp.cloud.boundary_20211221.ListResponse

func (*HashicorpCloudBoundary20211221ListResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud boundary 20211221 list response based on the context it is used

func (*HashicorpCloudBoundary20211221ListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221ListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221ListResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 list response

type HashicorpCloudBoundary20211221Session

type HashicorpCloudBoundary20211221Session struct {

	// id is the ID of the Session.
	ID string `json:"id,omitempty"`

	// status is the current status of this session.
	Status string `json:"status,omitempty"`

	// type is the type of the Session (e.g. tcp).
	Type string `json:"type,omitempty"`
}

HashicorpCloudBoundary20211221Session Session represents single Boundary session.

swagger:model hashicorp.cloud.boundary_20211221.Session

func (*HashicorpCloudBoundary20211221Session) ContextValidate added in v0.23.0

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

ContextValidate validates this hashicorp cloud boundary 20211221 session based on context it is used

func (*HashicorpCloudBoundary20211221Session) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221Session) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221Session) Validate

Validate validates this hashicorp cloud boundary 20211221 session

type HashicorpCloudBoundary20211221SessionsResponse

type HashicorpCloudBoundary20211221SessionsResponse struct {

	// Sessions are the retrieved list of Boundary sessions.
	Sessions []*HashicorpCloudBoundary20211221Session `json:"sessions"`
}

HashicorpCloudBoundary20211221SessionsResponse SessionsResponse is a response from getting an existing cluster.

swagger:model hashicorp.cloud.boundary_20211221.SessionsResponse

func (*HashicorpCloudBoundary20211221SessionsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud boundary 20211221 sessions response based on the context it is used

func (*HashicorpCloudBoundary20211221SessionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221SessionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221SessionsResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 sessions response

Jump to

Keyboard shortcuts

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