global_network_manager_service

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 13 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentBootstrapConfigDefault

type AgentBootstrapConfigDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

AgentBootstrapConfigDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewAgentBootstrapConfigDefault

func NewAgentBootstrapConfigDefault(code int) *AgentBootstrapConfigDefault

NewAgentBootstrapConfigDefault creates a AgentBootstrapConfigDefault with default headers values

func (*AgentBootstrapConfigDefault) Code

func (o *AgentBootstrapConfigDefault) Code() int

Code gets the status code for the agent bootstrap config default response

func (*AgentBootstrapConfigDefault) Error

func (*AgentBootstrapConfigDefault) GetPayload

func (*AgentBootstrapConfigDefault) IsClientError

func (o *AgentBootstrapConfigDefault) IsClientError() bool

IsClientError returns true when this agent bootstrap config default response has a 4xx status code

func (*AgentBootstrapConfigDefault) IsCode

func (o *AgentBootstrapConfigDefault) IsCode(code int) bool

IsCode returns true when this agent bootstrap config default response a status code equal to that given

func (*AgentBootstrapConfigDefault) IsRedirect

func (o *AgentBootstrapConfigDefault) IsRedirect() bool

IsRedirect returns true when this agent bootstrap config default response has a 3xx status code

func (*AgentBootstrapConfigDefault) IsServerError

func (o *AgentBootstrapConfigDefault) IsServerError() bool

IsServerError returns true when this agent bootstrap config default response has a 5xx status code

func (*AgentBootstrapConfigDefault) IsSuccess

func (o *AgentBootstrapConfigDefault) IsSuccess() bool

IsSuccess returns true when this agent bootstrap config default response has a 2xx status code

func (*AgentBootstrapConfigDefault) String

func (o *AgentBootstrapConfigDefault) String() string

type AgentBootstrapConfigOK

type AgentBootstrapConfigOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse
}

AgentBootstrapConfigOK describes a response with status code 200, with default header values.

A successful response.

func NewAgentBootstrapConfigOK

func NewAgentBootstrapConfigOK() *AgentBootstrapConfigOK

NewAgentBootstrapConfigOK creates a AgentBootstrapConfigOK with default headers values

func (*AgentBootstrapConfigOK) Code added in v0.69.0

func (o *AgentBootstrapConfigOK) Code() int

Code gets the status code for the agent bootstrap config o k response

func (*AgentBootstrapConfigOK) Error

func (o *AgentBootstrapConfigOK) Error() string

func (*AgentBootstrapConfigOK) IsClientError

func (o *AgentBootstrapConfigOK) IsClientError() bool

IsClientError returns true when this agent bootstrap config o k response has a 4xx status code

func (*AgentBootstrapConfigOK) IsCode

func (o *AgentBootstrapConfigOK) IsCode(code int) bool

IsCode returns true when this agent bootstrap config o k response a status code equal to that given

func (*AgentBootstrapConfigOK) IsRedirect

func (o *AgentBootstrapConfigOK) IsRedirect() bool

IsRedirect returns true when this agent bootstrap config o k response has a 3xx status code

func (*AgentBootstrapConfigOK) IsServerError

func (o *AgentBootstrapConfigOK) IsServerError() bool

IsServerError returns true when this agent bootstrap config o k response has a 5xx status code

func (*AgentBootstrapConfigOK) IsSuccess

func (o *AgentBootstrapConfigOK) IsSuccess() bool

IsSuccess returns true when this agent bootstrap config o k response has a 2xx status code

func (*AgentBootstrapConfigOK) String

func (o *AgentBootstrapConfigOK) String() string

type AgentBootstrapConfigParams

type AgentBootstrapConfigParams struct {

	/* ConsulVersion.

	   Consul version of the cluster
	*/
	ConsulVersion *string

	// ID.
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AgentBootstrapConfigParams contains all the parameters to send to the API endpoint

for the agent bootstrap config operation.

Typically these are written to a http.Request.

func NewAgentBootstrapConfigParams

func NewAgentBootstrapConfigParams() *AgentBootstrapConfigParams

NewAgentBootstrapConfigParams creates a new AgentBootstrapConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAgentBootstrapConfigParamsWithContext

func NewAgentBootstrapConfigParamsWithContext(ctx context.Context) *AgentBootstrapConfigParams

NewAgentBootstrapConfigParamsWithContext creates a new AgentBootstrapConfigParams object with the ability to set a context for a request.

func NewAgentBootstrapConfigParamsWithHTTPClient

func NewAgentBootstrapConfigParamsWithHTTPClient(client *http.Client) *AgentBootstrapConfigParams

NewAgentBootstrapConfigParamsWithHTTPClient creates a new AgentBootstrapConfigParams object with the ability to set a custom HTTPClient for a request.

func NewAgentBootstrapConfigParamsWithTimeout

func NewAgentBootstrapConfigParamsWithTimeout(timeout time.Duration) *AgentBootstrapConfigParams

NewAgentBootstrapConfigParamsWithTimeout creates a new AgentBootstrapConfigParams object with the ability to set a timeout on a request.

func (*AgentBootstrapConfigParams) SetConsulVersion added in v0.45.0

func (o *AgentBootstrapConfigParams) SetConsulVersion(consulVersion *string)

SetConsulVersion adds the consulVersion to the agent bootstrap config params

func (*AgentBootstrapConfigParams) SetContext

func (o *AgentBootstrapConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the agent bootstrap config params

func (*AgentBootstrapConfigParams) SetDefaults

func (o *AgentBootstrapConfigParams) SetDefaults()

SetDefaults hydrates default values in the agent bootstrap config params (not the query body).

All values with no default are reset to their zero value.

func (*AgentBootstrapConfigParams) SetHTTPClient

func (o *AgentBootstrapConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the agent bootstrap config params

func (*AgentBootstrapConfigParams) SetID

func (o *AgentBootstrapConfigParams) SetID(id string)

SetID adds the id to the agent bootstrap config params

func (*AgentBootstrapConfigParams) SetLocationOrganizationID

func (o *AgentBootstrapConfigParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the agent bootstrap config params

func (*AgentBootstrapConfigParams) SetLocationProjectID

func (o *AgentBootstrapConfigParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the agent bootstrap config params

func (*AgentBootstrapConfigParams) SetLocationRegionProvider

func (o *AgentBootstrapConfigParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the agent bootstrap config params

func (*AgentBootstrapConfigParams) SetLocationRegionRegion

func (o *AgentBootstrapConfigParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the agent bootstrap config params

func (*AgentBootstrapConfigParams) SetTimeout

func (o *AgentBootstrapConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithConsulVersion added in v0.45.0

func (o *AgentBootstrapConfigParams) WithConsulVersion(consulVersion *string) *AgentBootstrapConfigParams

WithConsulVersion adds the consulVersion to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithContext

WithContext adds the context to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithDefaults

WithDefaults hydrates default values in the agent bootstrap config params (not the query body).

All values with no default are reset to their zero value.

func (*AgentBootstrapConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithID

WithID adds the id to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithLocationOrganizationID

func (o *AgentBootstrapConfigParams) WithLocationOrganizationID(locationOrganizationID string) *AgentBootstrapConfigParams

WithLocationOrganizationID adds the locationOrganizationID to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithLocationProjectID

func (o *AgentBootstrapConfigParams) WithLocationProjectID(locationProjectID string) *AgentBootstrapConfigParams

WithLocationProjectID adds the locationProjectID to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithLocationRegionProvider

func (o *AgentBootstrapConfigParams) WithLocationRegionProvider(locationRegionProvider *string) *AgentBootstrapConfigParams

WithLocationRegionProvider adds the locationRegionProvider to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithLocationRegionRegion

func (o *AgentBootstrapConfigParams) WithLocationRegionRegion(locationRegionRegion *string) *AgentBootstrapConfigParams

WithLocationRegionRegion adds the locationRegionRegion to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WithTimeout

WithTimeout adds the timeout to the agent bootstrap config params

func (*AgentBootstrapConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AgentBootstrapConfigReader

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

AgentBootstrapConfigReader is a Reader for the AgentBootstrapConfig structure.

func (*AgentBootstrapConfigReader) ReadResponse

func (o *AgentBootstrapConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AgentDiscoverBody added in v0.40.0

type AgentDiscoverBody struct {

	// location
	Location *AgentDiscoverParamsBodyLocation `json:"location,omitempty"`
}

AgentDiscoverBody agent discover body swagger:model AgentDiscoverBody

func (*AgentDiscoverBody) ContextValidate added in v0.40.0

func (o *AgentDiscoverBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this agent discover body based on the context it is used

func (*AgentDiscoverBody) MarshalBinary added in v0.40.0

func (o *AgentDiscoverBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AgentDiscoverBody) UnmarshalBinary added in v0.40.0

func (o *AgentDiscoverBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AgentDiscoverBody) Validate added in v0.40.0

func (o *AgentDiscoverBody) Validate(formats strfmt.Registry) error

Validate validates this agent discover body

type AgentDiscoverDefault

type AgentDiscoverDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

AgentDiscoverDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewAgentDiscoverDefault

func NewAgentDiscoverDefault(code int) *AgentDiscoverDefault

NewAgentDiscoverDefault creates a AgentDiscoverDefault with default headers values

func (*AgentDiscoverDefault) Code

func (o *AgentDiscoverDefault) Code() int

Code gets the status code for the agent discover default response

func (*AgentDiscoverDefault) Error

func (o *AgentDiscoverDefault) Error() string

func (*AgentDiscoverDefault) GetPayload

func (o *AgentDiscoverDefault) GetPayload() *cloud.GoogleRPCStatus

func (*AgentDiscoverDefault) IsClientError

func (o *AgentDiscoverDefault) IsClientError() bool

IsClientError returns true when this agent discover default response has a 4xx status code

func (*AgentDiscoverDefault) IsCode

func (o *AgentDiscoverDefault) IsCode(code int) bool

IsCode returns true when this agent discover default response a status code equal to that given

func (*AgentDiscoverDefault) IsRedirect

func (o *AgentDiscoverDefault) IsRedirect() bool

IsRedirect returns true when this agent discover default response has a 3xx status code

func (*AgentDiscoverDefault) IsServerError

func (o *AgentDiscoverDefault) IsServerError() bool

IsServerError returns true when this agent discover default response has a 5xx status code

func (*AgentDiscoverDefault) IsSuccess

func (o *AgentDiscoverDefault) IsSuccess() bool

IsSuccess returns true when this agent discover default response has a 2xx status code

func (*AgentDiscoverDefault) String

func (o *AgentDiscoverDefault) String() string

type AgentDiscoverOK

AgentDiscoverOK describes a response with status code 200, with default header values.

A successful response.

func NewAgentDiscoverOK

func NewAgentDiscoverOK() *AgentDiscoverOK

NewAgentDiscoverOK creates a AgentDiscoverOK with default headers values

func (*AgentDiscoverOK) Code added in v0.69.0

func (o *AgentDiscoverOK) Code() int

Code gets the status code for the agent discover o k response

func (*AgentDiscoverOK) Error

func (o *AgentDiscoverOK) Error() string

func (*AgentDiscoverOK) IsClientError

func (o *AgentDiscoverOK) IsClientError() bool

IsClientError returns true when this agent discover o k response has a 4xx status code

func (*AgentDiscoverOK) IsCode

func (o *AgentDiscoverOK) IsCode(code int) bool

IsCode returns true when this agent discover o k response a status code equal to that given

func (*AgentDiscoverOK) IsRedirect

func (o *AgentDiscoverOK) IsRedirect() bool

IsRedirect returns true when this agent discover o k response has a 3xx status code

func (*AgentDiscoverOK) IsServerError

func (o *AgentDiscoverOK) IsServerError() bool

IsServerError returns true when this agent discover o k response has a 5xx status code

func (*AgentDiscoverOK) IsSuccess

func (o *AgentDiscoverOK) IsSuccess() bool

IsSuccess returns true when this agent discover o k response has a 2xx status code

func (*AgentDiscoverOK) String

func (o *AgentDiscoverOK) String() string

type AgentDiscoverParams

type AgentDiscoverParams struct {

	// Body.
	Body AgentDiscoverBody

	/* ID.

	   id is the name of the cluster
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AgentDiscoverParams contains all the parameters to send to the API endpoint

for the agent discover operation.

Typically these are written to a http.Request.

func NewAgentDiscoverParams

func NewAgentDiscoverParams() *AgentDiscoverParams

NewAgentDiscoverParams creates a new AgentDiscoverParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAgentDiscoverParamsWithContext

func NewAgentDiscoverParamsWithContext(ctx context.Context) *AgentDiscoverParams

NewAgentDiscoverParamsWithContext creates a new AgentDiscoverParams object with the ability to set a context for a request.

func NewAgentDiscoverParamsWithHTTPClient

func NewAgentDiscoverParamsWithHTTPClient(client *http.Client) *AgentDiscoverParams

NewAgentDiscoverParamsWithHTTPClient creates a new AgentDiscoverParams object with the ability to set a custom HTTPClient for a request.

func NewAgentDiscoverParamsWithTimeout

func NewAgentDiscoverParamsWithTimeout(timeout time.Duration) *AgentDiscoverParams

NewAgentDiscoverParamsWithTimeout creates a new AgentDiscoverParams object with the ability to set a timeout on a request.

func (*AgentDiscoverParams) SetBody

func (o *AgentDiscoverParams) SetBody(body AgentDiscoverBody)

SetBody adds the body to the agent discover params

func (*AgentDiscoverParams) SetContext

func (o *AgentDiscoverParams) SetContext(ctx context.Context)

SetContext adds the context to the agent discover params

func (*AgentDiscoverParams) SetDefaults

func (o *AgentDiscoverParams) SetDefaults()

SetDefaults hydrates default values in the agent discover params (not the query body).

All values with no default are reset to their zero value.

func (*AgentDiscoverParams) SetHTTPClient

func (o *AgentDiscoverParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the agent discover params

func (*AgentDiscoverParams) SetID

func (o *AgentDiscoverParams) SetID(id string)

SetID adds the id to the agent discover params

func (*AgentDiscoverParams) SetLocationOrganizationID

func (o *AgentDiscoverParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the agent discover params

func (*AgentDiscoverParams) SetLocationProjectID

func (o *AgentDiscoverParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the agent discover params

func (*AgentDiscoverParams) SetTimeout

func (o *AgentDiscoverParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the agent discover params

func (*AgentDiscoverParams) WithBody

WithBody adds the body to the agent discover params

func (*AgentDiscoverParams) WithContext

WithContext adds the context to the agent discover params

func (*AgentDiscoverParams) WithDefaults

func (o *AgentDiscoverParams) WithDefaults() *AgentDiscoverParams

WithDefaults hydrates default values in the agent discover params (not the query body).

All values with no default are reset to their zero value.

func (*AgentDiscoverParams) WithHTTPClient

func (o *AgentDiscoverParams) WithHTTPClient(client *http.Client) *AgentDiscoverParams

WithHTTPClient adds the HTTPClient to the agent discover params

func (*AgentDiscoverParams) WithID

WithID adds the id to the agent discover params

func (*AgentDiscoverParams) WithLocationOrganizationID

func (o *AgentDiscoverParams) WithLocationOrganizationID(locationOrganizationID string) *AgentDiscoverParams

WithLocationOrganizationID adds the locationOrganizationID to the agent discover params

func (*AgentDiscoverParams) WithLocationProjectID

func (o *AgentDiscoverParams) WithLocationProjectID(locationProjectID string) *AgentDiscoverParams

WithLocationProjectID adds the locationProjectID to the agent discover params

func (*AgentDiscoverParams) WithTimeout

func (o *AgentDiscoverParams) WithTimeout(timeout time.Duration) *AgentDiscoverParams

WithTimeout adds the timeout to the agent discover params

func (*AgentDiscoverParams) WriteToRequest

func (o *AgentDiscoverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AgentDiscoverParamsBodyLocation added in v0.40.0

type AgentDiscoverParamsBodyLocation struct {

	// region is the region that the resource is located in. It is
	// optional if the object being referenced is a global object.
	Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"`
}

AgentDiscoverParamsBodyLocation location is the project and organization of the cluster with an optional provider and region swagger:model AgentDiscoverParamsBodyLocation

func (*AgentDiscoverParamsBodyLocation) ContextValidate added in v0.40.0

func (o *AgentDiscoverParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this agent discover params body location based on the context it is used

func (*AgentDiscoverParamsBodyLocation) MarshalBinary added in v0.40.0

func (o *AgentDiscoverParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AgentDiscoverParamsBodyLocation) UnmarshalBinary added in v0.40.0

func (o *AgentDiscoverParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AgentDiscoverParamsBodyLocation) Validate added in v0.40.0

Validate validates this agent discover params body location

type AgentDiscoverReader

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

AgentDiscoverReader is a Reader for the AgentDiscover structure.

func (*AgentDiscoverReader) ReadResponse

func (o *AgentDiscoverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AgentPushServerStateBody added in v0.40.0

type AgentPushServerStateBody struct {

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

	// server_state is the internal consul node information
	ServerState *models.HashicorpCloudGlobalNetworkManager20220215ServerState `json:"server_state,omitempty"`
}

AgentPushServerStateBody agent push server state body swagger:model AgentPushServerStateBody

func (*AgentPushServerStateBody) ContextValidate added in v0.40.0

func (o *AgentPushServerStateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this agent push server state body based on the context it is used

func (*AgentPushServerStateBody) MarshalBinary added in v0.40.0

func (o *AgentPushServerStateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AgentPushServerStateBody) UnmarshalBinary added in v0.40.0

func (o *AgentPushServerStateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AgentPushServerStateBody) Validate added in v0.40.0

func (o *AgentPushServerStateBody) Validate(formats strfmt.Registry) error

Validate validates this agent push server state body

type AgentPushServerStateDefault

type AgentPushServerStateDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

AgentPushServerStateDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewAgentPushServerStateDefault

func NewAgentPushServerStateDefault(code int) *AgentPushServerStateDefault

NewAgentPushServerStateDefault creates a AgentPushServerStateDefault with default headers values

func (*AgentPushServerStateDefault) Code

func (o *AgentPushServerStateDefault) Code() int

Code gets the status code for the agent push server state default response

func (*AgentPushServerStateDefault) Error

func (*AgentPushServerStateDefault) GetPayload

func (*AgentPushServerStateDefault) IsClientError

func (o *AgentPushServerStateDefault) IsClientError() bool

IsClientError returns true when this agent push server state default response has a 4xx status code

func (*AgentPushServerStateDefault) IsCode

func (o *AgentPushServerStateDefault) IsCode(code int) bool

IsCode returns true when this agent push server state default response a status code equal to that given

func (*AgentPushServerStateDefault) IsRedirect

func (o *AgentPushServerStateDefault) IsRedirect() bool

IsRedirect returns true when this agent push server state default response has a 3xx status code

func (*AgentPushServerStateDefault) IsServerError

func (o *AgentPushServerStateDefault) IsServerError() bool

IsServerError returns true when this agent push server state default response has a 5xx status code

func (*AgentPushServerStateDefault) IsSuccess

func (o *AgentPushServerStateDefault) IsSuccess() bool

IsSuccess returns true when this agent push server state default response has a 2xx status code

func (*AgentPushServerStateDefault) String

func (o *AgentPushServerStateDefault) String() string

type AgentPushServerStateOK

AgentPushServerStateOK describes a response with status code 200, with default header values.

A successful response.

func NewAgentPushServerStateOK

func NewAgentPushServerStateOK() *AgentPushServerStateOK

NewAgentPushServerStateOK creates a AgentPushServerStateOK with default headers values

func (*AgentPushServerStateOK) Code added in v0.69.0

func (o *AgentPushServerStateOK) Code() int

Code gets the status code for the agent push server state o k response

func (*AgentPushServerStateOK) Error

func (o *AgentPushServerStateOK) Error() string

func (*AgentPushServerStateOK) IsClientError

func (o *AgentPushServerStateOK) IsClientError() bool

IsClientError returns true when this agent push server state o k response has a 4xx status code

func (*AgentPushServerStateOK) IsCode

func (o *AgentPushServerStateOK) IsCode(code int) bool

IsCode returns true when this agent push server state o k response a status code equal to that given

func (*AgentPushServerStateOK) IsRedirect

func (o *AgentPushServerStateOK) IsRedirect() bool

IsRedirect returns true when this agent push server state o k response has a 3xx status code

func (*AgentPushServerStateOK) IsServerError

func (o *AgentPushServerStateOK) IsServerError() bool

IsServerError returns true when this agent push server state o k response has a 5xx status code

func (*AgentPushServerStateOK) IsSuccess

func (o *AgentPushServerStateOK) IsSuccess() bool

IsSuccess returns true when this agent push server state o k response has a 2xx status code

func (*AgentPushServerStateOK) String

func (o *AgentPushServerStateOK) String() string

type AgentPushServerStateParams

type AgentPushServerStateParams struct {

	// Body.
	Body AgentPushServerStateBody

	/* ID.

	   id is the name of the cluster
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AgentPushServerStateParams contains all the parameters to send to the API endpoint

for the agent push server state operation.

Typically these are written to a http.Request.

func NewAgentPushServerStateParams

func NewAgentPushServerStateParams() *AgentPushServerStateParams

NewAgentPushServerStateParams creates a new AgentPushServerStateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAgentPushServerStateParamsWithContext

func NewAgentPushServerStateParamsWithContext(ctx context.Context) *AgentPushServerStateParams

NewAgentPushServerStateParamsWithContext creates a new AgentPushServerStateParams object with the ability to set a context for a request.

func NewAgentPushServerStateParamsWithHTTPClient

func NewAgentPushServerStateParamsWithHTTPClient(client *http.Client) *AgentPushServerStateParams

NewAgentPushServerStateParamsWithHTTPClient creates a new AgentPushServerStateParams object with the ability to set a custom HTTPClient for a request.

func NewAgentPushServerStateParamsWithTimeout

func NewAgentPushServerStateParamsWithTimeout(timeout time.Duration) *AgentPushServerStateParams

NewAgentPushServerStateParamsWithTimeout creates a new AgentPushServerStateParams object with the ability to set a timeout on a request.

func (*AgentPushServerStateParams) SetBody

SetBody adds the body to the agent push server state params

func (*AgentPushServerStateParams) SetContext

func (o *AgentPushServerStateParams) SetContext(ctx context.Context)

SetContext adds the context to the agent push server state params

func (*AgentPushServerStateParams) SetDefaults

func (o *AgentPushServerStateParams) SetDefaults()

SetDefaults hydrates default values in the agent push server state params (not the query body).

All values with no default are reset to their zero value.

func (*AgentPushServerStateParams) SetHTTPClient

func (o *AgentPushServerStateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the agent push server state params

func (*AgentPushServerStateParams) SetID

func (o *AgentPushServerStateParams) SetID(id string)

SetID adds the id to the agent push server state params

func (*AgentPushServerStateParams) SetLocationOrganizationID

func (o *AgentPushServerStateParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the agent push server state params

func (*AgentPushServerStateParams) SetLocationProjectID

func (o *AgentPushServerStateParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the agent push server state params

func (*AgentPushServerStateParams) SetTimeout

func (o *AgentPushServerStateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the agent push server state params

func (*AgentPushServerStateParams) WithBody

WithBody adds the body to the agent push server state params

func (*AgentPushServerStateParams) WithContext

WithContext adds the context to the agent push server state params

func (*AgentPushServerStateParams) WithDefaults

WithDefaults hydrates default values in the agent push server state params (not the query body).

All values with no default are reset to their zero value.

func (*AgentPushServerStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the agent push server state params

func (*AgentPushServerStateParams) WithID

WithID adds the id to the agent push server state params

func (*AgentPushServerStateParams) WithLocationOrganizationID

func (o *AgentPushServerStateParams) WithLocationOrganizationID(locationOrganizationID string) *AgentPushServerStateParams

WithLocationOrganizationID adds the locationOrganizationID to the agent push server state params

func (*AgentPushServerStateParams) WithLocationProjectID

func (o *AgentPushServerStateParams) WithLocationProjectID(locationProjectID string) *AgentPushServerStateParams

WithLocationProjectID adds the locationProjectID to the agent push server state params

func (*AgentPushServerStateParams) WithTimeout

WithTimeout adds the timeout to the agent push server state params

func (*AgentPushServerStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AgentPushServerStateParamsBodyLocation added in v0.40.0

type AgentPushServerStateParamsBodyLocation struct {

	// region is the region that the resource is located in. It is
	// optional if the object being referenced is a global object.
	Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"`
}

AgentPushServerStateParamsBodyLocation location is the project and organization of the cluster with an optional provider and region swagger:model AgentPushServerStateParamsBodyLocation

func (*AgentPushServerStateParamsBodyLocation) ContextValidate added in v0.40.0

ContextValidate validate this agent push server state params body location based on the context it is used

func (*AgentPushServerStateParamsBodyLocation) MarshalBinary added in v0.40.0

func (o *AgentPushServerStateParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AgentPushServerStateParamsBodyLocation) UnmarshalBinary added in v0.40.0

func (o *AgentPushServerStateParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AgentPushServerStateParamsBodyLocation) Validate added in v0.40.0

Validate validates this agent push server state params body location

type AgentPushServerStateReader

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

AgentPushServerStateReader is a Reader for the AgentPushServerState structure.

func (*AgentPushServerStateReader) ReadResponse

func (o *AgentPushServerStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

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

Client for global network manager service API

func (*Client) AgentBootstrapConfig

func (a *Client) AgentBootstrapConfig(params *AgentBootstrapConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentBootstrapConfigOK, error)

AgentBootstrapConfig agent bootstrap config API

func (*Client) AgentDiscover

func (a *Client) AgentDiscover(params *AgentDiscoverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentDiscoverOK, error)

AgentDiscover agent discover API

func (*Client) AgentPushServerState

func (a *Client) AgentPushServerState(params *AgentPushServerStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentPushServerStateOK, error)

AgentPushServerState agent push server state API

func (*Client) CreateCluster

func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterOK, error)

CreateCluster create cluster API

func (*Client) CreatePeeringConnections added in v0.40.0

func (a *Client) CreatePeeringConnections(params *CreatePeeringConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePeeringConnectionsOK, error)

CreatePeeringConnections create peering connections API

func (*Client) DeleteCluster

func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error)

DeleteCluster delete cluster API

func (*Client) DeletePeeringConnection added in v0.40.0

func (a *Client) DeletePeeringConnection(params *DeletePeeringConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePeeringConnectionOK, error)

DeletePeeringConnection delete peering connection API

func (*Client) GetAggregateServiceSummary

func (a *Client) GetAggregateServiceSummary(params *GetAggregateServiceSummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAggregateServiceSummaryOK, error)

GetAggregateServiceSummary gets aggregate service sumamry returns a summary of all the service instances callers should use the response s aggregate service summary by kind field that keys service summaries by service kind

func (*Client) GetCluster

func (a *Client) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterOK, error)

GetCluster get cluster API

func (*Client) GetClusterAPIInfo

func (a *Client) GetClusterAPIInfo(params *GetClusterAPIInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterAPIInfoOK, error)

GetClusterAPIInfo get cluster API info API

func (*Client) GetClusterManagementTokenDetails added in v0.62.0

func (a *Client) GetClusterManagementTokenDetails(params *GetClusterManagementTokenDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterManagementTokenDetailsOK, error)

GetClusterManagementTokenDetails get cluster management token details API

func (*Client) GetClusterSecrets

func (a *Client) GetClusterSecrets(params *GetClusterSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterSecretsOK, error)

GetClusterSecrets get cluster secrets API

func (*Client) GetObservabilitySecret added in v0.63.0

func (a *Client) GetObservabilitySecret(params *GetObservabilitySecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetObservabilitySecretOK, error)

GetObservabilitySecret get observability secret API

func (*Client) GetService added in v0.62.0

func (a *Client) GetService(params *GetServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceOK, error)

GetService get service API

func (*Client) GetServiceSummaries

func (a *Client) GetServiceSummaries(params *GetServiceSummariesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceSummariesOK, error)

GetServiceSummaries get service summaries API

func (*Client) GetTrial added in v0.62.0

func (a *Client) GetTrial(params *GetTrialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrialOK, error)

GetTrial get trial API

func (*Client) ListClusterPartitions added in v0.40.0

func (a *Client) ListClusterPartitions(params *ListClusterPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterPartitionsOK, error)

ListClusterPartitions lists cluster partitions returns the list of consul admin partitions for a given cluster

func (*Client) ListClusterServers

func (a *Client) ListClusterServers(params *ListClusterServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterServersOK, error)

ListClusterServers list cluster servers API

func (*Client) ListClusterServices added in v0.73.0

func (a *Client) ListClusterServices(params *ListClusterServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterServicesOK, error)

ListClusterServices list cluster services API

func (*Client) ListClusters

func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error)

ListClusters list clusters API

func (*Client) ListClustersWithAcceptorEligibility added in v0.40.0

func (a *Client) ListClustersWithAcceptorEligibility(params *ListClustersWithAcceptorEligibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersWithAcceptorEligibilityOK, error)

ListClustersWithAcceptorEligibility lists clusters with acceptor eligibility returns the list of clusters along with whether they are eligible to be the acceptor in a peering connection

func (*Client) ListClustersWithDialerEligibility added in v0.40.0

func (a *Client) ListClustersWithDialerEligibility(params *ListClustersWithDialerEligibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersWithDialerEligibilityOK, error)

ListClustersWithDialerEligibility lists clusters with dialer eligibility returns the list of clusters along with whether they are eligible to be the dialer in a peering connection

func (*Client) ListConsulVersions added in v0.40.0

func (a *Client) ListConsulVersions(params *ListConsulVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConsulVersionsOK, error)

ListConsulVersions list consul versions API

func (*Client) ListPeersByClusterPartition added in v0.40.0

func (a *Client) ListPeersByClusterPartition(params *ListPeersByClusterPartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPeersByClusterPartitionOK, error)

ListPeersByClusterPartition lists peers by cluster partition returns the list of cluster partitions each containing their respective lists of cluster peers if a cluster id is supplied this endpoint returns the list of cluster partitions only for the specified cluster

func (*Client) ListServiceInstances added in v0.62.0

func (a *Client) ListServiceInstances(params *ListServiceInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceInstancesOK, error)

ListServiceInstances list service instances API

func (*Client) ListServices added in v0.62.0

func (a *Client) ListServices(params *ListServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicesOK, error)

ListServices lists services returns a list of services for all clusters within an h c p project

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateCluster added in v0.62.0

func (a *Client) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClusterOK, error)

UpdateCluster update cluster API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AgentBootstrapConfig(params *AgentBootstrapConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentBootstrapConfigOK, error)

	AgentDiscover(params *AgentDiscoverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentDiscoverOK, error)

	AgentPushServerState(params *AgentPushServerStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentPushServerStateOK, error)

	CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterOK, error)

	CreatePeeringConnections(params *CreatePeeringConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePeeringConnectionsOK, error)

	DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error)

	DeletePeeringConnection(params *DeletePeeringConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePeeringConnectionOK, error)

	GetAggregateServiceSummary(params *GetAggregateServiceSummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAggregateServiceSummaryOK, error)

	GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterOK, error)

	GetClusterAPIInfo(params *GetClusterAPIInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterAPIInfoOK, error)

	GetClusterManagementTokenDetails(params *GetClusterManagementTokenDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterManagementTokenDetailsOK, error)

	GetClusterSecrets(params *GetClusterSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterSecretsOK, error)

	GetObservabilitySecret(params *GetObservabilitySecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetObservabilitySecretOK, error)

	GetService(params *GetServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceOK, error)

	GetServiceSummaries(params *GetServiceSummariesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceSummariesOK, error)

	GetTrial(params *GetTrialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTrialOK, error)

	ListClusterPartitions(params *ListClusterPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterPartitionsOK, error)

	ListClusterServers(params *ListClusterServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterServersOK, error)

	ListClusterServices(params *ListClusterServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterServicesOK, error)

	ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error)

	ListClustersWithAcceptorEligibility(params *ListClustersWithAcceptorEligibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersWithAcceptorEligibilityOK, error)

	ListClustersWithDialerEligibility(params *ListClustersWithDialerEligibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersWithDialerEligibilityOK, error)

	ListConsulVersions(params *ListConsulVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConsulVersionsOK, error)

	ListPeersByClusterPartition(params *ListPeersByClusterPartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPeersByClusterPartitionOK, error)

	ListServiceInstances(params *ListServiceInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceInstancesOK, error)

	ListServices(params *ListServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicesOK, error)

	UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClusterOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new global network manager service API client.

type CreateClusterBody added in v0.40.0

type CreateClusterBody struct {

	// consul_access_level is an optional field to configure the access level that
	// CCM will have to manage the Consul cluster. When unspecified, it will
	// default to a value depending on how other request parameters; most likely
	// GLOBAL_READ_WRITE, since GLOBAL_READ_ONLY needs to be specifically indicated
	ConsulAccessLevel *models.HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel `json:"consul_access_level,omitempty"`

	// existing_cluster indicates whether or not the cluster existed before creation (for linking)
	ExistingCluster bool `json:"existing_cluster,omitempty"`

	// id is the user settable GNM cluster name
	ID string `json:"id,omitempty"`

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

	// management_token is an optional field to set a user-submitted management
	// token that CCM will use manage the Consul cluster. When empty, we will
	// auto-generate a management token for the cluster
	ManagementToken string `json:"management_token,omitempty"`

	// source is the runtime type for the cluster
	Source *models.HashicorpCloudGlobalNetworkManager20220215ClusterSource `json:"source,omitempty"`
}

CreateClusterBody create cluster body swagger:model CreateClusterBody

func (*CreateClusterBody) ContextValidate added in v0.40.0

func (o *CreateClusterBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CreateClusterBody) MarshalBinary added in v0.40.0

func (o *CreateClusterBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterBody) UnmarshalBinary added in v0.40.0

func (o *CreateClusterBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterBody) Validate added in v0.40.0

func (o *CreateClusterBody) Validate(formats strfmt.Registry) error

Validate validates this create cluster body

type CreateClusterDefault

type CreateClusterDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

CreateClusterDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateClusterDefault

func NewCreateClusterDefault(code int) *CreateClusterDefault

NewCreateClusterDefault creates a CreateClusterDefault with default headers values

func (*CreateClusterDefault) Code

func (o *CreateClusterDefault) Code() int

Code gets the status code for the create cluster default response

func (*CreateClusterDefault) Error

func (o *CreateClusterDefault) Error() string

func (*CreateClusterDefault) GetPayload

func (o *CreateClusterDefault) GetPayload() *cloud.GoogleRPCStatus

func (*CreateClusterDefault) IsClientError

func (o *CreateClusterDefault) IsClientError() bool

IsClientError returns true when this create cluster default response has a 4xx status code

func (*CreateClusterDefault) IsCode

func (o *CreateClusterDefault) IsCode(code int) bool

IsCode returns true when this create cluster default response a status code equal to that given

func (*CreateClusterDefault) IsRedirect

func (o *CreateClusterDefault) IsRedirect() bool

IsRedirect returns true when this create cluster default response has a 3xx status code

func (*CreateClusterDefault) IsServerError

func (o *CreateClusterDefault) IsServerError() bool

IsServerError returns true when this create cluster default response has a 5xx status code

func (*CreateClusterDefault) IsSuccess

func (o *CreateClusterDefault) IsSuccess() bool

IsSuccess returns true when this create cluster default response has a 2xx status code

func (*CreateClusterDefault) String

func (o *CreateClusterDefault) String() string

type CreateClusterOK

CreateClusterOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateClusterOK

func NewCreateClusterOK() *CreateClusterOK

NewCreateClusterOK creates a CreateClusterOK with default headers values

func (*CreateClusterOK) Code added in v0.69.0

func (o *CreateClusterOK) Code() int

Code gets the status code for the create cluster o k response

func (*CreateClusterOK) Error

func (o *CreateClusterOK) Error() string

func (*CreateClusterOK) IsClientError

func (o *CreateClusterOK) IsClientError() bool

IsClientError returns true when this create cluster o k response has a 4xx status code

func (*CreateClusterOK) IsCode

func (o *CreateClusterOK) IsCode(code int) bool

IsCode returns true when this create cluster o k response a status code equal to that given

func (*CreateClusterOK) IsRedirect

func (o *CreateClusterOK) IsRedirect() bool

IsRedirect returns true when this create cluster o k response has a 3xx status code

func (*CreateClusterOK) IsServerError

func (o *CreateClusterOK) IsServerError() bool

IsServerError returns true when this create cluster o k response has a 5xx status code

func (*CreateClusterOK) IsSuccess

func (o *CreateClusterOK) IsSuccess() bool

IsSuccess returns true when this create cluster o k response has a 2xx status code

func (*CreateClusterOK) String

func (o *CreateClusterOK) String() string

type CreateClusterParams

type CreateClusterParams struct {

	// Body.
	Body CreateClusterBody

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateClusterParams contains all the parameters to send to the API endpoint

for the create cluster operation.

Typically these are written to a http.Request.

func NewCreateClusterParams

func NewCreateClusterParams() *CreateClusterParams

NewCreateClusterParams creates a new CreateClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateClusterParamsWithContext

func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams

NewCreateClusterParamsWithContext creates a new CreateClusterParams object with the ability to set a context for a request.

func NewCreateClusterParamsWithHTTPClient

func NewCreateClusterParamsWithHTTPClient(client *http.Client) *CreateClusterParams

NewCreateClusterParamsWithHTTPClient creates a new CreateClusterParams object with the ability to set a custom HTTPClient for a request.

func NewCreateClusterParamsWithTimeout

func NewCreateClusterParamsWithTimeout(timeout time.Duration) *CreateClusterParams

NewCreateClusterParamsWithTimeout creates a new CreateClusterParams object with the ability to set a timeout on a request.

func (*CreateClusterParams) SetBody

func (o *CreateClusterParams) SetBody(body CreateClusterBody)

SetBody adds the body to the create cluster params

func (*CreateClusterParams) SetContext

func (o *CreateClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the create cluster params

func (*CreateClusterParams) SetDefaults

func (o *CreateClusterParams) SetDefaults()

SetDefaults hydrates default values in the create cluster params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClusterParams) SetHTTPClient

func (o *CreateClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create cluster params

func (*CreateClusterParams) SetLocationOrganizationID

func (o *CreateClusterParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the create cluster params

func (*CreateClusterParams) SetLocationProjectID

func (o *CreateClusterParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the create cluster params

func (*CreateClusterParams) SetTimeout

func (o *CreateClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create cluster params

func (*CreateClusterParams) WithBody

WithBody adds the body to the create cluster params

func (*CreateClusterParams) WithContext

WithContext adds the context to the create cluster params

func (*CreateClusterParams) WithDefaults

func (o *CreateClusterParams) WithDefaults() *CreateClusterParams

WithDefaults hydrates default values in the create cluster params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClusterParams) WithHTTPClient

func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams

WithHTTPClient adds the HTTPClient to the create cluster params

func (*CreateClusterParams) WithLocationOrganizationID

func (o *CreateClusterParams) WithLocationOrganizationID(locationOrganizationID string) *CreateClusterParams

WithLocationOrganizationID adds the locationOrganizationID to the create cluster params

func (*CreateClusterParams) WithLocationProjectID

func (o *CreateClusterParams) WithLocationProjectID(locationProjectID string) *CreateClusterParams

WithLocationProjectID adds the locationProjectID to the create cluster params

func (*CreateClusterParams) WithTimeout

func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams

WithTimeout adds the timeout to the create cluster params

func (*CreateClusterParams) WriteToRequest

func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateClusterParamsBodyLocation added in v0.40.0

type CreateClusterParamsBodyLocation struct {

	// region is the region that the resource is located in. It is
	// optional if the object being referenced is a global object.
	Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"`
}

CreateClusterParamsBodyLocation location is the location of the cluster with an optional provider and region swagger:model CreateClusterParamsBodyLocation

func (*CreateClusterParamsBodyLocation) ContextValidate added in v0.40.0

func (o *CreateClusterParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create cluster params body location based on the context it is used

func (*CreateClusterParamsBodyLocation) MarshalBinary added in v0.40.0

func (o *CreateClusterParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterParamsBodyLocation) UnmarshalBinary added in v0.40.0

func (o *CreateClusterParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterParamsBodyLocation) Validate added in v0.40.0

Validate validates this create cluster params body location

type CreateClusterReader

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

CreateClusterReader is a Reader for the CreateCluster structure.

func (*CreateClusterReader) ReadResponse

func (o *CreateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreatePeeringConnectionsBody added in v0.40.0

type CreatePeeringConnectionsBody struct {

	// acceptor is the token generator for the peering start process. The peer_name and peer_meta
	// of this peer will be used by all the dialers to identify the connection to the acceptor. In the
	// future we may provide a field/fields on the Peer to allow overrides of the peer_name so that they can
	// overide each individual dialer to have a different peer_name or peer_meta.
	Acceptor *models.HashicorpCloudGlobalNetworkManager20220215Peer `json:"acceptor,omitempty"`

	// dialers will take the token generated by the acceptor and dial back to the acceptor to establish
	// the peering. The acceptor will use each dialer's peer_name and peer_meta when generating a token.
	// Likewise the dialer will take the acceptor's peer_name and peer_meta when dialing back to the cluster.
	Dialers []*models.HashicorpCloudGlobalNetworkManager20220215PeerDialer `json:"dialers"`

	// location
	Location *CreatePeeringConnectionsParamsBodyLocation `json:"location,omitempty"`
}

CreatePeeringConnectionsBody create peering connections body swagger:model CreatePeeringConnectionsBody

func (*CreatePeeringConnectionsBody) ContextValidate added in v0.40.0

func (o *CreatePeeringConnectionsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create peering connections body based on the context it is used

func (*CreatePeeringConnectionsBody) MarshalBinary added in v0.40.0

func (o *CreatePeeringConnectionsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePeeringConnectionsBody) UnmarshalBinary added in v0.40.0

func (o *CreatePeeringConnectionsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePeeringConnectionsBody) Validate added in v0.40.0

func (o *CreatePeeringConnectionsBody) Validate(formats strfmt.Registry) error

Validate validates this create peering connections body

type CreatePeeringConnectionsDefault added in v0.40.0

type CreatePeeringConnectionsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

CreatePeeringConnectionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreatePeeringConnectionsDefault added in v0.40.0

func NewCreatePeeringConnectionsDefault(code int) *CreatePeeringConnectionsDefault

NewCreatePeeringConnectionsDefault creates a CreatePeeringConnectionsDefault with default headers values

func (*CreatePeeringConnectionsDefault) Code added in v0.40.0

Code gets the status code for the create peering connections default response

func (*CreatePeeringConnectionsDefault) Error added in v0.40.0

func (*CreatePeeringConnectionsDefault) GetPayload added in v0.40.0

func (*CreatePeeringConnectionsDefault) IsClientError added in v0.40.0

func (o *CreatePeeringConnectionsDefault) IsClientError() bool

IsClientError returns true when this create peering connections default response has a 4xx status code

func (*CreatePeeringConnectionsDefault) IsCode added in v0.40.0

func (o *CreatePeeringConnectionsDefault) IsCode(code int) bool

IsCode returns true when this create peering connections default response a status code equal to that given

func (*CreatePeeringConnectionsDefault) IsRedirect added in v0.40.0

func (o *CreatePeeringConnectionsDefault) IsRedirect() bool

IsRedirect returns true when this create peering connections default response has a 3xx status code

func (*CreatePeeringConnectionsDefault) IsServerError added in v0.40.0

func (o *CreatePeeringConnectionsDefault) IsServerError() bool

IsServerError returns true when this create peering connections default response has a 5xx status code

func (*CreatePeeringConnectionsDefault) IsSuccess added in v0.40.0

func (o *CreatePeeringConnectionsDefault) IsSuccess() bool

IsSuccess returns true when this create peering connections default response has a 2xx status code

func (*CreatePeeringConnectionsDefault) String added in v0.40.0

type CreatePeeringConnectionsOK added in v0.40.0

type CreatePeeringConnectionsOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse
}

CreatePeeringConnectionsOK describes a response with status code 200, with default header values.

A successful response.

func NewCreatePeeringConnectionsOK added in v0.40.0

func NewCreatePeeringConnectionsOK() *CreatePeeringConnectionsOK

NewCreatePeeringConnectionsOK creates a CreatePeeringConnectionsOK with default headers values

func (*CreatePeeringConnectionsOK) Code added in v0.69.0

func (o *CreatePeeringConnectionsOK) Code() int

Code gets the status code for the create peering connections o k response

func (*CreatePeeringConnectionsOK) Error added in v0.40.0

func (*CreatePeeringConnectionsOK) GetPayload added in v0.40.0

func (*CreatePeeringConnectionsOK) IsClientError added in v0.40.0

func (o *CreatePeeringConnectionsOK) IsClientError() bool

IsClientError returns true when this create peering connections o k response has a 4xx status code

func (*CreatePeeringConnectionsOK) IsCode added in v0.40.0

func (o *CreatePeeringConnectionsOK) IsCode(code int) bool

IsCode returns true when this create peering connections o k response a status code equal to that given

func (*CreatePeeringConnectionsOK) IsRedirect added in v0.40.0

func (o *CreatePeeringConnectionsOK) IsRedirect() bool

IsRedirect returns true when this create peering connections o k response has a 3xx status code

func (*CreatePeeringConnectionsOK) IsServerError added in v0.40.0

func (o *CreatePeeringConnectionsOK) IsServerError() bool

IsServerError returns true when this create peering connections o k response has a 5xx status code

func (*CreatePeeringConnectionsOK) IsSuccess added in v0.40.0

func (o *CreatePeeringConnectionsOK) IsSuccess() bool

IsSuccess returns true when this create peering connections o k response has a 2xx status code

func (*CreatePeeringConnectionsOK) String added in v0.40.0

func (o *CreatePeeringConnectionsOK) String() string

type CreatePeeringConnectionsParams added in v0.40.0

type CreatePeeringConnectionsParams struct {

	// Body.
	Body CreatePeeringConnectionsBody

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreatePeeringConnectionsParams contains all the parameters to send to the API endpoint

for the create peering connections operation.

Typically these are written to a http.Request.

func NewCreatePeeringConnectionsParams added in v0.40.0

func NewCreatePeeringConnectionsParams() *CreatePeeringConnectionsParams

NewCreatePeeringConnectionsParams creates a new CreatePeeringConnectionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePeeringConnectionsParamsWithContext added in v0.40.0

func NewCreatePeeringConnectionsParamsWithContext(ctx context.Context) *CreatePeeringConnectionsParams

NewCreatePeeringConnectionsParamsWithContext creates a new CreatePeeringConnectionsParams object with the ability to set a context for a request.

func NewCreatePeeringConnectionsParamsWithHTTPClient added in v0.40.0

func NewCreatePeeringConnectionsParamsWithHTTPClient(client *http.Client) *CreatePeeringConnectionsParams

NewCreatePeeringConnectionsParamsWithHTTPClient creates a new CreatePeeringConnectionsParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePeeringConnectionsParamsWithTimeout added in v0.40.0

func NewCreatePeeringConnectionsParamsWithTimeout(timeout time.Duration) *CreatePeeringConnectionsParams

NewCreatePeeringConnectionsParamsWithTimeout creates a new CreatePeeringConnectionsParams object with the ability to set a timeout on a request.

func (*CreatePeeringConnectionsParams) SetBody added in v0.40.0

SetBody adds the body to the create peering connections params

func (*CreatePeeringConnectionsParams) SetContext added in v0.40.0

func (o *CreatePeeringConnectionsParams) SetContext(ctx context.Context)

SetContext adds the context to the create peering connections params

func (*CreatePeeringConnectionsParams) SetDefaults added in v0.40.0

func (o *CreatePeeringConnectionsParams) SetDefaults()

SetDefaults hydrates default values in the create peering connections params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePeeringConnectionsParams) SetHTTPClient added in v0.40.0

func (o *CreatePeeringConnectionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create peering connections params

func (*CreatePeeringConnectionsParams) SetLocationOrganizationID added in v0.40.0

func (o *CreatePeeringConnectionsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the create peering connections params

func (*CreatePeeringConnectionsParams) SetLocationProjectID added in v0.40.0

func (o *CreatePeeringConnectionsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the create peering connections params

func (*CreatePeeringConnectionsParams) SetTimeout added in v0.40.0

func (o *CreatePeeringConnectionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create peering connections params

func (*CreatePeeringConnectionsParams) WithBody added in v0.40.0

WithBody adds the body to the create peering connections params

func (*CreatePeeringConnectionsParams) WithContext added in v0.40.0

WithContext adds the context to the create peering connections params

func (*CreatePeeringConnectionsParams) WithDefaults added in v0.40.0

WithDefaults hydrates default values in the create peering connections params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePeeringConnectionsParams) WithHTTPClient added in v0.40.0

WithHTTPClient adds the HTTPClient to the create peering connections params

func (*CreatePeeringConnectionsParams) WithLocationOrganizationID added in v0.40.0

func (o *CreatePeeringConnectionsParams) WithLocationOrganizationID(locationOrganizationID string) *CreatePeeringConnectionsParams

WithLocationOrganizationID adds the locationOrganizationID to the create peering connections params

func (*CreatePeeringConnectionsParams) WithLocationProjectID added in v0.40.0

func (o *CreatePeeringConnectionsParams) WithLocationProjectID(locationProjectID string) *CreatePeeringConnectionsParams

WithLocationProjectID adds the locationProjectID to the create peering connections params

func (*CreatePeeringConnectionsParams) WithTimeout added in v0.40.0

WithTimeout adds the timeout to the create peering connections params

func (*CreatePeeringConnectionsParams) WriteToRequest added in v0.40.0

WriteToRequest writes these params to a swagger request

type CreatePeeringConnectionsParamsBodyLocation added in v0.40.0

type CreatePeeringConnectionsParamsBodyLocation struct {

	// region is the region that the resource is located in. It is
	// optional if the object being referenced is a global object.
	Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"`
}

CreatePeeringConnectionsParamsBodyLocation location is the location where the peering connection should be created swagger:model CreatePeeringConnectionsParamsBodyLocation

func (*CreatePeeringConnectionsParamsBodyLocation) ContextValidate added in v0.40.0

ContextValidate validate this create peering connections params body location based on the context it is used

func (*CreatePeeringConnectionsParamsBodyLocation) MarshalBinary added in v0.40.0

func (o *CreatePeeringConnectionsParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePeeringConnectionsParamsBodyLocation) UnmarshalBinary added in v0.40.0

func (o *CreatePeeringConnectionsParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePeeringConnectionsParamsBodyLocation) Validate added in v0.40.0

Validate validates this create peering connections params body location

type CreatePeeringConnectionsReader added in v0.40.0

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

CreatePeeringConnectionsReader is a Reader for the CreatePeeringConnections structure.

func (*CreatePeeringConnectionsReader) ReadResponse added in v0.40.0

func (o *CreatePeeringConnectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteClusterDefault

type DeleteClusterDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

DeleteClusterDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteClusterDefault

func NewDeleteClusterDefault(code int) *DeleteClusterDefault

NewDeleteClusterDefault creates a DeleteClusterDefault with default headers values

func (*DeleteClusterDefault) Code

func (o *DeleteClusterDefault) Code() int

Code gets the status code for the delete cluster default response

func (*DeleteClusterDefault) Error

func (o *DeleteClusterDefault) Error() string

func (*DeleteClusterDefault) GetPayload

func (o *DeleteClusterDefault) GetPayload() *cloud.GoogleRPCStatus

func (*DeleteClusterDefault) IsClientError

func (o *DeleteClusterDefault) IsClientError() bool

IsClientError returns true when this delete cluster default response has a 4xx status code

func (*DeleteClusterDefault) IsCode

func (o *DeleteClusterDefault) IsCode(code int) bool

IsCode returns true when this delete cluster default response a status code equal to that given

func (*DeleteClusterDefault) IsRedirect

func (o *DeleteClusterDefault) IsRedirect() bool

IsRedirect returns true when this delete cluster default response has a 3xx status code

func (*DeleteClusterDefault) IsServerError

func (o *DeleteClusterDefault) IsServerError() bool

IsServerError returns true when this delete cluster default response has a 5xx status code

func (*DeleteClusterDefault) IsSuccess

func (o *DeleteClusterDefault) IsSuccess() bool

IsSuccess returns true when this delete cluster default response has a 2xx status code

func (*DeleteClusterDefault) String

func (o *DeleteClusterDefault) String() string

type DeleteClusterOK

DeleteClusterOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteClusterOK

func NewDeleteClusterOK() *DeleteClusterOK

NewDeleteClusterOK creates a DeleteClusterOK with default headers values

func (*DeleteClusterOK) Code added in v0.69.0

func (o *DeleteClusterOK) Code() int

Code gets the status code for the delete cluster o k response

func (*DeleteClusterOK) Error

func (o *DeleteClusterOK) Error() string

func (*DeleteClusterOK) IsClientError

func (o *DeleteClusterOK) IsClientError() bool

IsClientError returns true when this delete cluster o k response has a 4xx status code

func (*DeleteClusterOK) IsCode

func (o *DeleteClusterOK) IsCode(code int) bool

IsCode returns true when this delete cluster o k response a status code equal to that given

func (*DeleteClusterOK) IsRedirect

func (o *DeleteClusterOK) IsRedirect() bool

IsRedirect returns true when this delete cluster o k response has a 3xx status code

func (*DeleteClusterOK) IsServerError

func (o *DeleteClusterOK) IsServerError() bool

IsServerError returns true when this delete cluster o k response has a 5xx status code

func (*DeleteClusterOK) IsSuccess

func (o *DeleteClusterOK) IsSuccess() bool

IsSuccess returns true when this delete cluster o k response has a 2xx status code

func (*DeleteClusterOK) String

func (o *DeleteClusterOK) String() string

type DeleteClusterParams

type DeleteClusterParams struct {

	/* ID.

	   id is the user-provided GNM cluster name
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteClusterParams contains all the parameters to send to the API endpoint

for the delete cluster operation.

Typically these are written to a http.Request.

func NewDeleteClusterParams

func NewDeleteClusterParams() *DeleteClusterParams

NewDeleteClusterParams creates a new DeleteClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteClusterParamsWithContext

func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams

NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the ability to set a context for a request.

func NewDeleteClusterParamsWithHTTPClient

func NewDeleteClusterParamsWithHTTPClient(client *http.Client) *DeleteClusterParams

NewDeleteClusterParamsWithHTTPClient creates a new DeleteClusterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClusterParamsWithTimeout

func NewDeleteClusterParamsWithTimeout(timeout time.Duration) *DeleteClusterParams

NewDeleteClusterParamsWithTimeout creates a new DeleteClusterParams object with the ability to set a timeout on a request.

func (*DeleteClusterParams) SetContext

func (o *DeleteClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the delete cluster params

func (*DeleteClusterParams) SetDefaults

func (o *DeleteClusterParams) SetDefaults()

SetDefaults hydrates default values in the delete cluster params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterParams) SetHTTPClient

func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete cluster params

func (*DeleteClusterParams) SetID

func (o *DeleteClusterParams) SetID(id string)

SetID adds the id to the delete cluster params

func (*DeleteClusterParams) SetLocationOrganizationID

func (o *DeleteClusterParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the delete cluster params

func (*DeleteClusterParams) SetLocationProjectID

func (o *DeleteClusterParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the delete cluster params

func (*DeleteClusterParams) SetLocationRegionProvider

func (o *DeleteClusterParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the delete cluster params

func (*DeleteClusterParams) SetLocationRegionRegion

func (o *DeleteClusterParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the delete cluster params

func (*DeleteClusterParams) SetTimeout

func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WithContext

WithContext adds the context to the delete cluster params

func (*DeleteClusterParams) WithDefaults

func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams

WithDefaults hydrates default values in the delete cluster params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterParams) WithHTTPClient

func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams

WithHTTPClient adds the HTTPClient to the delete cluster params

func (*DeleteClusterParams) WithID

WithID adds the id to the delete cluster params

func (*DeleteClusterParams) WithLocationOrganizationID

func (o *DeleteClusterParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteClusterParams

WithLocationOrganizationID adds the locationOrganizationID to the delete cluster params

func (*DeleteClusterParams) WithLocationProjectID

func (o *DeleteClusterParams) WithLocationProjectID(locationProjectID string) *DeleteClusterParams

WithLocationProjectID adds the locationProjectID to the delete cluster params

func (*DeleteClusterParams) WithLocationRegionProvider

func (o *DeleteClusterParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteClusterParams

WithLocationRegionProvider adds the locationRegionProvider to the delete cluster params

func (*DeleteClusterParams) WithLocationRegionRegion

func (o *DeleteClusterParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteClusterParams

WithLocationRegionRegion adds the locationRegionRegion to the delete cluster params

func (*DeleteClusterParams) WithTimeout

func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams

WithTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WriteToRequest

func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteClusterReader

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

DeleteClusterReader is a Reader for the DeleteCluster structure.

func (*DeleteClusterReader) ReadResponse

func (o *DeleteClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeletePeeringConnectionDefault added in v0.40.0

type DeletePeeringConnectionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

DeletePeeringConnectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeletePeeringConnectionDefault added in v0.40.0

func NewDeletePeeringConnectionDefault(code int) *DeletePeeringConnectionDefault

NewDeletePeeringConnectionDefault creates a DeletePeeringConnectionDefault with default headers values

func (*DeletePeeringConnectionDefault) Code added in v0.40.0

Code gets the status code for the delete peering connection default response

func (*DeletePeeringConnectionDefault) Error added in v0.40.0

func (*DeletePeeringConnectionDefault) GetPayload added in v0.40.0

func (*DeletePeeringConnectionDefault) IsClientError added in v0.40.0

func (o *DeletePeeringConnectionDefault) IsClientError() bool

IsClientError returns true when this delete peering connection default response has a 4xx status code

func (*DeletePeeringConnectionDefault) IsCode added in v0.40.0

func (o *DeletePeeringConnectionDefault) IsCode(code int) bool

IsCode returns true when this delete peering connection default response a status code equal to that given

func (*DeletePeeringConnectionDefault) IsRedirect added in v0.40.0

func (o *DeletePeeringConnectionDefault) IsRedirect() bool

IsRedirect returns true when this delete peering connection default response has a 3xx status code

func (*DeletePeeringConnectionDefault) IsServerError added in v0.40.0

func (o *DeletePeeringConnectionDefault) IsServerError() bool

IsServerError returns true when this delete peering connection default response has a 5xx status code

func (*DeletePeeringConnectionDefault) IsSuccess added in v0.40.0

func (o *DeletePeeringConnectionDefault) IsSuccess() bool

IsSuccess returns true when this delete peering connection default response has a 2xx status code

func (*DeletePeeringConnectionDefault) String added in v0.40.0

type DeletePeeringConnectionOK added in v0.40.0

type DeletePeeringConnectionOK struct {
	Payload models.HashicorpCloudGlobalNetworkManager20220215DeletePeeringConnectionResponse
}

DeletePeeringConnectionOK describes a response with status code 200, with default header values.

A successful response.

func NewDeletePeeringConnectionOK added in v0.40.0

func NewDeletePeeringConnectionOK() *DeletePeeringConnectionOK

NewDeletePeeringConnectionOK creates a DeletePeeringConnectionOK with default headers values

func (*DeletePeeringConnectionOK) Code added in v0.69.0

func (o *DeletePeeringConnectionOK) Code() int

Code gets the status code for the delete peering connection o k response

func (*DeletePeeringConnectionOK) Error added in v0.40.0

func (o *DeletePeeringConnectionOK) Error() string

func (*DeletePeeringConnectionOK) GetPayload added in v0.40.0

func (*DeletePeeringConnectionOK) IsClientError added in v0.40.0

func (o *DeletePeeringConnectionOK) IsClientError() bool

IsClientError returns true when this delete peering connection o k response has a 4xx status code

func (*DeletePeeringConnectionOK) IsCode added in v0.40.0

func (o *DeletePeeringConnectionOK) IsCode(code int) bool

IsCode returns true when this delete peering connection o k response a status code equal to that given

func (*DeletePeeringConnectionOK) IsRedirect added in v0.40.0

func (o *DeletePeeringConnectionOK) IsRedirect() bool

IsRedirect returns true when this delete peering connection o k response has a 3xx status code

func (*DeletePeeringConnectionOK) IsServerError added in v0.40.0

func (o *DeletePeeringConnectionOK) IsServerError() bool

IsServerError returns true when this delete peering connection o k response has a 5xx status code

func (*DeletePeeringConnectionOK) IsSuccess added in v0.40.0

func (o *DeletePeeringConnectionOK) IsSuccess() bool

IsSuccess returns true when this delete peering connection o k response has a 2xx status code

func (*DeletePeeringConnectionOK) String added in v0.40.0

func (o *DeletePeeringConnectionOK) String() string

type DeletePeeringConnectionParams added in v0.40.0

type DeletePeeringConnectionParams struct {

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	/* PeeringConnectionID.

	   peering_connection_id is the slug ID of the peering connection
	*/
	PeeringConnectionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePeeringConnectionParams contains all the parameters to send to the API endpoint

for the delete peering connection operation.

Typically these are written to a http.Request.

func NewDeletePeeringConnectionParams added in v0.40.0

func NewDeletePeeringConnectionParams() *DeletePeeringConnectionParams

NewDeletePeeringConnectionParams creates a new DeletePeeringConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeletePeeringConnectionParamsWithContext added in v0.40.0

func NewDeletePeeringConnectionParamsWithContext(ctx context.Context) *DeletePeeringConnectionParams

NewDeletePeeringConnectionParamsWithContext creates a new DeletePeeringConnectionParams object with the ability to set a context for a request.

func NewDeletePeeringConnectionParamsWithHTTPClient added in v0.40.0

func NewDeletePeeringConnectionParamsWithHTTPClient(client *http.Client) *DeletePeeringConnectionParams

NewDeletePeeringConnectionParamsWithHTTPClient creates a new DeletePeeringConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePeeringConnectionParamsWithTimeout added in v0.40.0

func NewDeletePeeringConnectionParamsWithTimeout(timeout time.Duration) *DeletePeeringConnectionParams

NewDeletePeeringConnectionParamsWithTimeout creates a new DeletePeeringConnectionParams object with the ability to set a timeout on a request.

func (*DeletePeeringConnectionParams) SetContext added in v0.40.0

func (o *DeletePeeringConnectionParams) SetContext(ctx context.Context)

SetContext adds the context to the delete peering connection params

func (*DeletePeeringConnectionParams) SetDefaults added in v0.40.0

func (o *DeletePeeringConnectionParams) SetDefaults()

SetDefaults hydrates default values in the delete peering connection params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePeeringConnectionParams) SetHTTPClient added in v0.40.0

func (o *DeletePeeringConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete peering connection params

func (*DeletePeeringConnectionParams) SetLocationOrganizationID added in v0.40.0

func (o *DeletePeeringConnectionParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the delete peering connection params

func (*DeletePeeringConnectionParams) SetLocationProjectID added in v0.40.0

func (o *DeletePeeringConnectionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the delete peering connection params

func (*DeletePeeringConnectionParams) SetLocationRegionProvider added in v0.40.0

func (o *DeletePeeringConnectionParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the delete peering connection params

func (*DeletePeeringConnectionParams) SetLocationRegionRegion added in v0.40.0

func (o *DeletePeeringConnectionParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the delete peering connection params

func (*DeletePeeringConnectionParams) SetPeeringConnectionID added in v0.40.0

func (o *DeletePeeringConnectionParams) SetPeeringConnectionID(peeringConnectionID string)

SetPeeringConnectionID adds the peeringConnectionId to the delete peering connection params

func (*DeletePeeringConnectionParams) SetTimeout added in v0.40.0

func (o *DeletePeeringConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete peering connection params

func (*DeletePeeringConnectionParams) WithContext added in v0.40.0

WithContext adds the context to the delete peering connection params

func (*DeletePeeringConnectionParams) WithDefaults added in v0.40.0

WithDefaults hydrates default values in the delete peering connection params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePeeringConnectionParams) WithHTTPClient added in v0.40.0

WithHTTPClient adds the HTTPClient to the delete peering connection params

func (*DeletePeeringConnectionParams) WithLocationOrganizationID added in v0.40.0

func (o *DeletePeeringConnectionParams) WithLocationOrganizationID(locationOrganizationID string) *DeletePeeringConnectionParams

WithLocationOrganizationID adds the locationOrganizationID to the delete peering connection params

func (*DeletePeeringConnectionParams) WithLocationProjectID added in v0.40.0

func (o *DeletePeeringConnectionParams) WithLocationProjectID(locationProjectID string) *DeletePeeringConnectionParams

WithLocationProjectID adds the locationProjectID to the delete peering connection params

func (*DeletePeeringConnectionParams) WithLocationRegionProvider added in v0.40.0

func (o *DeletePeeringConnectionParams) WithLocationRegionProvider(locationRegionProvider *string) *DeletePeeringConnectionParams

WithLocationRegionProvider adds the locationRegionProvider to the delete peering connection params

func (*DeletePeeringConnectionParams) WithLocationRegionRegion added in v0.40.0

func (o *DeletePeeringConnectionParams) WithLocationRegionRegion(locationRegionRegion *string) *DeletePeeringConnectionParams

WithLocationRegionRegion adds the locationRegionRegion to the delete peering connection params

func (*DeletePeeringConnectionParams) WithPeeringConnectionID added in v0.40.0

func (o *DeletePeeringConnectionParams) WithPeeringConnectionID(peeringConnectionID string) *DeletePeeringConnectionParams

WithPeeringConnectionID adds the peeringConnectionID to the delete peering connection params

func (*DeletePeeringConnectionParams) WithTimeout added in v0.40.0

WithTimeout adds the timeout to the delete peering connection params

func (*DeletePeeringConnectionParams) WriteToRequest added in v0.40.0

WriteToRequest writes these params to a swagger request

type DeletePeeringConnectionReader added in v0.40.0

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

DeletePeeringConnectionReader is a Reader for the DeletePeeringConnection structure.

func (*DeletePeeringConnectionReader) ReadResponse added in v0.40.0

func (o *DeletePeeringConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAggregateServiceSummaryDefault

type GetAggregateServiceSummaryDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetAggregateServiceSummaryDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetAggregateServiceSummaryDefault

func NewGetAggregateServiceSummaryDefault(code int) *GetAggregateServiceSummaryDefault

NewGetAggregateServiceSummaryDefault creates a GetAggregateServiceSummaryDefault with default headers values

func (*GetAggregateServiceSummaryDefault) Code

Code gets the status code for the get aggregate service summary default response

func (*GetAggregateServiceSummaryDefault) Error

func (*GetAggregateServiceSummaryDefault) GetPayload

func (*GetAggregateServiceSummaryDefault) IsClientError

func (o *GetAggregateServiceSummaryDefault) IsClientError() bool

IsClientError returns true when this get aggregate service summary default response has a 4xx status code

func (*GetAggregateServiceSummaryDefault) IsCode

func (o *GetAggregateServiceSummaryDefault) IsCode(code int) bool

IsCode returns true when this get aggregate service summary default response a status code equal to that given

func (*GetAggregateServiceSummaryDefault) IsRedirect

func (o *GetAggregateServiceSummaryDefault) IsRedirect() bool

IsRedirect returns true when this get aggregate service summary default response has a 3xx status code

func (*GetAggregateServiceSummaryDefault) IsServerError

func (o *GetAggregateServiceSummaryDefault) IsServerError() bool

IsServerError returns true when this get aggregate service summary default response has a 5xx status code

func (*GetAggregateServiceSummaryDefault) IsSuccess

func (o *GetAggregateServiceSummaryDefault) IsSuccess() bool

IsSuccess returns true when this get aggregate service summary default response has a 2xx status code

func (*GetAggregateServiceSummaryDefault) String

type GetAggregateServiceSummaryOK

type GetAggregateServiceSummaryOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse
}

GetAggregateServiceSummaryOK describes a response with status code 200, with default header values.

A successful response.

func NewGetAggregateServiceSummaryOK

func NewGetAggregateServiceSummaryOK() *GetAggregateServiceSummaryOK

NewGetAggregateServiceSummaryOK creates a GetAggregateServiceSummaryOK with default headers values

func (*GetAggregateServiceSummaryOK) Code added in v0.69.0

Code gets the status code for the get aggregate service summary o k response

func (*GetAggregateServiceSummaryOK) Error

func (*GetAggregateServiceSummaryOK) IsClientError

func (o *GetAggregateServiceSummaryOK) IsClientError() bool

IsClientError returns true when this get aggregate service summary o k response has a 4xx status code

func (*GetAggregateServiceSummaryOK) IsCode

func (o *GetAggregateServiceSummaryOK) IsCode(code int) bool

IsCode returns true when this get aggregate service summary o k response a status code equal to that given

func (*GetAggregateServiceSummaryOK) IsRedirect

func (o *GetAggregateServiceSummaryOK) IsRedirect() bool

IsRedirect returns true when this get aggregate service summary o k response has a 3xx status code

func (*GetAggregateServiceSummaryOK) IsServerError

func (o *GetAggregateServiceSummaryOK) IsServerError() bool

IsServerError returns true when this get aggregate service summary o k response has a 5xx status code

func (*GetAggregateServiceSummaryOK) IsSuccess

func (o *GetAggregateServiceSummaryOK) IsSuccess() bool

IsSuccess returns true when this get aggregate service summary o k response has a 2xx status code

func (*GetAggregateServiceSummaryOK) String

type GetAggregateServiceSummaryParams

type GetAggregateServiceSummaryParams struct {

	/* FilterClusters.

	   filters summaries to the provided cluster names. If empty, all are included
	*/
	FilterClusters []string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAggregateServiceSummaryParams contains all the parameters to send to the API endpoint

for the get aggregate service summary operation.

Typically these are written to a http.Request.

func NewGetAggregateServiceSummaryParams

func NewGetAggregateServiceSummaryParams() *GetAggregateServiceSummaryParams

NewGetAggregateServiceSummaryParams creates a new GetAggregateServiceSummaryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAggregateServiceSummaryParamsWithContext

func NewGetAggregateServiceSummaryParamsWithContext(ctx context.Context) *GetAggregateServiceSummaryParams

NewGetAggregateServiceSummaryParamsWithContext creates a new GetAggregateServiceSummaryParams object with the ability to set a context for a request.

func NewGetAggregateServiceSummaryParamsWithHTTPClient

func NewGetAggregateServiceSummaryParamsWithHTTPClient(client *http.Client) *GetAggregateServiceSummaryParams

NewGetAggregateServiceSummaryParamsWithHTTPClient creates a new GetAggregateServiceSummaryParams object with the ability to set a custom HTTPClient for a request.

func NewGetAggregateServiceSummaryParamsWithTimeout

func NewGetAggregateServiceSummaryParamsWithTimeout(timeout time.Duration) *GetAggregateServiceSummaryParams

NewGetAggregateServiceSummaryParamsWithTimeout creates a new GetAggregateServiceSummaryParams object with the ability to set a timeout on a request.

func (*GetAggregateServiceSummaryParams) SetContext

SetContext adds the context to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) SetDefaults

func (o *GetAggregateServiceSummaryParams) SetDefaults()

SetDefaults hydrates default values in the get aggregate service summary params (not the query body).

All values with no default are reset to their zero value.

func (*GetAggregateServiceSummaryParams) SetFilterClusters added in v0.40.0

func (o *GetAggregateServiceSummaryParams) SetFilterClusters(filterClusters []string)

SetFilterClusters adds the filterClusters to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) SetHTTPClient

func (o *GetAggregateServiceSummaryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) SetLocationOrganizationID

func (o *GetAggregateServiceSummaryParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) SetLocationProjectID

func (o *GetAggregateServiceSummaryParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) SetLocationRegionProvider

func (o *GetAggregateServiceSummaryParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) SetLocationRegionRegion

func (o *GetAggregateServiceSummaryParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) SetTimeout

func (o *GetAggregateServiceSummaryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WithContext

WithContext adds the context to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WithDefaults

WithDefaults hydrates default values in the get aggregate service summary params (not the query body).

All values with no default are reset to their zero value.

func (*GetAggregateServiceSummaryParams) WithFilterClusters added in v0.40.0

func (o *GetAggregateServiceSummaryParams) WithFilterClusters(filterClusters []string) *GetAggregateServiceSummaryParams

WithFilterClusters adds the filterClusters to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WithLocationOrganizationID

func (o *GetAggregateServiceSummaryParams) WithLocationOrganizationID(locationOrganizationID string) *GetAggregateServiceSummaryParams

WithLocationOrganizationID adds the locationOrganizationID to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WithLocationProjectID

func (o *GetAggregateServiceSummaryParams) WithLocationProjectID(locationProjectID string) *GetAggregateServiceSummaryParams

WithLocationProjectID adds the locationProjectID to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WithLocationRegionProvider

func (o *GetAggregateServiceSummaryParams) WithLocationRegionProvider(locationRegionProvider *string) *GetAggregateServiceSummaryParams

WithLocationRegionProvider adds the locationRegionProvider to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WithLocationRegionRegion

func (o *GetAggregateServiceSummaryParams) WithLocationRegionRegion(locationRegionRegion *string) *GetAggregateServiceSummaryParams

WithLocationRegionRegion adds the locationRegionRegion to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WithTimeout

WithTimeout adds the timeout to the get aggregate service summary params

func (*GetAggregateServiceSummaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAggregateServiceSummaryReader

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

GetAggregateServiceSummaryReader is a Reader for the GetAggregateServiceSummary structure.

func (*GetAggregateServiceSummaryReader) ReadResponse

func (o *GetAggregateServiceSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterAPIInfoDefault

type GetClusterAPIInfoDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetClusterAPIInfoDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetClusterAPIInfoDefault

func NewGetClusterAPIInfoDefault(code int) *GetClusterAPIInfoDefault

NewGetClusterAPIInfoDefault creates a GetClusterAPIInfoDefault with default headers values

func (*GetClusterAPIInfoDefault) Code

func (o *GetClusterAPIInfoDefault) Code() int

Code gets the status code for the get cluster API info default response

func (*GetClusterAPIInfoDefault) Error

func (o *GetClusterAPIInfoDefault) Error() string

func (*GetClusterAPIInfoDefault) GetPayload

func (*GetClusterAPIInfoDefault) IsClientError

func (o *GetClusterAPIInfoDefault) IsClientError() bool

IsClientError returns true when this get cluster API info default response has a 4xx status code

func (*GetClusterAPIInfoDefault) IsCode

func (o *GetClusterAPIInfoDefault) IsCode(code int) bool

IsCode returns true when this get cluster API info default response a status code equal to that given

func (*GetClusterAPIInfoDefault) IsRedirect

func (o *GetClusterAPIInfoDefault) IsRedirect() bool

IsRedirect returns true when this get cluster API info default response has a 3xx status code

func (*GetClusterAPIInfoDefault) IsServerError

func (o *GetClusterAPIInfoDefault) IsServerError() bool

IsServerError returns true when this get cluster API info default response has a 5xx status code

func (*GetClusterAPIInfoDefault) IsSuccess

func (o *GetClusterAPIInfoDefault) IsSuccess() bool

IsSuccess returns true when this get cluster API info default response has a 2xx status code

func (*GetClusterAPIInfoDefault) String

func (o *GetClusterAPIInfoDefault) String() string

type GetClusterAPIInfoOK

GetClusterAPIInfoOK describes a response with status code 200, with default header values.

A successful response.

func NewGetClusterAPIInfoOK

func NewGetClusterAPIInfoOK() *GetClusterAPIInfoOK

NewGetClusterAPIInfoOK creates a GetClusterAPIInfoOK with default headers values

func (*GetClusterAPIInfoOK) Code added in v0.69.0

func (o *GetClusterAPIInfoOK) Code() int

Code gets the status code for the get cluster Api info o k response

func (*GetClusterAPIInfoOK) Error

func (o *GetClusterAPIInfoOK) Error() string

func (*GetClusterAPIInfoOK) IsClientError

func (o *GetClusterAPIInfoOK) IsClientError() bool

IsClientError returns true when this get cluster Api info o k response has a 4xx status code

func (*GetClusterAPIInfoOK) IsCode

func (o *GetClusterAPIInfoOK) IsCode(code int) bool

IsCode returns true when this get cluster Api info o k response a status code equal to that given

func (*GetClusterAPIInfoOK) IsRedirect

func (o *GetClusterAPIInfoOK) IsRedirect() bool

IsRedirect returns true when this get cluster Api info o k response has a 3xx status code

func (*GetClusterAPIInfoOK) IsServerError

func (o *GetClusterAPIInfoOK) IsServerError() bool

IsServerError returns true when this get cluster Api info o k response has a 5xx status code

func (*GetClusterAPIInfoOK) IsSuccess

func (o *GetClusterAPIInfoOK) IsSuccess() bool

IsSuccess returns true when this get cluster Api info o k response has a 2xx status code

func (*GetClusterAPIInfoOK) String

func (o *GetClusterAPIInfoOK) String() string

type GetClusterAPIInfoParams

type GetClusterAPIInfoParams struct {

	/* ID.

	   id is the user-provided GNM cluster name
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterAPIInfoParams contains all the parameters to send to the API endpoint

for the get cluster API info operation.

Typically these are written to a http.Request.

func NewGetClusterAPIInfoParams

func NewGetClusterAPIInfoParams() *GetClusterAPIInfoParams

NewGetClusterAPIInfoParams creates a new GetClusterAPIInfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterAPIInfoParamsWithContext

func NewGetClusterAPIInfoParamsWithContext(ctx context.Context) *GetClusterAPIInfoParams

NewGetClusterAPIInfoParamsWithContext creates a new GetClusterAPIInfoParams object with the ability to set a context for a request.

func NewGetClusterAPIInfoParamsWithHTTPClient

func NewGetClusterAPIInfoParamsWithHTTPClient(client *http.Client) *GetClusterAPIInfoParams

NewGetClusterAPIInfoParamsWithHTTPClient creates a new GetClusterAPIInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterAPIInfoParamsWithTimeout

func NewGetClusterAPIInfoParamsWithTimeout(timeout time.Duration) *GetClusterAPIInfoParams

NewGetClusterAPIInfoParamsWithTimeout creates a new GetClusterAPIInfoParams object with the ability to set a timeout on a request.

func (*GetClusterAPIInfoParams) SetContext

func (o *GetClusterAPIInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the get cluster API info params

func (*GetClusterAPIInfoParams) SetDefaults

func (o *GetClusterAPIInfoParams) SetDefaults()

SetDefaults hydrates default values in the get cluster API info params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterAPIInfoParams) SetHTTPClient

func (o *GetClusterAPIInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster API info params

func (*GetClusterAPIInfoParams) SetID

func (o *GetClusterAPIInfoParams) SetID(id string)

SetID adds the id to the get cluster API info params

func (*GetClusterAPIInfoParams) SetLocationOrganizationID

func (o *GetClusterAPIInfoParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get cluster API info params

func (*GetClusterAPIInfoParams) SetLocationProjectID

func (o *GetClusterAPIInfoParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get cluster API info params

func (*GetClusterAPIInfoParams) SetLocationRegionProvider

func (o *GetClusterAPIInfoParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get cluster API info params

func (*GetClusterAPIInfoParams) SetLocationRegionRegion

func (o *GetClusterAPIInfoParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get cluster API info params

func (*GetClusterAPIInfoParams) SetTimeout

func (o *GetClusterAPIInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster API info params

func (*GetClusterAPIInfoParams) WithContext

WithContext adds the context to the get cluster API info params

func (*GetClusterAPIInfoParams) WithDefaults

WithDefaults hydrates default values in the get cluster API info params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterAPIInfoParams) WithHTTPClient

func (o *GetClusterAPIInfoParams) WithHTTPClient(client *http.Client) *GetClusterAPIInfoParams

WithHTTPClient adds the HTTPClient to the get cluster API info params

func (*GetClusterAPIInfoParams) WithID

WithID adds the id to the get cluster API info params

func (*GetClusterAPIInfoParams) WithLocationOrganizationID

func (o *GetClusterAPIInfoParams) WithLocationOrganizationID(locationOrganizationID string) *GetClusterAPIInfoParams

WithLocationOrganizationID adds the locationOrganizationID to the get cluster API info params

func (*GetClusterAPIInfoParams) WithLocationProjectID

func (o *GetClusterAPIInfoParams) WithLocationProjectID(locationProjectID string) *GetClusterAPIInfoParams

WithLocationProjectID adds the locationProjectID to the get cluster API info params

func (*GetClusterAPIInfoParams) WithLocationRegionProvider

func (o *GetClusterAPIInfoParams) WithLocationRegionProvider(locationRegionProvider *string) *GetClusterAPIInfoParams

WithLocationRegionProvider adds the locationRegionProvider to the get cluster API info params

func (*GetClusterAPIInfoParams) WithLocationRegionRegion

func (o *GetClusterAPIInfoParams) WithLocationRegionRegion(locationRegionRegion *string) *GetClusterAPIInfoParams

WithLocationRegionRegion adds the locationRegionRegion to the get cluster API info params

func (*GetClusterAPIInfoParams) WithTimeout

WithTimeout adds the timeout to the get cluster API info params

func (*GetClusterAPIInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterAPIInfoReader

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

GetClusterAPIInfoReader is a Reader for the GetClusterAPIInfo structure.

func (*GetClusterAPIInfoReader) ReadResponse

func (o *GetClusterAPIInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterDefault

type GetClusterDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetClusterDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetClusterDefault

func NewGetClusterDefault(code int) *GetClusterDefault

NewGetClusterDefault creates a GetClusterDefault with default headers values

func (*GetClusterDefault) Code

func (o *GetClusterDefault) Code() int

Code gets the status code for the get cluster default response

func (*GetClusterDefault) Error

func (o *GetClusterDefault) Error() string

func (*GetClusterDefault) GetPayload

func (o *GetClusterDefault) GetPayload() *cloud.GoogleRPCStatus

func (*GetClusterDefault) IsClientError

func (o *GetClusterDefault) IsClientError() bool

IsClientError returns true when this get cluster default response has a 4xx status code

func (*GetClusterDefault) IsCode

func (o *GetClusterDefault) IsCode(code int) bool

IsCode returns true when this get cluster default response a status code equal to that given

func (*GetClusterDefault) IsRedirect

func (o *GetClusterDefault) IsRedirect() bool

IsRedirect returns true when this get cluster default response has a 3xx status code

func (*GetClusterDefault) IsServerError

func (o *GetClusterDefault) IsServerError() bool

IsServerError returns true when this get cluster default response has a 5xx status code

func (*GetClusterDefault) IsSuccess

func (o *GetClusterDefault) IsSuccess() bool

IsSuccess returns true when this get cluster default response has a 2xx status code

func (*GetClusterDefault) String

func (o *GetClusterDefault) String() string

type GetClusterManagementTokenDetailsDefault added in v0.62.0

type GetClusterManagementTokenDetailsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetClusterManagementTokenDetailsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetClusterManagementTokenDetailsDefault added in v0.62.0

func NewGetClusterManagementTokenDetailsDefault(code int) *GetClusterManagementTokenDetailsDefault

NewGetClusterManagementTokenDetailsDefault creates a GetClusterManagementTokenDetailsDefault with default headers values

func (*GetClusterManagementTokenDetailsDefault) Code added in v0.62.0

Code gets the status code for the get cluster management token details default response

func (*GetClusterManagementTokenDetailsDefault) Error added in v0.62.0

func (*GetClusterManagementTokenDetailsDefault) GetPayload added in v0.62.0

func (*GetClusterManagementTokenDetailsDefault) IsClientError added in v0.62.0

func (o *GetClusterManagementTokenDetailsDefault) IsClientError() bool

IsClientError returns true when this get cluster management token details default response has a 4xx status code

func (*GetClusterManagementTokenDetailsDefault) IsCode added in v0.62.0

IsCode returns true when this get cluster management token details default response a status code equal to that given

func (*GetClusterManagementTokenDetailsDefault) IsRedirect added in v0.62.0

IsRedirect returns true when this get cluster management token details default response has a 3xx status code

func (*GetClusterManagementTokenDetailsDefault) IsServerError added in v0.62.0

func (o *GetClusterManagementTokenDetailsDefault) IsServerError() bool

IsServerError returns true when this get cluster management token details default response has a 5xx status code

func (*GetClusterManagementTokenDetailsDefault) IsSuccess added in v0.62.0

IsSuccess returns true when this get cluster management token details default response has a 2xx status code

func (*GetClusterManagementTokenDetailsDefault) String added in v0.62.0

type GetClusterManagementTokenDetailsOK added in v0.62.0

type GetClusterManagementTokenDetailsOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215GetClusterManagementTokenDetailsResponse
}

GetClusterManagementTokenDetailsOK describes a response with status code 200, with default header values.

A successful response.

func NewGetClusterManagementTokenDetailsOK added in v0.62.0

func NewGetClusterManagementTokenDetailsOK() *GetClusterManagementTokenDetailsOK

NewGetClusterManagementTokenDetailsOK creates a GetClusterManagementTokenDetailsOK with default headers values

func (*GetClusterManagementTokenDetailsOK) Code added in v0.69.0

Code gets the status code for the get cluster management token details o k response

func (*GetClusterManagementTokenDetailsOK) Error added in v0.62.0

func (*GetClusterManagementTokenDetailsOK) GetPayload added in v0.62.0

func (*GetClusterManagementTokenDetailsOK) IsClientError added in v0.62.0

func (o *GetClusterManagementTokenDetailsOK) IsClientError() bool

IsClientError returns true when this get cluster management token details o k response has a 4xx status code

func (*GetClusterManagementTokenDetailsOK) IsCode added in v0.62.0

IsCode returns true when this get cluster management token details o k response a status code equal to that given

func (*GetClusterManagementTokenDetailsOK) IsRedirect added in v0.62.0

func (o *GetClusterManagementTokenDetailsOK) IsRedirect() bool

IsRedirect returns true when this get cluster management token details o k response has a 3xx status code

func (*GetClusterManagementTokenDetailsOK) IsServerError added in v0.62.0

func (o *GetClusterManagementTokenDetailsOK) IsServerError() bool

IsServerError returns true when this get cluster management token details o k response has a 5xx status code

func (*GetClusterManagementTokenDetailsOK) IsSuccess added in v0.62.0

IsSuccess returns true when this get cluster management token details o k response has a 2xx status code

func (*GetClusterManagementTokenDetailsOK) String added in v0.62.0

type GetClusterManagementTokenDetailsParams added in v0.62.0

type GetClusterManagementTokenDetailsParams struct {

	/* ID.

	   id is the user settable GNM cluster name
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterManagementTokenDetailsParams contains all the parameters to send to the API endpoint

for the get cluster management token details operation.

Typically these are written to a http.Request.

func NewGetClusterManagementTokenDetailsParams added in v0.62.0

func NewGetClusterManagementTokenDetailsParams() *GetClusterManagementTokenDetailsParams

NewGetClusterManagementTokenDetailsParams creates a new GetClusterManagementTokenDetailsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterManagementTokenDetailsParamsWithContext added in v0.62.0

func NewGetClusterManagementTokenDetailsParamsWithContext(ctx context.Context) *GetClusterManagementTokenDetailsParams

NewGetClusterManagementTokenDetailsParamsWithContext creates a new GetClusterManagementTokenDetailsParams object with the ability to set a context for a request.

func NewGetClusterManagementTokenDetailsParamsWithHTTPClient added in v0.62.0

func NewGetClusterManagementTokenDetailsParamsWithHTTPClient(client *http.Client) *GetClusterManagementTokenDetailsParams

NewGetClusterManagementTokenDetailsParamsWithHTTPClient creates a new GetClusterManagementTokenDetailsParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterManagementTokenDetailsParamsWithTimeout added in v0.62.0

func NewGetClusterManagementTokenDetailsParamsWithTimeout(timeout time.Duration) *GetClusterManagementTokenDetailsParams

NewGetClusterManagementTokenDetailsParamsWithTimeout creates a new GetClusterManagementTokenDetailsParams object with the ability to set a timeout on a request.

func (*GetClusterManagementTokenDetailsParams) SetContext added in v0.62.0

SetContext adds the context to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) SetDefaults added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) SetDefaults()

SetDefaults hydrates default values in the get cluster management token details params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterManagementTokenDetailsParams) SetHTTPClient added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) SetID added in v0.62.0

SetID adds the id to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) SetLocationOrganizationID added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) SetLocationProjectID added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) SetLocationRegionProvider added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) SetLocationRegionRegion added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) SetTimeout added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WithContext added in v0.62.0

WithContext adds the context to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WithDefaults added in v0.62.0

WithDefaults hydrates default values in the get cluster management token details params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterManagementTokenDetailsParams) WithHTTPClient added in v0.62.0

WithHTTPClient adds the HTTPClient to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WithID added in v0.62.0

WithID adds the id to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WithLocationOrganizationID added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) WithLocationOrganizationID(locationOrganizationID string) *GetClusterManagementTokenDetailsParams

WithLocationOrganizationID adds the locationOrganizationID to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WithLocationProjectID added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) WithLocationProjectID(locationProjectID string) *GetClusterManagementTokenDetailsParams

WithLocationProjectID adds the locationProjectID to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WithLocationRegionProvider added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) WithLocationRegionProvider(locationRegionProvider *string) *GetClusterManagementTokenDetailsParams

WithLocationRegionProvider adds the locationRegionProvider to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WithLocationRegionRegion added in v0.62.0

func (o *GetClusterManagementTokenDetailsParams) WithLocationRegionRegion(locationRegionRegion *string) *GetClusterManagementTokenDetailsParams

WithLocationRegionRegion adds the locationRegionRegion to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WithTimeout added in v0.62.0

WithTimeout adds the timeout to the get cluster management token details params

func (*GetClusterManagementTokenDetailsParams) WriteToRequest added in v0.62.0

WriteToRequest writes these params to a swagger request

type GetClusterManagementTokenDetailsReader added in v0.62.0

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

GetClusterManagementTokenDetailsReader is a Reader for the GetClusterManagementTokenDetails structure.

func (*GetClusterManagementTokenDetailsReader) ReadResponse added in v0.62.0

func (o *GetClusterManagementTokenDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterOK

GetClusterOK describes a response with status code 200, with default header values.

A successful response.

func NewGetClusterOK

func NewGetClusterOK() *GetClusterOK

NewGetClusterOK creates a GetClusterOK with default headers values

func (*GetClusterOK) Code added in v0.69.0

func (o *GetClusterOK) Code() int

Code gets the status code for the get cluster o k response

func (*GetClusterOK) Error

func (o *GetClusterOK) Error() string

func (*GetClusterOK) IsClientError

func (o *GetClusterOK) IsClientError() bool

IsClientError returns true when this get cluster o k response has a 4xx status code

func (*GetClusterOK) IsCode

func (o *GetClusterOK) IsCode(code int) bool

IsCode returns true when this get cluster o k response a status code equal to that given

func (*GetClusterOK) IsRedirect

func (o *GetClusterOK) IsRedirect() bool

IsRedirect returns true when this get cluster o k response has a 3xx status code

func (*GetClusterOK) IsServerError

func (o *GetClusterOK) IsServerError() bool

IsServerError returns true when this get cluster o k response has a 5xx status code

func (*GetClusterOK) IsSuccess

func (o *GetClusterOK) IsSuccess() bool

IsSuccess returns true when this get cluster o k response has a 2xx status code

func (*GetClusterOK) String

func (o *GetClusterOK) String() string

type GetClusterParams

type GetClusterParams struct {

	/* ID.

	   id is the user settable GNM cluster name
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterParams contains all the parameters to send to the API endpoint

for the get cluster operation.

Typically these are written to a http.Request.

func NewGetClusterParams

func NewGetClusterParams() *GetClusterParams

NewGetClusterParams creates a new GetClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterParamsWithContext

func NewGetClusterParamsWithContext(ctx context.Context) *GetClusterParams

NewGetClusterParamsWithContext creates a new GetClusterParams object with the ability to set a context for a request.

func NewGetClusterParamsWithHTTPClient

func NewGetClusterParamsWithHTTPClient(client *http.Client) *GetClusterParams

NewGetClusterParamsWithHTTPClient creates a new GetClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterParamsWithTimeout

func NewGetClusterParamsWithTimeout(timeout time.Duration) *GetClusterParams

NewGetClusterParamsWithTimeout creates a new GetClusterParams object with the ability to set a timeout on a request.

func (*GetClusterParams) SetContext

func (o *GetClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the get cluster params

func (*GetClusterParams) SetDefaults

func (o *GetClusterParams) SetDefaults()

SetDefaults hydrates default values in the get cluster params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterParams) SetHTTPClient

func (o *GetClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster params

func (*GetClusterParams) SetID

func (o *GetClusterParams) SetID(id string)

SetID adds the id to the get cluster params

func (*GetClusterParams) SetLocationOrganizationID

func (o *GetClusterParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get cluster params

func (*GetClusterParams) SetLocationProjectID

func (o *GetClusterParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get cluster params

func (*GetClusterParams) SetLocationRegionProvider

func (o *GetClusterParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get cluster params

func (*GetClusterParams) SetLocationRegionRegion

func (o *GetClusterParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get cluster params

func (*GetClusterParams) SetTimeout

func (o *GetClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster params

func (*GetClusterParams) WithContext

func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams

WithContext adds the context to the get cluster params

func (*GetClusterParams) WithDefaults

func (o *GetClusterParams) WithDefaults() *GetClusterParams

WithDefaults hydrates default values in the get cluster params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterParams) WithHTTPClient

func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams

WithHTTPClient adds the HTTPClient to the get cluster params

func (*GetClusterParams) WithID

func (o *GetClusterParams) WithID(id string) *GetClusterParams

WithID adds the id to the get cluster params

func (*GetClusterParams) WithLocationOrganizationID

func (o *GetClusterParams) WithLocationOrganizationID(locationOrganizationID string) *GetClusterParams

WithLocationOrganizationID adds the locationOrganizationID to the get cluster params

func (*GetClusterParams) WithLocationProjectID

func (o *GetClusterParams) WithLocationProjectID(locationProjectID string) *GetClusterParams

WithLocationProjectID adds the locationProjectID to the get cluster params

func (*GetClusterParams) WithLocationRegionProvider

func (o *GetClusterParams) WithLocationRegionProvider(locationRegionProvider *string) *GetClusterParams

WithLocationRegionProvider adds the locationRegionProvider to the get cluster params

func (*GetClusterParams) WithLocationRegionRegion

func (o *GetClusterParams) WithLocationRegionRegion(locationRegionRegion *string) *GetClusterParams

WithLocationRegionRegion adds the locationRegionRegion to the get cluster params

func (*GetClusterParams) WithTimeout

func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams

WithTimeout adds the timeout to the get cluster params

func (*GetClusterParams) WriteToRequest

func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetClusterReader

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

GetClusterReader is a Reader for the GetCluster structure.

func (*GetClusterReader) ReadResponse

func (o *GetClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterSecretsDefault

type GetClusterSecretsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetClusterSecretsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetClusterSecretsDefault

func NewGetClusterSecretsDefault(code int) *GetClusterSecretsDefault

NewGetClusterSecretsDefault creates a GetClusterSecretsDefault with default headers values

func (*GetClusterSecretsDefault) Code

func (o *GetClusterSecretsDefault) Code() int

Code gets the status code for the get cluster secrets default response

func (*GetClusterSecretsDefault) Error

func (o *GetClusterSecretsDefault) Error() string

func (*GetClusterSecretsDefault) GetPayload

func (*GetClusterSecretsDefault) IsClientError

func (o *GetClusterSecretsDefault) IsClientError() bool

IsClientError returns true when this get cluster secrets default response has a 4xx status code

func (*GetClusterSecretsDefault) IsCode

func (o *GetClusterSecretsDefault) IsCode(code int) bool

IsCode returns true when this get cluster secrets default response a status code equal to that given

func (*GetClusterSecretsDefault) IsRedirect

func (o *GetClusterSecretsDefault) IsRedirect() bool

IsRedirect returns true when this get cluster secrets default response has a 3xx status code

func (*GetClusterSecretsDefault) IsServerError

func (o *GetClusterSecretsDefault) IsServerError() bool

IsServerError returns true when this get cluster secrets default response has a 5xx status code

func (*GetClusterSecretsDefault) IsSuccess

func (o *GetClusterSecretsDefault) IsSuccess() bool

IsSuccess returns true when this get cluster secrets default response has a 2xx status code

func (*GetClusterSecretsDefault) String

func (o *GetClusterSecretsDefault) String() string

type GetClusterSecretsOK

GetClusterSecretsOK describes a response with status code 200, with default header values.

A successful response.

func NewGetClusterSecretsOK

func NewGetClusterSecretsOK() *GetClusterSecretsOK

NewGetClusterSecretsOK creates a GetClusterSecretsOK with default headers values

func (*GetClusterSecretsOK) Code added in v0.69.0

func (o *GetClusterSecretsOK) Code() int

Code gets the status code for the get cluster secrets o k response

func (*GetClusterSecretsOK) Error

func (o *GetClusterSecretsOK) Error() string

func (*GetClusterSecretsOK) IsClientError

func (o *GetClusterSecretsOK) IsClientError() bool

IsClientError returns true when this get cluster secrets o k response has a 4xx status code

func (*GetClusterSecretsOK) IsCode

func (o *GetClusterSecretsOK) IsCode(code int) bool

IsCode returns true when this get cluster secrets o k response a status code equal to that given

func (*GetClusterSecretsOK) IsRedirect

func (o *GetClusterSecretsOK) IsRedirect() bool

IsRedirect returns true when this get cluster secrets o k response has a 3xx status code

func (*GetClusterSecretsOK) IsServerError

func (o *GetClusterSecretsOK) IsServerError() bool

IsServerError returns true when this get cluster secrets o k response has a 5xx status code

func (*GetClusterSecretsOK) IsSuccess

func (o *GetClusterSecretsOK) IsSuccess() bool

IsSuccess returns true when this get cluster secrets o k response has a 2xx status code

func (*GetClusterSecretsOK) String

func (o *GetClusterSecretsOK) String() string

type GetClusterSecretsParams

type GetClusterSecretsParams struct {

	/* ID.

	   id is the user-provided GNM cluster name
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterSecretsParams contains all the parameters to send to the API endpoint

for the get cluster secrets operation.

Typically these are written to a http.Request.

func NewGetClusterSecretsParams

func NewGetClusterSecretsParams() *GetClusterSecretsParams

NewGetClusterSecretsParams creates a new GetClusterSecretsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterSecretsParamsWithContext

func NewGetClusterSecretsParamsWithContext(ctx context.Context) *GetClusterSecretsParams

NewGetClusterSecretsParamsWithContext creates a new GetClusterSecretsParams object with the ability to set a context for a request.

func NewGetClusterSecretsParamsWithHTTPClient

func NewGetClusterSecretsParamsWithHTTPClient(client *http.Client) *GetClusterSecretsParams

NewGetClusterSecretsParamsWithHTTPClient creates a new GetClusterSecretsParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterSecretsParamsWithTimeout

func NewGetClusterSecretsParamsWithTimeout(timeout time.Duration) *GetClusterSecretsParams

NewGetClusterSecretsParamsWithTimeout creates a new GetClusterSecretsParams object with the ability to set a timeout on a request.

func (*GetClusterSecretsParams) SetContext

func (o *GetClusterSecretsParams) SetContext(ctx context.Context)

SetContext adds the context to the get cluster secrets params

func (*GetClusterSecretsParams) SetDefaults

func (o *GetClusterSecretsParams) SetDefaults()

SetDefaults hydrates default values in the get cluster secrets params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterSecretsParams) SetHTTPClient

func (o *GetClusterSecretsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster secrets params

func (*GetClusterSecretsParams) SetID

func (o *GetClusterSecretsParams) SetID(id string)

SetID adds the id to the get cluster secrets params

func (*GetClusterSecretsParams) SetLocationOrganizationID

func (o *GetClusterSecretsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get cluster secrets params

func (*GetClusterSecretsParams) SetLocationProjectID

func (o *GetClusterSecretsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get cluster secrets params

func (*GetClusterSecretsParams) SetLocationRegionProvider

func (o *GetClusterSecretsParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get cluster secrets params

func (*GetClusterSecretsParams) SetLocationRegionRegion

func (o *GetClusterSecretsParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get cluster secrets params

func (*GetClusterSecretsParams) SetTimeout

func (o *GetClusterSecretsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster secrets params

func (*GetClusterSecretsParams) WithContext

WithContext adds the context to the get cluster secrets params

func (*GetClusterSecretsParams) WithDefaults

WithDefaults hydrates default values in the get cluster secrets params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterSecretsParams) WithHTTPClient

func (o *GetClusterSecretsParams) WithHTTPClient(client *http.Client) *GetClusterSecretsParams

WithHTTPClient adds the HTTPClient to the get cluster secrets params

func (*GetClusterSecretsParams) WithID

WithID adds the id to the get cluster secrets params

func (*GetClusterSecretsParams) WithLocationOrganizationID

func (o *GetClusterSecretsParams) WithLocationOrganizationID(locationOrganizationID string) *GetClusterSecretsParams

WithLocationOrganizationID adds the locationOrganizationID to the get cluster secrets params

func (*GetClusterSecretsParams) WithLocationProjectID

func (o *GetClusterSecretsParams) WithLocationProjectID(locationProjectID string) *GetClusterSecretsParams

WithLocationProjectID adds the locationProjectID to the get cluster secrets params

func (*GetClusterSecretsParams) WithLocationRegionProvider

func (o *GetClusterSecretsParams) WithLocationRegionProvider(locationRegionProvider *string) *GetClusterSecretsParams

WithLocationRegionProvider adds the locationRegionProvider to the get cluster secrets params

func (*GetClusterSecretsParams) WithLocationRegionRegion

func (o *GetClusterSecretsParams) WithLocationRegionRegion(locationRegionRegion *string) *GetClusterSecretsParams

WithLocationRegionRegion adds the locationRegionRegion to the get cluster secrets params

func (*GetClusterSecretsParams) WithTimeout

WithTimeout adds the timeout to the get cluster secrets params

func (*GetClusterSecretsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterSecretsReader

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

GetClusterSecretsReader is a Reader for the GetClusterSecrets structure.

func (*GetClusterSecretsReader) ReadResponse

func (o *GetClusterSecretsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetObservabilitySecretDefault added in v0.63.0

type GetObservabilitySecretDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetObservabilitySecretDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetObservabilitySecretDefault added in v0.63.0

func NewGetObservabilitySecretDefault(code int) *GetObservabilitySecretDefault

NewGetObservabilitySecretDefault creates a GetObservabilitySecretDefault with default headers values

func (*GetObservabilitySecretDefault) Code added in v0.63.0

Code gets the status code for the get observability secret default response

func (*GetObservabilitySecretDefault) Error added in v0.63.0

func (*GetObservabilitySecretDefault) GetPayload added in v0.63.0

func (*GetObservabilitySecretDefault) IsClientError added in v0.63.0

func (o *GetObservabilitySecretDefault) IsClientError() bool

IsClientError returns true when this get observability secret default response has a 4xx status code

func (*GetObservabilitySecretDefault) IsCode added in v0.63.0

func (o *GetObservabilitySecretDefault) IsCode(code int) bool

IsCode returns true when this get observability secret default response a status code equal to that given

func (*GetObservabilitySecretDefault) IsRedirect added in v0.63.0

func (o *GetObservabilitySecretDefault) IsRedirect() bool

IsRedirect returns true when this get observability secret default response has a 3xx status code

func (*GetObservabilitySecretDefault) IsServerError added in v0.63.0

func (o *GetObservabilitySecretDefault) IsServerError() bool

IsServerError returns true when this get observability secret default response has a 5xx status code

func (*GetObservabilitySecretDefault) IsSuccess added in v0.63.0

func (o *GetObservabilitySecretDefault) IsSuccess() bool

IsSuccess returns true when this get observability secret default response has a 2xx status code

func (*GetObservabilitySecretDefault) String added in v0.63.0

type GetObservabilitySecretOK added in v0.63.0

type GetObservabilitySecretOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215GetObservabilitySecretResponse
}

GetObservabilitySecretOK describes a response with status code 200, with default header values.

A successful response.

func NewGetObservabilitySecretOK added in v0.63.0

func NewGetObservabilitySecretOK() *GetObservabilitySecretOK

NewGetObservabilitySecretOK creates a GetObservabilitySecretOK with default headers values

func (*GetObservabilitySecretOK) Code added in v0.69.0

func (o *GetObservabilitySecretOK) Code() int

Code gets the status code for the get observability secret o k response

func (*GetObservabilitySecretOK) Error added in v0.63.0

func (o *GetObservabilitySecretOK) Error() string

func (*GetObservabilitySecretOK) GetPayload added in v0.63.0

func (*GetObservabilitySecretOK) IsClientError added in v0.63.0

func (o *GetObservabilitySecretOK) IsClientError() bool

IsClientError returns true when this get observability secret o k response has a 4xx status code

func (*GetObservabilitySecretOK) IsCode added in v0.63.0

func (o *GetObservabilitySecretOK) IsCode(code int) bool

IsCode returns true when this get observability secret o k response a status code equal to that given

func (*GetObservabilitySecretOK) IsRedirect added in v0.63.0

func (o *GetObservabilitySecretOK) IsRedirect() bool

IsRedirect returns true when this get observability secret o k response has a 3xx status code

func (*GetObservabilitySecretOK) IsServerError added in v0.63.0

func (o *GetObservabilitySecretOK) IsServerError() bool

IsServerError returns true when this get observability secret o k response has a 5xx status code

func (*GetObservabilitySecretOK) IsSuccess added in v0.63.0

func (o *GetObservabilitySecretOK) IsSuccess() bool

IsSuccess returns true when this get observability secret o k response has a 2xx status code

func (*GetObservabilitySecretOK) String added in v0.63.0

func (o *GetObservabilitySecretOK) String() string

type GetObservabilitySecretParams added in v0.63.0

type GetObservabilitySecretParams struct {

	/* ID.

	   id is the user settable GNM cluster name of the cluster to update
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetObservabilitySecretParams contains all the parameters to send to the API endpoint

for the get observability secret operation.

Typically these are written to a http.Request.

func NewGetObservabilitySecretParams added in v0.63.0

func NewGetObservabilitySecretParams() *GetObservabilitySecretParams

NewGetObservabilitySecretParams creates a new GetObservabilitySecretParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetObservabilitySecretParamsWithContext added in v0.63.0

func NewGetObservabilitySecretParamsWithContext(ctx context.Context) *GetObservabilitySecretParams

NewGetObservabilitySecretParamsWithContext creates a new GetObservabilitySecretParams object with the ability to set a context for a request.

func NewGetObservabilitySecretParamsWithHTTPClient added in v0.63.0

func NewGetObservabilitySecretParamsWithHTTPClient(client *http.Client) *GetObservabilitySecretParams

NewGetObservabilitySecretParamsWithHTTPClient creates a new GetObservabilitySecretParams object with the ability to set a custom HTTPClient for a request.

func NewGetObservabilitySecretParamsWithTimeout added in v0.63.0

func NewGetObservabilitySecretParamsWithTimeout(timeout time.Duration) *GetObservabilitySecretParams

NewGetObservabilitySecretParamsWithTimeout creates a new GetObservabilitySecretParams object with the ability to set a timeout on a request.

func (*GetObservabilitySecretParams) SetContext added in v0.63.0

func (o *GetObservabilitySecretParams) SetContext(ctx context.Context)

SetContext adds the context to the get observability secret params

func (*GetObservabilitySecretParams) SetDefaults added in v0.63.0

func (o *GetObservabilitySecretParams) SetDefaults()

SetDefaults hydrates default values in the get observability secret params (not the query body).

All values with no default are reset to their zero value.

func (*GetObservabilitySecretParams) SetHTTPClient added in v0.63.0

func (o *GetObservabilitySecretParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get observability secret params

func (*GetObservabilitySecretParams) SetID added in v0.63.0

func (o *GetObservabilitySecretParams) SetID(id string)

SetID adds the id to the get observability secret params

func (*GetObservabilitySecretParams) SetLocationOrganizationID added in v0.63.0

func (o *GetObservabilitySecretParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get observability secret params

func (*GetObservabilitySecretParams) SetLocationProjectID added in v0.63.0

func (o *GetObservabilitySecretParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get observability secret params

func (*GetObservabilitySecretParams) SetLocationRegionProvider added in v0.63.0

func (o *GetObservabilitySecretParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get observability secret params

func (*GetObservabilitySecretParams) SetLocationRegionRegion added in v0.63.0

func (o *GetObservabilitySecretParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get observability secret params

func (*GetObservabilitySecretParams) SetTimeout added in v0.63.0

func (o *GetObservabilitySecretParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get observability secret params

func (*GetObservabilitySecretParams) WithContext added in v0.63.0

WithContext adds the context to the get observability secret params

func (*GetObservabilitySecretParams) WithDefaults added in v0.63.0

WithDefaults hydrates default values in the get observability secret params (not the query body).

All values with no default are reset to their zero value.

func (*GetObservabilitySecretParams) WithHTTPClient added in v0.63.0

WithHTTPClient adds the HTTPClient to the get observability secret params

func (*GetObservabilitySecretParams) WithID added in v0.63.0

WithID adds the id to the get observability secret params

func (*GetObservabilitySecretParams) WithLocationOrganizationID added in v0.63.0

func (o *GetObservabilitySecretParams) WithLocationOrganizationID(locationOrganizationID string) *GetObservabilitySecretParams

WithLocationOrganizationID adds the locationOrganizationID to the get observability secret params

func (*GetObservabilitySecretParams) WithLocationProjectID added in v0.63.0

func (o *GetObservabilitySecretParams) WithLocationProjectID(locationProjectID string) *GetObservabilitySecretParams

WithLocationProjectID adds the locationProjectID to the get observability secret params

func (*GetObservabilitySecretParams) WithLocationRegionProvider added in v0.63.0

func (o *GetObservabilitySecretParams) WithLocationRegionProvider(locationRegionProvider *string) *GetObservabilitySecretParams

WithLocationRegionProvider adds the locationRegionProvider to the get observability secret params

func (*GetObservabilitySecretParams) WithLocationRegionRegion added in v0.63.0

func (o *GetObservabilitySecretParams) WithLocationRegionRegion(locationRegionRegion *string) *GetObservabilitySecretParams

WithLocationRegionRegion adds the locationRegionRegion to the get observability secret params

func (*GetObservabilitySecretParams) WithTimeout added in v0.63.0

WithTimeout adds the timeout to the get observability secret params

func (*GetObservabilitySecretParams) WriteToRequest added in v0.63.0

WriteToRequest writes these params to a swagger request

type GetObservabilitySecretReader added in v0.63.0

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

GetObservabilitySecretReader is a Reader for the GetObservabilitySecret structure.

func (*GetObservabilitySecretReader) ReadResponse added in v0.63.0

func (o *GetObservabilitySecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetServiceDefault added in v0.62.0

type GetServiceDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetServiceDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetServiceDefault added in v0.62.0

func NewGetServiceDefault(code int) *GetServiceDefault

NewGetServiceDefault creates a GetServiceDefault with default headers values

func (*GetServiceDefault) Code added in v0.62.0

func (o *GetServiceDefault) Code() int

Code gets the status code for the get service default response

func (*GetServiceDefault) Error added in v0.62.0

func (o *GetServiceDefault) Error() string

func (*GetServiceDefault) GetPayload added in v0.62.0

func (o *GetServiceDefault) GetPayload() *cloud.GoogleRPCStatus

func (*GetServiceDefault) IsClientError added in v0.62.0

func (o *GetServiceDefault) IsClientError() bool

IsClientError returns true when this get service default response has a 4xx status code

func (*GetServiceDefault) IsCode added in v0.62.0

func (o *GetServiceDefault) IsCode(code int) bool

IsCode returns true when this get service default response a status code equal to that given

func (*GetServiceDefault) IsRedirect added in v0.62.0

func (o *GetServiceDefault) IsRedirect() bool

IsRedirect returns true when this get service default response has a 3xx status code

func (*GetServiceDefault) IsServerError added in v0.62.0

func (o *GetServiceDefault) IsServerError() bool

IsServerError returns true when this get service default response has a 5xx status code

func (*GetServiceDefault) IsSuccess added in v0.62.0

func (o *GetServiceDefault) IsSuccess() bool

IsSuccess returns true when this get service default response has a 2xx status code

func (*GetServiceDefault) String added in v0.62.0

func (o *GetServiceDefault) String() string

type GetServiceOK added in v0.62.0

GetServiceOK describes a response with status code 200, with default header values.

A successful response.

func NewGetServiceOK added in v0.62.0

func NewGetServiceOK() *GetServiceOK

NewGetServiceOK creates a GetServiceOK with default headers values

func (*GetServiceOK) Code added in v0.69.0

func (o *GetServiceOK) Code() int

Code gets the status code for the get service o k response

func (*GetServiceOK) Error added in v0.62.0

func (o *GetServiceOK) Error() string

func (*GetServiceOK) GetPayload added in v0.62.0

func (*GetServiceOK) IsClientError added in v0.62.0

func (o *GetServiceOK) IsClientError() bool

IsClientError returns true when this get service o k response has a 4xx status code

func (*GetServiceOK) IsCode added in v0.62.0

func (o *GetServiceOK) IsCode(code int) bool

IsCode returns true when this get service o k response a status code equal to that given

func (*GetServiceOK) IsRedirect added in v0.62.0

func (o *GetServiceOK) IsRedirect() bool

IsRedirect returns true when this get service o k response has a 3xx status code

func (*GetServiceOK) IsServerError added in v0.62.0

func (o *GetServiceOK) IsServerError() bool

IsServerError returns true when this get service o k response has a 5xx status code

func (*GetServiceOK) IsSuccess added in v0.62.0

func (o *GetServiceOK) IsSuccess() bool

IsSuccess returns true when this get service o k response has a 2xx status code

func (*GetServiceOK) String added in v0.62.0

func (o *GetServiceOK) String() string

type GetServiceParams added in v0.62.0

type GetServiceParams struct {

	/* ClusterResourceName.

	   Cluster Resource Name will be of the form `consul/project/<project_id>/cluster/<cluster_id>`
	*/
	ClusterResourceName string

	/* Namespace.

	   Query param filter: `namespace` of the service.
	*/
	Namespace *string

	/* Partition.

	   Query param filter: `partition` of the service.
	*/
	Partition *string

	/* ServiceName.

	   The `name` of the service.
	*/
	ServiceName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetServiceParams contains all the parameters to send to the API endpoint

for the get service operation.

Typically these are written to a http.Request.

func NewGetServiceParams added in v0.62.0

func NewGetServiceParams() *GetServiceParams

NewGetServiceParams creates a new GetServiceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetServiceParamsWithContext added in v0.62.0

func NewGetServiceParamsWithContext(ctx context.Context) *GetServiceParams

NewGetServiceParamsWithContext creates a new GetServiceParams object with the ability to set a context for a request.

func NewGetServiceParamsWithHTTPClient added in v0.62.0

func NewGetServiceParamsWithHTTPClient(client *http.Client) *GetServiceParams

NewGetServiceParamsWithHTTPClient creates a new GetServiceParams object with the ability to set a custom HTTPClient for a request.

func NewGetServiceParamsWithTimeout added in v0.62.0

func NewGetServiceParamsWithTimeout(timeout time.Duration) *GetServiceParams

NewGetServiceParamsWithTimeout creates a new GetServiceParams object with the ability to set a timeout on a request.

func (*GetServiceParams) SetClusterResourceName added in v0.62.0

func (o *GetServiceParams) SetClusterResourceName(clusterResourceName string)

SetClusterResourceName adds the clusterResourceName to the get service params

func (*GetServiceParams) SetContext added in v0.62.0

func (o *GetServiceParams) SetContext(ctx context.Context)

SetContext adds the context to the get service params

func (*GetServiceParams) SetDefaults added in v0.62.0

func (o *GetServiceParams) SetDefaults()

SetDefaults hydrates default values in the get service params (not the query body).

All values with no default are reset to their zero value.

func (*GetServiceParams) SetHTTPClient added in v0.62.0

func (o *GetServiceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get service params

func (*GetServiceParams) SetNamespace added in v0.62.0

func (o *GetServiceParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the get service params

func (*GetServiceParams) SetPartition added in v0.62.0

func (o *GetServiceParams) SetPartition(partition *string)

SetPartition adds the partition to the get service params

func (*GetServiceParams) SetServiceName added in v0.62.0

func (o *GetServiceParams) SetServiceName(serviceName string)

SetServiceName adds the serviceName to the get service params

func (*GetServiceParams) SetTimeout added in v0.62.0

func (o *GetServiceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get service params

func (*GetServiceParams) WithClusterResourceName added in v0.62.0

func (o *GetServiceParams) WithClusterResourceName(clusterResourceName string) *GetServiceParams

WithClusterResourceName adds the clusterResourceName to the get service params

func (*GetServiceParams) WithContext added in v0.62.0

func (o *GetServiceParams) WithContext(ctx context.Context) *GetServiceParams

WithContext adds the context to the get service params

func (*GetServiceParams) WithDefaults added in v0.62.0

func (o *GetServiceParams) WithDefaults() *GetServiceParams

WithDefaults hydrates default values in the get service params (not the query body).

All values with no default are reset to their zero value.

func (*GetServiceParams) WithHTTPClient added in v0.62.0

func (o *GetServiceParams) WithHTTPClient(client *http.Client) *GetServiceParams

WithHTTPClient adds the HTTPClient to the get service params

func (*GetServiceParams) WithNamespace added in v0.62.0

func (o *GetServiceParams) WithNamespace(namespace *string) *GetServiceParams

WithNamespace adds the namespace to the get service params

func (*GetServiceParams) WithPartition added in v0.62.0

func (o *GetServiceParams) WithPartition(partition *string) *GetServiceParams

WithPartition adds the partition to the get service params

func (*GetServiceParams) WithServiceName added in v0.62.0

func (o *GetServiceParams) WithServiceName(serviceName string) *GetServiceParams

WithServiceName adds the serviceName to the get service params

func (*GetServiceParams) WithTimeout added in v0.62.0

func (o *GetServiceParams) WithTimeout(timeout time.Duration) *GetServiceParams

WithTimeout adds the timeout to the get service params

func (*GetServiceParams) WriteToRequest added in v0.62.0

func (o *GetServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetServiceReader added in v0.62.0

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

GetServiceReader is a Reader for the GetService structure.

func (*GetServiceReader) ReadResponse added in v0.62.0

func (o *GetServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetServiceSummariesDefault

type GetServiceSummariesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetServiceSummariesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetServiceSummariesDefault

func NewGetServiceSummariesDefault(code int) *GetServiceSummariesDefault

NewGetServiceSummariesDefault creates a GetServiceSummariesDefault with default headers values

func (*GetServiceSummariesDefault) Code

func (o *GetServiceSummariesDefault) Code() int

Code gets the status code for the get service summaries default response

func (*GetServiceSummariesDefault) Error

func (*GetServiceSummariesDefault) GetPayload

func (*GetServiceSummariesDefault) IsClientError

func (o *GetServiceSummariesDefault) IsClientError() bool

IsClientError returns true when this get service summaries default response has a 4xx status code

func (*GetServiceSummariesDefault) IsCode

func (o *GetServiceSummariesDefault) IsCode(code int) bool

IsCode returns true when this get service summaries default response a status code equal to that given

func (*GetServiceSummariesDefault) IsRedirect

func (o *GetServiceSummariesDefault) IsRedirect() bool

IsRedirect returns true when this get service summaries default response has a 3xx status code

func (*GetServiceSummariesDefault) IsServerError

func (o *GetServiceSummariesDefault) IsServerError() bool

IsServerError returns true when this get service summaries default response has a 5xx status code

func (*GetServiceSummariesDefault) IsSuccess

func (o *GetServiceSummariesDefault) IsSuccess() bool

IsSuccess returns true when this get service summaries default response has a 2xx status code

func (*GetServiceSummariesDefault) String

func (o *GetServiceSummariesDefault) String() string

type GetServiceSummariesOK

type GetServiceSummariesOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse
}

GetServiceSummariesOK describes a response with status code 200, with default header values.

A successful response.

func NewGetServiceSummariesOK

func NewGetServiceSummariesOK() *GetServiceSummariesOK

NewGetServiceSummariesOK creates a GetServiceSummariesOK with default headers values

func (*GetServiceSummariesOK) Code added in v0.69.0

func (o *GetServiceSummariesOK) Code() int

Code gets the status code for the get service summaries o k response

func (*GetServiceSummariesOK) Error

func (o *GetServiceSummariesOK) Error() string

func (*GetServiceSummariesOK) IsClientError

func (o *GetServiceSummariesOK) IsClientError() bool

IsClientError returns true when this get service summaries o k response has a 4xx status code

func (*GetServiceSummariesOK) IsCode

func (o *GetServiceSummariesOK) IsCode(code int) bool

IsCode returns true when this get service summaries o k response a status code equal to that given

func (*GetServiceSummariesOK) IsRedirect

func (o *GetServiceSummariesOK) IsRedirect() bool

IsRedirect returns true when this get service summaries o k response has a 3xx status code

func (*GetServiceSummariesOK) IsServerError

func (o *GetServiceSummariesOK) IsServerError() bool

IsServerError returns true when this get service summaries o k response has a 5xx status code

func (*GetServiceSummariesOK) IsSuccess

func (o *GetServiceSummariesOK) IsSuccess() bool

IsSuccess returns true when this get service summaries o k response has a 2xx status code

func (*GetServiceSummariesOK) String

func (o *GetServiceSummariesOK) String() string

type GetServiceSummariesParams

type GetServiceSummariesParams struct {

	/* FilterClusters.

	   clusters matches summaries on the cluster name
	*/
	FilterClusters []string

	/* FilterKinds.

	    kinds matches service kind. If empty, this defaults to all kinds

	- KIND_UNSPECIFIED: The default, unspecified service kind. Kind unknown.
	- KIND_TYPICAL: A typical, classic Consul service.
	- KIND_CONNECT_PROXY: A Connect proxy instance.
	- KIND_MESH_GATEWAY: A mesh gateway service instance.
	- KIND_TERMINATING_GATEWAY: A terminating gateway service instance.
	- KIND_INGRESS_GATEWAY: An ingress gateway service instance.
	- KIND_DESTINATION: A Destination  for the Connect feature.
	- KIND_API_GATEWAY: An API gateway service instance
	*/
	FilterKinds []string

	/* FilterNameSubstr.

	   name_substr matches summaries that contain a case-insensitive substring in their service name
	*/
	FilterNameSubstr *string

	/* FilterNamespaces.

	   namespaces matches summaries on the namespace name
	*/
	FilterNamespaces []string

	/* FilterPartitions.

	   partitions matches summaries on the partition name
	*/
	FilterPartitions []string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this parameter to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The maximum number of results per page to return. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned, which you can use to get the next page of results in subsequent
	requests. A value of zero causes `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this parameter to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetServiceSummariesParams contains all the parameters to send to the API endpoint

for the get service summaries operation.

Typically these are written to a http.Request.

func NewGetServiceSummariesParams

func NewGetServiceSummariesParams() *GetServiceSummariesParams

NewGetServiceSummariesParams creates a new GetServiceSummariesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetServiceSummariesParamsWithContext

func NewGetServiceSummariesParamsWithContext(ctx context.Context) *GetServiceSummariesParams

NewGetServiceSummariesParamsWithContext creates a new GetServiceSummariesParams object with the ability to set a context for a request.

func NewGetServiceSummariesParamsWithHTTPClient

func NewGetServiceSummariesParamsWithHTTPClient(client *http.Client) *GetServiceSummariesParams

NewGetServiceSummariesParamsWithHTTPClient creates a new GetServiceSummariesParams object with the ability to set a custom HTTPClient for a request.

func NewGetServiceSummariesParamsWithTimeout

func NewGetServiceSummariesParamsWithTimeout(timeout time.Duration) *GetServiceSummariesParams

NewGetServiceSummariesParamsWithTimeout creates a new GetServiceSummariesParams object with the ability to set a timeout on a request.

func (*GetServiceSummariesParams) SetContext

func (o *GetServiceSummariesParams) SetContext(ctx context.Context)

SetContext adds the context to the get service summaries params

func (*GetServiceSummariesParams) SetDefaults

func (o *GetServiceSummariesParams) SetDefaults()

SetDefaults hydrates default values in the get service summaries params (not the query body).

All values with no default are reset to their zero value.

func (*GetServiceSummariesParams) SetFilterClusters added in v0.40.0

func (o *GetServiceSummariesParams) SetFilterClusters(filterClusters []string)

SetFilterClusters adds the filterClusters to the get service summaries params

func (*GetServiceSummariesParams) SetFilterKinds added in v0.40.0

func (o *GetServiceSummariesParams) SetFilterKinds(filterKinds []string)

SetFilterKinds adds the filterKinds to the get service summaries params

func (*GetServiceSummariesParams) SetFilterNameSubstr added in v0.40.0

func (o *GetServiceSummariesParams) SetFilterNameSubstr(filterNameSubstr *string)

SetFilterNameSubstr adds the filterNameSubstr to the get service summaries params

func (*GetServiceSummariesParams) SetFilterNamespaces added in v0.40.0

func (o *GetServiceSummariesParams) SetFilterNamespaces(filterNamespaces []string)

SetFilterNamespaces adds the filterNamespaces to the get service summaries params

func (*GetServiceSummariesParams) SetFilterPartitions added in v0.40.0

func (o *GetServiceSummariesParams) SetFilterPartitions(filterPartitions []string)

SetFilterPartitions adds the filterPartitions to the get service summaries params

func (*GetServiceSummariesParams) SetHTTPClient

func (o *GetServiceSummariesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get service summaries params

func (*GetServiceSummariesParams) SetLocationOrganizationID

func (o *GetServiceSummariesParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get service summaries params

func (*GetServiceSummariesParams) SetLocationProjectID

func (o *GetServiceSummariesParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get service summaries params

func (*GetServiceSummariesParams) SetLocationRegionProvider

func (o *GetServiceSummariesParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get service summaries params

func (*GetServiceSummariesParams) SetLocationRegionRegion

func (o *GetServiceSummariesParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get service summaries params

func (*GetServiceSummariesParams) SetPaginationNextPageToken

func (o *GetServiceSummariesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the get service summaries params

func (*GetServiceSummariesParams) SetPaginationPageSize

func (o *GetServiceSummariesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the get service summaries params

func (*GetServiceSummariesParams) SetPaginationPreviousPageToken

func (o *GetServiceSummariesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the get service summaries params

func (*GetServiceSummariesParams) SetTimeout

func (o *GetServiceSummariesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get service summaries params

func (*GetServiceSummariesParams) WithContext

WithContext adds the context to the get service summaries params

func (*GetServiceSummariesParams) WithDefaults

WithDefaults hydrates default values in the get service summaries params (not the query body).

All values with no default are reset to their zero value.

func (*GetServiceSummariesParams) WithFilterClusters added in v0.40.0

func (o *GetServiceSummariesParams) WithFilterClusters(filterClusters []string) *GetServiceSummariesParams

WithFilterClusters adds the filterClusters to the get service summaries params

func (*GetServiceSummariesParams) WithFilterKinds added in v0.40.0

func (o *GetServiceSummariesParams) WithFilterKinds(filterKinds []string) *GetServiceSummariesParams

WithFilterKinds adds the filterKinds to the get service summaries params

func (*GetServiceSummariesParams) WithFilterNameSubstr added in v0.40.0

func (o *GetServiceSummariesParams) WithFilterNameSubstr(filterNameSubstr *string) *GetServiceSummariesParams

WithFilterNameSubstr adds the filterNameSubstr to the get service summaries params

func (*GetServiceSummariesParams) WithFilterNamespaces added in v0.40.0

func (o *GetServiceSummariesParams) WithFilterNamespaces(filterNamespaces []string) *GetServiceSummariesParams

WithFilterNamespaces adds the filterNamespaces to the get service summaries params

func (*GetServiceSummariesParams) WithFilterPartitions added in v0.40.0

func (o *GetServiceSummariesParams) WithFilterPartitions(filterPartitions []string) *GetServiceSummariesParams

WithFilterPartitions adds the filterPartitions to the get service summaries params

func (*GetServiceSummariesParams) WithHTTPClient

func (o *GetServiceSummariesParams) WithHTTPClient(client *http.Client) *GetServiceSummariesParams

WithHTTPClient adds the HTTPClient to the get service summaries params

func (*GetServiceSummariesParams) WithLocationOrganizationID

func (o *GetServiceSummariesParams) WithLocationOrganizationID(locationOrganizationID string) *GetServiceSummariesParams

WithLocationOrganizationID adds the locationOrganizationID to the get service summaries params

func (*GetServiceSummariesParams) WithLocationProjectID

func (o *GetServiceSummariesParams) WithLocationProjectID(locationProjectID string) *GetServiceSummariesParams

WithLocationProjectID adds the locationProjectID to the get service summaries params

func (*GetServiceSummariesParams) WithLocationRegionProvider

func (o *GetServiceSummariesParams) WithLocationRegionProvider(locationRegionProvider *string) *GetServiceSummariesParams

WithLocationRegionProvider adds the locationRegionProvider to the get service summaries params

func (*GetServiceSummariesParams) WithLocationRegionRegion

func (o *GetServiceSummariesParams) WithLocationRegionRegion(locationRegionRegion *string) *GetServiceSummariesParams

WithLocationRegionRegion adds the locationRegionRegion to the get service summaries params

func (*GetServiceSummariesParams) WithPaginationNextPageToken

func (o *GetServiceSummariesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *GetServiceSummariesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the get service summaries params

func (*GetServiceSummariesParams) WithPaginationPageSize

func (o *GetServiceSummariesParams) WithPaginationPageSize(paginationPageSize *int64) *GetServiceSummariesParams

WithPaginationPageSize adds the paginationPageSize to the get service summaries params

func (*GetServiceSummariesParams) WithPaginationPreviousPageToken

func (o *GetServiceSummariesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *GetServiceSummariesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the get service summaries params

func (*GetServiceSummariesParams) WithTimeout

WithTimeout adds the timeout to the get service summaries params

func (*GetServiceSummariesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceSummariesReader

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

GetServiceSummariesReader is a Reader for the GetServiceSummaries structure.

func (*GetServiceSummariesReader) ReadResponse

func (o *GetServiceSummariesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrialDefault added in v0.62.0

type GetTrialDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetTrialDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetTrialDefault added in v0.62.0

func NewGetTrialDefault(code int) *GetTrialDefault

NewGetTrialDefault creates a GetTrialDefault with default headers values

func (*GetTrialDefault) Code added in v0.62.0

func (o *GetTrialDefault) Code() int

Code gets the status code for the get trial default response

func (*GetTrialDefault) Error added in v0.62.0

func (o *GetTrialDefault) Error() string

func (*GetTrialDefault) GetPayload added in v0.62.0

func (o *GetTrialDefault) GetPayload() *cloud.GoogleRPCStatus

func (*GetTrialDefault) IsClientError added in v0.62.0

func (o *GetTrialDefault) IsClientError() bool

IsClientError returns true when this get trial default response has a 4xx status code

func (*GetTrialDefault) IsCode added in v0.62.0

func (o *GetTrialDefault) IsCode(code int) bool

IsCode returns true when this get trial default response a status code equal to that given

func (*GetTrialDefault) IsRedirect added in v0.62.0

func (o *GetTrialDefault) IsRedirect() bool

IsRedirect returns true when this get trial default response has a 3xx status code

func (*GetTrialDefault) IsServerError added in v0.62.0

func (o *GetTrialDefault) IsServerError() bool

IsServerError returns true when this get trial default response has a 5xx status code

func (*GetTrialDefault) IsSuccess added in v0.62.0

func (o *GetTrialDefault) IsSuccess() bool

IsSuccess returns true when this get trial default response has a 2xx status code

func (*GetTrialDefault) String added in v0.62.0

func (o *GetTrialDefault) String() string

type GetTrialOK added in v0.62.0

GetTrialOK describes a response with status code 200, with default header values.

A successful response.

func NewGetTrialOK added in v0.62.0

func NewGetTrialOK() *GetTrialOK

NewGetTrialOK creates a GetTrialOK with default headers values

func (*GetTrialOK) Code added in v0.69.0

func (o *GetTrialOK) Code() int

Code gets the status code for the get trial o k response

func (*GetTrialOK) Error added in v0.62.0

func (o *GetTrialOK) Error() string

func (*GetTrialOK) GetPayload added in v0.62.0

func (*GetTrialOK) IsClientError added in v0.62.0

func (o *GetTrialOK) IsClientError() bool

IsClientError returns true when this get trial o k response has a 4xx status code

func (*GetTrialOK) IsCode added in v0.62.0

func (o *GetTrialOK) IsCode(code int) bool

IsCode returns true when this get trial o k response a status code equal to that given

func (*GetTrialOK) IsRedirect added in v0.62.0

func (o *GetTrialOK) IsRedirect() bool

IsRedirect returns true when this get trial o k response has a 3xx status code

func (*GetTrialOK) IsServerError added in v0.62.0

func (o *GetTrialOK) IsServerError() bool

IsServerError returns true when this get trial o k response has a 5xx status code

func (*GetTrialOK) IsSuccess added in v0.62.0

func (o *GetTrialOK) IsSuccess() bool

IsSuccess returns true when this get trial o k response has a 2xx status code

func (*GetTrialOK) String added in v0.62.0

func (o *GetTrialOK) String() string

type GetTrialParams added in v0.62.0

type GetTrialParams struct {

	// OrganizationID.
	OrganizationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrialParams contains all the parameters to send to the API endpoint

for the get trial operation.

Typically these are written to a http.Request.

func NewGetTrialParams added in v0.62.0

func NewGetTrialParams() *GetTrialParams

NewGetTrialParams creates a new GetTrialParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTrialParamsWithContext added in v0.62.0

func NewGetTrialParamsWithContext(ctx context.Context) *GetTrialParams

NewGetTrialParamsWithContext creates a new GetTrialParams object with the ability to set a context for a request.

func NewGetTrialParamsWithHTTPClient added in v0.62.0

func NewGetTrialParamsWithHTTPClient(client *http.Client) *GetTrialParams

NewGetTrialParamsWithHTTPClient creates a new GetTrialParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrialParamsWithTimeout added in v0.62.0

func NewGetTrialParamsWithTimeout(timeout time.Duration) *GetTrialParams

NewGetTrialParamsWithTimeout creates a new GetTrialParams object with the ability to set a timeout on a request.

func (*GetTrialParams) SetContext added in v0.62.0

func (o *GetTrialParams) SetContext(ctx context.Context)

SetContext adds the context to the get trial params

func (*GetTrialParams) SetDefaults added in v0.62.0

func (o *GetTrialParams) SetDefaults()

SetDefaults hydrates default values in the get trial params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrialParams) SetHTTPClient added in v0.62.0

func (o *GetTrialParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get trial params

func (*GetTrialParams) SetOrganizationID added in v0.62.0

func (o *GetTrialParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get trial params

func (*GetTrialParams) SetTimeout added in v0.62.0

func (o *GetTrialParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get trial params

func (*GetTrialParams) WithContext added in v0.62.0

func (o *GetTrialParams) WithContext(ctx context.Context) *GetTrialParams

WithContext adds the context to the get trial params

func (*GetTrialParams) WithDefaults added in v0.62.0

func (o *GetTrialParams) WithDefaults() *GetTrialParams

WithDefaults hydrates default values in the get trial params (not the query body).

All values with no default are reset to their zero value.

func (*GetTrialParams) WithHTTPClient added in v0.62.0

func (o *GetTrialParams) WithHTTPClient(client *http.Client) *GetTrialParams

WithHTTPClient adds the HTTPClient to the get trial params

func (*GetTrialParams) WithOrganizationID added in v0.62.0

func (o *GetTrialParams) WithOrganizationID(organizationID string) *GetTrialParams

WithOrganizationID adds the organizationID to the get trial params

func (*GetTrialParams) WithTimeout added in v0.62.0

func (o *GetTrialParams) WithTimeout(timeout time.Duration) *GetTrialParams

WithTimeout adds the timeout to the get trial params

func (*GetTrialParams) WriteToRequest added in v0.62.0

func (o *GetTrialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTrialReader added in v0.62.0

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

GetTrialReader is a Reader for the GetTrial structure.

func (*GetTrialReader) ReadResponse added in v0.62.0

func (o *GetTrialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListClusterPartitionsDefault added in v0.40.0

type ListClusterPartitionsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListClusterPartitionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListClusterPartitionsDefault added in v0.40.0

func NewListClusterPartitionsDefault(code int) *ListClusterPartitionsDefault

NewListClusterPartitionsDefault creates a ListClusterPartitionsDefault with default headers values

func (*ListClusterPartitionsDefault) Code added in v0.40.0

Code gets the status code for the list cluster partitions default response

func (*ListClusterPartitionsDefault) Error added in v0.40.0

func (*ListClusterPartitionsDefault) GetPayload added in v0.40.0

func (*ListClusterPartitionsDefault) IsClientError added in v0.40.0

func (o *ListClusterPartitionsDefault) IsClientError() bool

IsClientError returns true when this list cluster partitions default response has a 4xx status code

func (*ListClusterPartitionsDefault) IsCode added in v0.40.0

func (o *ListClusterPartitionsDefault) IsCode(code int) bool

IsCode returns true when this list cluster partitions default response a status code equal to that given

func (*ListClusterPartitionsDefault) IsRedirect added in v0.40.0

func (o *ListClusterPartitionsDefault) IsRedirect() bool

IsRedirect returns true when this list cluster partitions default response has a 3xx status code

func (*ListClusterPartitionsDefault) IsServerError added in v0.40.0

func (o *ListClusterPartitionsDefault) IsServerError() bool

IsServerError returns true when this list cluster partitions default response has a 5xx status code

func (*ListClusterPartitionsDefault) IsSuccess added in v0.40.0

func (o *ListClusterPartitionsDefault) IsSuccess() bool

IsSuccess returns true when this list cluster partitions default response has a 2xx status code

func (*ListClusterPartitionsDefault) String added in v0.40.0

type ListClusterPartitionsOK added in v0.40.0

type ListClusterPartitionsOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse
}

ListClusterPartitionsOK describes a response with status code 200, with default header values.

A successful response.

func NewListClusterPartitionsOK added in v0.40.0

func NewListClusterPartitionsOK() *ListClusterPartitionsOK

NewListClusterPartitionsOK creates a ListClusterPartitionsOK with default headers values

func (*ListClusterPartitionsOK) Code added in v0.69.0

func (o *ListClusterPartitionsOK) Code() int

Code gets the status code for the list cluster partitions o k response

func (*ListClusterPartitionsOK) Error added in v0.40.0

func (o *ListClusterPartitionsOK) Error() string

func (*ListClusterPartitionsOK) GetPayload added in v0.40.0

func (*ListClusterPartitionsOK) IsClientError added in v0.40.0

func (o *ListClusterPartitionsOK) IsClientError() bool

IsClientError returns true when this list cluster partitions o k response has a 4xx status code

func (*ListClusterPartitionsOK) IsCode added in v0.40.0

func (o *ListClusterPartitionsOK) IsCode(code int) bool

IsCode returns true when this list cluster partitions o k response a status code equal to that given

func (*ListClusterPartitionsOK) IsRedirect added in v0.40.0

func (o *ListClusterPartitionsOK) IsRedirect() bool

IsRedirect returns true when this list cluster partitions o k response has a 3xx status code

func (*ListClusterPartitionsOK) IsServerError added in v0.40.0

func (o *ListClusterPartitionsOK) IsServerError() bool

IsServerError returns true when this list cluster partitions o k response has a 5xx status code

func (*ListClusterPartitionsOK) IsSuccess added in v0.40.0

func (o *ListClusterPartitionsOK) IsSuccess() bool

IsSuccess returns true when this list cluster partitions o k response has a 2xx status code

func (*ListClusterPartitionsOK) String added in v0.40.0

func (o *ListClusterPartitionsOK) String() string

type ListClusterPartitionsParams added in v0.40.0

type ListClusterPartitionsParams struct {

	/* ID.

	   id is the user settable GNM cluster name
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClusterPartitionsParams contains all the parameters to send to the API endpoint

for the list cluster partitions operation.

Typically these are written to a http.Request.

func NewListClusterPartitionsParams added in v0.40.0

func NewListClusterPartitionsParams() *ListClusterPartitionsParams

NewListClusterPartitionsParams creates a new ListClusterPartitionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListClusterPartitionsParamsWithContext added in v0.40.0

func NewListClusterPartitionsParamsWithContext(ctx context.Context) *ListClusterPartitionsParams

NewListClusterPartitionsParamsWithContext creates a new ListClusterPartitionsParams object with the ability to set a context for a request.

func NewListClusterPartitionsParamsWithHTTPClient added in v0.40.0

func NewListClusterPartitionsParamsWithHTTPClient(client *http.Client) *ListClusterPartitionsParams

NewListClusterPartitionsParamsWithHTTPClient creates a new ListClusterPartitionsParams object with the ability to set a custom HTTPClient for a request.

func NewListClusterPartitionsParamsWithTimeout added in v0.40.0

func NewListClusterPartitionsParamsWithTimeout(timeout time.Duration) *ListClusterPartitionsParams

NewListClusterPartitionsParamsWithTimeout creates a new ListClusterPartitionsParams object with the ability to set a timeout on a request.

func (*ListClusterPartitionsParams) SetContext added in v0.40.0

func (o *ListClusterPartitionsParams) SetContext(ctx context.Context)

SetContext adds the context to the list cluster partitions params

func (*ListClusterPartitionsParams) SetDefaults added in v0.40.0

func (o *ListClusterPartitionsParams) SetDefaults()

SetDefaults hydrates default values in the list cluster partitions params (not the query body).

All values with no default are reset to their zero value.

func (*ListClusterPartitionsParams) SetHTTPClient added in v0.40.0

func (o *ListClusterPartitionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list cluster partitions params

func (*ListClusterPartitionsParams) SetID added in v0.40.0

func (o *ListClusterPartitionsParams) SetID(id string)

SetID adds the id to the list cluster partitions params

func (*ListClusterPartitionsParams) SetLocationOrganizationID added in v0.40.0

func (o *ListClusterPartitionsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the list cluster partitions params

func (*ListClusterPartitionsParams) SetLocationProjectID added in v0.40.0

func (o *ListClusterPartitionsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the list cluster partitions params

func (*ListClusterPartitionsParams) SetLocationRegionProvider added in v0.40.0

func (o *ListClusterPartitionsParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the list cluster partitions params

func (*ListClusterPartitionsParams) SetLocationRegionRegion added in v0.40.0

func (o *ListClusterPartitionsParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the list cluster partitions params

func (*ListClusterPartitionsParams) SetTimeout added in v0.40.0

func (o *ListClusterPartitionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list cluster partitions params

func (*ListClusterPartitionsParams) WithContext added in v0.40.0

WithContext adds the context to the list cluster partitions params

func (*ListClusterPartitionsParams) WithDefaults added in v0.40.0

WithDefaults hydrates default values in the list cluster partitions params (not the query body).

All values with no default are reset to their zero value.

func (*ListClusterPartitionsParams) WithHTTPClient added in v0.40.0

WithHTTPClient adds the HTTPClient to the list cluster partitions params

func (*ListClusterPartitionsParams) WithID added in v0.40.0

WithID adds the id to the list cluster partitions params

func (*ListClusterPartitionsParams) WithLocationOrganizationID added in v0.40.0

func (o *ListClusterPartitionsParams) WithLocationOrganizationID(locationOrganizationID string) *ListClusterPartitionsParams

WithLocationOrganizationID adds the locationOrganizationID to the list cluster partitions params

func (*ListClusterPartitionsParams) WithLocationProjectID added in v0.40.0

func (o *ListClusterPartitionsParams) WithLocationProjectID(locationProjectID string) *ListClusterPartitionsParams

WithLocationProjectID adds the locationProjectID to the list cluster partitions params

func (*ListClusterPartitionsParams) WithLocationRegionProvider added in v0.40.0

func (o *ListClusterPartitionsParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClusterPartitionsParams

WithLocationRegionProvider adds the locationRegionProvider to the list cluster partitions params

func (*ListClusterPartitionsParams) WithLocationRegionRegion added in v0.40.0

func (o *ListClusterPartitionsParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClusterPartitionsParams

WithLocationRegionRegion adds the locationRegionRegion to the list cluster partitions params

func (*ListClusterPartitionsParams) WithTimeout added in v0.40.0

WithTimeout adds the timeout to the list cluster partitions params

func (*ListClusterPartitionsParams) WriteToRequest added in v0.40.0

WriteToRequest writes these params to a swagger request

type ListClusterPartitionsReader added in v0.40.0

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

ListClusterPartitionsReader is a Reader for the ListClusterPartitions structure.

func (*ListClusterPartitionsReader) ReadResponse added in v0.40.0

func (o *ListClusterPartitionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListClusterServersDefault

type ListClusterServersDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListClusterServersDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListClusterServersDefault

func NewListClusterServersDefault(code int) *ListClusterServersDefault

NewListClusterServersDefault creates a ListClusterServersDefault with default headers values

func (*ListClusterServersDefault) Code

func (o *ListClusterServersDefault) Code() int

Code gets the status code for the list cluster servers default response

func (*ListClusterServersDefault) Error

func (o *ListClusterServersDefault) Error() string

func (*ListClusterServersDefault) GetPayload

func (*ListClusterServersDefault) IsClientError

func (o *ListClusterServersDefault) IsClientError() bool

IsClientError returns true when this list cluster servers default response has a 4xx status code

func (*ListClusterServersDefault) IsCode

func (o *ListClusterServersDefault) IsCode(code int) bool

IsCode returns true when this list cluster servers default response a status code equal to that given

func (*ListClusterServersDefault) IsRedirect

func (o *ListClusterServersDefault) IsRedirect() bool

IsRedirect returns true when this list cluster servers default response has a 3xx status code

func (*ListClusterServersDefault) IsServerError

func (o *ListClusterServersDefault) IsServerError() bool

IsServerError returns true when this list cluster servers default response has a 5xx status code

func (*ListClusterServersDefault) IsSuccess

func (o *ListClusterServersDefault) IsSuccess() bool

IsSuccess returns true when this list cluster servers default response has a 2xx status code

func (*ListClusterServersDefault) String

func (o *ListClusterServersDefault) String() string

type ListClusterServersOK

ListClusterServersOK describes a response with status code 200, with default header values.

A successful response.

func NewListClusterServersOK

func NewListClusterServersOK() *ListClusterServersOK

NewListClusterServersOK creates a ListClusterServersOK with default headers values

func (*ListClusterServersOK) Code added in v0.69.0

func (o *ListClusterServersOK) Code() int

Code gets the status code for the list cluster servers o k response

func (*ListClusterServersOK) Error

func (o *ListClusterServersOK) Error() string

func (*ListClusterServersOK) IsClientError

func (o *ListClusterServersOK) IsClientError() bool

IsClientError returns true when this list cluster servers o k response has a 4xx status code

func (*ListClusterServersOK) IsCode

func (o *ListClusterServersOK) IsCode(code int) bool

IsCode returns true when this list cluster servers o k response a status code equal to that given

func (*ListClusterServersOK) IsRedirect

func (o *ListClusterServersOK) IsRedirect() bool

IsRedirect returns true when this list cluster servers o k response has a 3xx status code

func (*ListClusterServersOK) IsServerError

func (o *ListClusterServersOK) IsServerError() bool

IsServerError returns true when this list cluster servers o k response has a 5xx status code

func (*ListClusterServersOK) IsSuccess

func (o *ListClusterServersOK) IsSuccess() bool

IsSuccess returns true when this list cluster servers o k response has a 2xx status code

func (*ListClusterServersOK) String

func (o *ListClusterServersOK) String() string

type ListClusterServersParams

type ListClusterServersParams struct {

	/* ID.

	   id is the user settable GNM cluster name
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClusterServersParams contains all the parameters to send to the API endpoint

for the list cluster servers operation.

Typically these are written to a http.Request.

func NewListClusterServersParams

func NewListClusterServersParams() *ListClusterServersParams

NewListClusterServersParams creates a new ListClusterServersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListClusterServersParamsWithContext

func NewListClusterServersParamsWithContext(ctx context.Context) *ListClusterServersParams

NewListClusterServersParamsWithContext creates a new ListClusterServersParams object with the ability to set a context for a request.

func NewListClusterServersParamsWithHTTPClient

func NewListClusterServersParamsWithHTTPClient(client *http.Client) *ListClusterServersParams

NewListClusterServersParamsWithHTTPClient creates a new ListClusterServersParams object with the ability to set a custom HTTPClient for a request.

func NewListClusterServersParamsWithTimeout

func NewListClusterServersParamsWithTimeout(timeout time.Duration) *ListClusterServersParams

NewListClusterServersParamsWithTimeout creates a new ListClusterServersParams object with the ability to set a timeout on a request.

func (*ListClusterServersParams) SetContext

func (o *ListClusterServersParams) SetContext(ctx context.Context)

SetContext adds the context to the list cluster servers params

func (*ListClusterServersParams) SetDefaults

func (o *ListClusterServersParams) SetDefaults()

SetDefaults hydrates default values in the list cluster servers params (not the query body).

All values with no default are reset to their zero value.

func (*ListClusterServersParams) SetHTTPClient

func (o *ListClusterServersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list cluster servers params

func (*ListClusterServersParams) SetID

func (o *ListClusterServersParams) SetID(id string)

SetID adds the id to the list cluster servers params

func (*ListClusterServersParams) SetLocationOrganizationID

func (o *ListClusterServersParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the list cluster servers params

func (*ListClusterServersParams) SetLocationProjectID

func (o *ListClusterServersParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the list cluster servers params

func (*ListClusterServersParams) SetLocationRegionProvider

func (o *ListClusterServersParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the list cluster servers params

func (*ListClusterServersParams) SetLocationRegionRegion

func (o *ListClusterServersParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the list cluster servers params

func (*ListClusterServersParams) SetTimeout

func (o *ListClusterServersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list cluster servers params

func (*ListClusterServersParams) WithContext

WithContext adds the context to the list cluster servers params

func (*ListClusterServersParams) WithDefaults

WithDefaults hydrates default values in the list cluster servers params (not the query body).

All values with no default are reset to their zero value.

func (*ListClusterServersParams) WithHTTPClient

func (o *ListClusterServersParams) WithHTTPClient(client *http.Client) *ListClusterServersParams

WithHTTPClient adds the HTTPClient to the list cluster servers params

func (*ListClusterServersParams) WithID

WithID adds the id to the list cluster servers params

func (*ListClusterServersParams) WithLocationOrganizationID

func (o *ListClusterServersParams) WithLocationOrganizationID(locationOrganizationID string) *ListClusterServersParams

WithLocationOrganizationID adds the locationOrganizationID to the list cluster servers params

func (*ListClusterServersParams) WithLocationProjectID

func (o *ListClusterServersParams) WithLocationProjectID(locationProjectID string) *ListClusterServersParams

WithLocationProjectID adds the locationProjectID to the list cluster servers params

func (*ListClusterServersParams) WithLocationRegionProvider

func (o *ListClusterServersParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClusterServersParams

WithLocationRegionProvider adds the locationRegionProvider to the list cluster servers params

func (*ListClusterServersParams) WithLocationRegionRegion

func (o *ListClusterServersParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClusterServersParams

WithLocationRegionRegion adds the locationRegionRegion to the list cluster servers params

func (*ListClusterServersParams) WithTimeout

WithTimeout adds the timeout to the list cluster servers params

func (*ListClusterServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListClusterServersReader

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

ListClusterServersReader is a Reader for the ListClusterServers structure.

func (*ListClusterServersReader) ReadResponse

func (o *ListClusterServersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListClusterServicesDefault added in v0.73.0

type ListClusterServicesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListClusterServicesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListClusterServicesDefault added in v0.73.0

func NewListClusterServicesDefault(code int) *ListClusterServicesDefault

NewListClusterServicesDefault creates a ListClusterServicesDefault with default headers values

func (*ListClusterServicesDefault) Code added in v0.73.0

func (o *ListClusterServicesDefault) Code() int

Code gets the status code for the list cluster services default response

func (*ListClusterServicesDefault) Error added in v0.73.0

func (*ListClusterServicesDefault) GetPayload added in v0.73.0

func (*ListClusterServicesDefault) IsClientError added in v0.73.0

func (o *ListClusterServicesDefault) IsClientError() bool

IsClientError returns true when this list cluster services default response has a 4xx status code

func (*ListClusterServicesDefault) IsCode added in v0.73.0

func (o *ListClusterServicesDefault) IsCode(code int) bool

IsCode returns true when this list cluster services default response a status code equal to that given

func (*ListClusterServicesDefault) IsRedirect added in v0.73.0

func (o *ListClusterServicesDefault) IsRedirect() bool

IsRedirect returns true when this list cluster services default response has a 3xx status code

func (*ListClusterServicesDefault) IsServerError added in v0.73.0

func (o *ListClusterServicesDefault) IsServerError() bool

IsServerError returns true when this list cluster services default response has a 5xx status code

func (*ListClusterServicesDefault) IsSuccess added in v0.73.0

func (o *ListClusterServicesDefault) IsSuccess() bool

IsSuccess returns true when this list cluster services default response has a 2xx status code

func (*ListClusterServicesDefault) String added in v0.73.0

func (o *ListClusterServicesDefault) String() string

type ListClusterServicesOK added in v0.73.0

type ListClusterServicesOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse
}

ListClusterServicesOK describes a response with status code 200, with default header values.

A successful response.

func NewListClusterServicesOK added in v0.73.0

func NewListClusterServicesOK() *ListClusterServicesOK

NewListClusterServicesOK creates a ListClusterServicesOK with default headers values

func (*ListClusterServicesOK) Code added in v0.73.0

func (o *ListClusterServicesOK) Code() int

Code gets the status code for the list cluster services o k response

func (*ListClusterServicesOK) Error added in v0.73.0

func (o *ListClusterServicesOK) Error() string

func (*ListClusterServicesOK) GetPayload added in v0.73.0

func (*ListClusterServicesOK) IsClientError added in v0.73.0

func (o *ListClusterServicesOK) IsClientError() bool

IsClientError returns true when this list cluster services o k response has a 4xx status code

func (*ListClusterServicesOK) IsCode added in v0.73.0

func (o *ListClusterServicesOK) IsCode(code int) bool

IsCode returns true when this list cluster services o k response a status code equal to that given

func (*ListClusterServicesOK) IsRedirect added in v0.73.0

func (o *ListClusterServicesOK) IsRedirect() bool

IsRedirect returns true when this list cluster services o k response has a 3xx status code

func (*ListClusterServicesOK) IsServerError added in v0.73.0

func (o *ListClusterServicesOK) IsServerError() bool

IsServerError returns true when this list cluster services o k response has a 5xx status code

func (*ListClusterServicesOK) IsSuccess added in v0.73.0

func (o *ListClusterServicesOK) IsSuccess() bool

IsSuccess returns true when this list cluster services o k response has a 2xx status code

func (*ListClusterServicesOK) String added in v0.73.0

func (o *ListClusterServicesOK) String() string

type ListClusterServicesParams added in v0.73.0

type ListClusterServicesParams struct {

	/* ClusterResourceName.

	   Cluster resource name will be of the form `consul/project/<project_id>/cluster/<cluster_id>`
	*/
	ClusterResourceName string

	/* ExternalSources.

	   Query param filter: `external_sources`. Returns a service when service's external sources overlap with the external sources specified.
	*/
	ExternalSources []string

	/* InMesh.

	   Query param filter: whether the service is in the service mesh or not. Possible values: `true` or `false`.
	*/
	InMesh *bool

	/* Kind.

	   Query param filter: `kind` of the service. This can be combination of `typical`, `connect-proxy`, `destination`, `api-gateway`, `ingress-gateway`, `terminating-gateway`, `mesh-gateway`.
	*/
	Kind []string

	/* MtlsMode.

	   Query param filter: mTLS mode of the service. Possible value: `permissive`, `strict`.
	*/
	MtlsMode []string

	/* Namespace.

	   Query param filter: `namespace` of the service.
	*/
	Namespace *string

	/* OrderBy.

	   Sorts the services based on a field. Allowed fields: `name`, `health`. The value needs to be of the format <{name/health} {asc/desc}> For example: `name asc`, `health desc`.
	*/
	OrderBy []string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this parameter to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The maximum number of results per page to return. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned, which you can use to get the next page of results in subsequent
	requests. A value of zero causes `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this parameter to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Partition.

	   Query param filter: `partition` of the service.
	*/
	Partition *string

	/* Query.

	   Search query to filter by. Searches across service `name`, `cluster_id`, `partition`, `namespace`, `sameness_group`, `tags`
	*/
	Query *string

	/* Status.

	   Query param filter: `status` of the service. This can be combination of `passing`, `warning`, `critical`, `none`.
	*/
	Status []string

	/* Tags.

	   Query param filter: `tags`.
	*/
	Tags []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClusterServicesParams contains all the parameters to send to the API endpoint

for the list cluster services operation.

Typically these are written to a http.Request.

func NewListClusterServicesParams added in v0.73.0

func NewListClusterServicesParams() *ListClusterServicesParams

NewListClusterServicesParams creates a new ListClusterServicesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListClusterServicesParamsWithContext added in v0.73.0

func NewListClusterServicesParamsWithContext(ctx context.Context) *ListClusterServicesParams

NewListClusterServicesParamsWithContext creates a new ListClusterServicesParams object with the ability to set a context for a request.

func NewListClusterServicesParamsWithHTTPClient added in v0.73.0

func NewListClusterServicesParamsWithHTTPClient(client *http.Client) *ListClusterServicesParams

NewListClusterServicesParamsWithHTTPClient creates a new ListClusterServicesParams object with the ability to set a custom HTTPClient for a request.

func NewListClusterServicesParamsWithTimeout added in v0.73.0

func NewListClusterServicesParamsWithTimeout(timeout time.Duration) *ListClusterServicesParams

NewListClusterServicesParamsWithTimeout creates a new ListClusterServicesParams object with the ability to set a timeout on a request.

func (*ListClusterServicesParams) SetClusterResourceName added in v0.73.0

func (o *ListClusterServicesParams) SetClusterResourceName(clusterResourceName string)

SetClusterResourceName adds the clusterResourceName to the list cluster services params

func (*ListClusterServicesParams) SetContext added in v0.73.0

func (o *ListClusterServicesParams) SetContext(ctx context.Context)

SetContext adds the context to the list cluster services params

func (*ListClusterServicesParams) SetDefaults added in v0.73.0

func (o *ListClusterServicesParams) SetDefaults()

SetDefaults hydrates default values in the list cluster services params (not the query body).

All values with no default are reset to their zero value.

func (*ListClusterServicesParams) SetExternalSources added in v0.73.0

func (o *ListClusterServicesParams) SetExternalSources(externalSources []string)

SetExternalSources adds the externalSources to the list cluster services params

func (*ListClusterServicesParams) SetHTTPClient added in v0.73.0

func (o *ListClusterServicesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list cluster services params

func (*ListClusterServicesParams) SetInMesh added in v0.73.0

func (o *ListClusterServicesParams) SetInMesh(inMesh *bool)

SetInMesh adds the inMesh to the list cluster services params

func (*ListClusterServicesParams) SetKind added in v0.73.0

func (o *ListClusterServicesParams) SetKind(kind []string)

SetKind adds the kind to the list cluster services params

func (*ListClusterServicesParams) SetMtlsMode added in v0.73.0

func (o *ListClusterServicesParams) SetMtlsMode(mtlsMode []string)

SetMtlsMode adds the mtlsMode to the list cluster services params

func (*ListClusterServicesParams) SetNamespace added in v0.73.0

func (o *ListClusterServicesParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the list cluster services params

func (*ListClusterServicesParams) SetOrderBy added in v0.73.0

func (o *ListClusterServicesParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the list cluster services params

func (*ListClusterServicesParams) SetPaginationNextPageToken added in v0.73.0

func (o *ListClusterServicesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list cluster services params

func (*ListClusterServicesParams) SetPaginationPageSize added in v0.73.0

func (o *ListClusterServicesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list cluster services params

func (*ListClusterServicesParams) SetPaginationPreviousPageToken added in v0.73.0

func (o *ListClusterServicesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list cluster services params

func (*ListClusterServicesParams) SetPartition added in v0.73.0

func (o *ListClusterServicesParams) SetPartition(partition *string)

SetPartition adds the partition to the list cluster services params

func (*ListClusterServicesParams) SetQuery added in v0.73.0

func (o *ListClusterServicesParams) SetQuery(query *string)

SetQuery adds the query to the list cluster services params

func (*ListClusterServicesParams) SetStatus added in v0.73.0

func (o *ListClusterServicesParams) SetStatus(status []string)

SetStatus adds the status to the list cluster services params

func (*ListClusterServicesParams) SetTags added in v0.73.0

func (o *ListClusterServicesParams) SetTags(tags []string)

SetTags adds the tags to the list cluster services params

func (*ListClusterServicesParams) SetTimeout added in v0.73.0

func (o *ListClusterServicesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list cluster services params

func (*ListClusterServicesParams) WithClusterResourceName added in v0.73.0

func (o *ListClusterServicesParams) WithClusterResourceName(clusterResourceName string) *ListClusterServicesParams

WithClusterResourceName adds the clusterResourceName to the list cluster services params

func (*ListClusterServicesParams) WithContext added in v0.73.0

WithContext adds the context to the list cluster services params

func (*ListClusterServicesParams) WithDefaults added in v0.73.0

WithDefaults hydrates default values in the list cluster services params (not the query body).

All values with no default are reset to their zero value.

func (*ListClusterServicesParams) WithExternalSources added in v0.73.0

func (o *ListClusterServicesParams) WithExternalSources(externalSources []string) *ListClusterServicesParams

WithExternalSources adds the externalSources to the list cluster services params

func (*ListClusterServicesParams) WithHTTPClient added in v0.73.0

func (o *ListClusterServicesParams) WithHTTPClient(client *http.Client) *ListClusterServicesParams

WithHTTPClient adds the HTTPClient to the list cluster services params

func (*ListClusterServicesParams) WithInMesh added in v0.73.0

WithInMesh adds the inMesh to the list cluster services params

func (*ListClusterServicesParams) WithKind added in v0.73.0

WithKind adds the kind to the list cluster services params

func (*ListClusterServicesParams) WithMtlsMode added in v0.73.0

func (o *ListClusterServicesParams) WithMtlsMode(mtlsMode []string) *ListClusterServicesParams

WithMtlsMode adds the mtlsMode to the list cluster services params

func (*ListClusterServicesParams) WithNamespace added in v0.73.0

func (o *ListClusterServicesParams) WithNamespace(namespace *string) *ListClusterServicesParams

WithNamespace adds the namespace to the list cluster services params

func (*ListClusterServicesParams) WithOrderBy added in v0.73.0

func (o *ListClusterServicesParams) WithOrderBy(orderBy []string) *ListClusterServicesParams

WithOrderBy adds the orderBy to the list cluster services params

func (*ListClusterServicesParams) WithPaginationNextPageToken added in v0.73.0

func (o *ListClusterServicesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListClusterServicesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list cluster services params

func (*ListClusterServicesParams) WithPaginationPageSize added in v0.73.0

func (o *ListClusterServicesParams) WithPaginationPageSize(paginationPageSize *int64) *ListClusterServicesParams

WithPaginationPageSize adds the paginationPageSize to the list cluster services params

func (*ListClusterServicesParams) WithPaginationPreviousPageToken added in v0.73.0

func (o *ListClusterServicesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListClusterServicesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list cluster services params

func (*ListClusterServicesParams) WithPartition added in v0.73.0

func (o *ListClusterServicesParams) WithPartition(partition *string) *ListClusterServicesParams

WithPartition adds the partition to the list cluster services params

func (*ListClusterServicesParams) WithQuery added in v0.73.0

WithQuery adds the query to the list cluster services params

func (*ListClusterServicesParams) WithStatus added in v0.73.0

WithStatus adds the status to the list cluster services params

func (*ListClusterServicesParams) WithTags added in v0.73.0

WithTags adds the tags to the list cluster services params

func (*ListClusterServicesParams) WithTimeout added in v0.73.0

WithTimeout adds the timeout to the list cluster services params

func (*ListClusterServicesParams) WriteToRequest added in v0.73.0

WriteToRequest writes these params to a swagger request

type ListClusterServicesReader added in v0.73.0

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

ListClusterServicesReader is a Reader for the ListClusterServices structure.

func (*ListClusterServicesReader) ReadResponse added in v0.73.0

func (o *ListClusterServicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListClustersDefault

type ListClustersDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListClustersDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListClustersDefault

func NewListClustersDefault(code int) *ListClustersDefault

NewListClustersDefault creates a ListClustersDefault with default headers values

func (*ListClustersDefault) Code

func (o *ListClustersDefault) Code() int

Code gets the status code for the list clusters default response

func (*ListClustersDefault) Error

func (o *ListClustersDefault) Error() string

func (*ListClustersDefault) GetPayload

func (o *ListClustersDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ListClustersDefault) IsClientError

func (o *ListClustersDefault) IsClientError() bool

IsClientError returns true when this list clusters default response has a 4xx status code

func (*ListClustersDefault) IsCode

func (o *ListClustersDefault) IsCode(code int) bool

IsCode returns true when this list clusters default response a status code equal to that given

func (*ListClustersDefault) IsRedirect

func (o *ListClustersDefault) IsRedirect() bool

IsRedirect returns true when this list clusters default response has a 3xx status code

func (*ListClustersDefault) IsServerError

func (o *ListClustersDefault) IsServerError() bool

IsServerError returns true when this list clusters default response has a 5xx status code

func (*ListClustersDefault) IsSuccess

func (o *ListClustersDefault) IsSuccess() bool

IsSuccess returns true when this list clusters default response has a 2xx status code

func (*ListClustersDefault) String

func (o *ListClustersDefault) String() string

type ListClustersOK

ListClustersOK describes a response with status code 200, with default header values.

A successful response.

func NewListClustersOK

func NewListClustersOK() *ListClustersOK

NewListClustersOK creates a ListClustersOK with default headers values

func (*ListClustersOK) Code added in v0.69.0

func (o *ListClustersOK) Code() int

Code gets the status code for the list clusters o k response

func (*ListClustersOK) Error

func (o *ListClustersOK) Error() string

func (*ListClustersOK) IsClientError

func (o *ListClustersOK) IsClientError() bool

IsClientError returns true when this list clusters o k response has a 4xx status code

func (*ListClustersOK) IsCode

func (o *ListClustersOK) IsCode(code int) bool

IsCode returns true when this list clusters o k response a status code equal to that given

func (*ListClustersOK) IsRedirect

func (o *ListClustersOK) IsRedirect() bool

IsRedirect returns true when this list clusters o k response has a 3xx status code

func (*ListClustersOK) IsServerError

func (o *ListClustersOK) IsServerError() bool

IsServerError returns true when this list clusters o k response has a 5xx status code

func (*ListClustersOK) IsSuccess

func (o *ListClustersOK) IsSuccess() bool

IsSuccess returns true when this list clusters o k response has a 2xx status code

func (*ListClustersOK) String

func (o *ListClustersOK) String() string

type ListClustersParams

type ListClustersParams struct {

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this parameter to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The maximum number of results per page to return. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned, which you can use to get the next page of results in subsequent
	requests. A value of zero causes `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this parameter to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Type.

	    The type of clusters to limit the response to

	- TYPE_UNSPECIFIED: unspecified type to filter on. If this error appears, default to self-managed clusters
	- TYPE_ALL: all cluster types
	- TYPE_SELF: self-managed clusters
	- TYPE_HCP: HCP-managed clusters

	    Default: "TYPE_UNSPECIFIED"
	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClustersParams contains all the parameters to send to the API endpoint

for the list clusters operation.

Typically these are written to a http.Request.

func NewListClustersParams

func NewListClustersParams() *ListClustersParams

NewListClustersParams creates a new ListClustersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListClustersParamsWithContext

func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams

NewListClustersParamsWithContext creates a new ListClustersParams object with the ability to set a context for a request.

func NewListClustersParamsWithHTTPClient

func NewListClustersParamsWithHTTPClient(client *http.Client) *ListClustersParams

NewListClustersParamsWithHTTPClient creates a new ListClustersParams object with the ability to set a custom HTTPClient for a request.

func NewListClustersParamsWithTimeout

func NewListClustersParamsWithTimeout(timeout time.Duration) *ListClustersParams

NewListClustersParamsWithTimeout creates a new ListClustersParams object with the ability to set a timeout on a request.

func (*ListClustersParams) SetContext

func (o *ListClustersParams) SetContext(ctx context.Context)

SetContext adds the context to the list clusters params

func (*ListClustersParams) SetDefaults

func (o *ListClustersParams) SetDefaults()

SetDefaults hydrates default values in the list clusters params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersParams) SetHTTPClient

func (o *ListClustersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list clusters params

func (*ListClustersParams) SetLocationOrganizationID

func (o *ListClustersParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the list clusters params

func (*ListClustersParams) SetLocationProjectID

func (o *ListClustersParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the list clusters params

func (*ListClustersParams) SetLocationRegionProvider

func (o *ListClustersParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the list clusters params

func (*ListClustersParams) SetLocationRegionRegion

func (o *ListClustersParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the list clusters params

func (*ListClustersParams) SetPaginationNextPageToken added in v0.40.0

func (o *ListClustersParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list clusters params

func (*ListClustersParams) SetPaginationPageSize added in v0.40.0

func (o *ListClustersParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list clusters params

func (*ListClustersParams) SetPaginationPreviousPageToken added in v0.40.0

func (o *ListClustersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list clusters params

func (*ListClustersParams) SetTimeout

func (o *ListClustersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list clusters params

func (*ListClustersParams) SetType

func (o *ListClustersParams) SetType(typeVar *string)

SetType adds the type to the list clusters params

func (*ListClustersParams) WithContext

WithContext adds the context to the list clusters params

func (*ListClustersParams) WithDefaults

func (o *ListClustersParams) WithDefaults() *ListClustersParams

WithDefaults hydrates default values in the list clusters params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersParams) WithHTTPClient

func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams

WithHTTPClient adds the HTTPClient to the list clusters params

func (*ListClustersParams) WithLocationOrganizationID

func (o *ListClustersParams) WithLocationOrganizationID(locationOrganizationID string) *ListClustersParams

WithLocationOrganizationID adds the locationOrganizationID to the list clusters params

func (*ListClustersParams) WithLocationProjectID

func (o *ListClustersParams) WithLocationProjectID(locationProjectID string) *ListClustersParams

WithLocationProjectID adds the locationProjectID to the list clusters params

func (*ListClustersParams) WithLocationRegionProvider

func (o *ListClustersParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClustersParams

WithLocationRegionProvider adds the locationRegionProvider to the list clusters params

func (*ListClustersParams) WithLocationRegionRegion

func (o *ListClustersParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClustersParams

WithLocationRegionRegion adds the locationRegionRegion to the list clusters params

func (*ListClustersParams) WithPaginationNextPageToken added in v0.40.0

func (o *ListClustersParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListClustersParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list clusters params

func (*ListClustersParams) WithPaginationPageSize added in v0.40.0

func (o *ListClustersParams) WithPaginationPageSize(paginationPageSize *int64) *ListClustersParams

WithPaginationPageSize adds the paginationPageSize to the list clusters params

func (*ListClustersParams) WithPaginationPreviousPageToken added in v0.40.0

func (o *ListClustersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListClustersParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list clusters params

func (*ListClustersParams) WithTimeout

func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams

WithTimeout adds the timeout to the list clusters params

func (*ListClustersParams) WithType

func (o *ListClustersParams) WithType(typeVar *string) *ListClustersParams

WithType adds the typeVar to the list clusters params

func (*ListClustersParams) WriteToRequest

func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListClustersReader

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

ListClustersReader is a Reader for the ListClusters structure.

func (*ListClustersReader) ReadResponse

func (o *ListClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListClustersWithAcceptorEligibilityDefault added in v0.40.0

type ListClustersWithAcceptorEligibilityDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListClustersWithAcceptorEligibilityDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListClustersWithAcceptorEligibilityDefault added in v0.40.0

func NewListClustersWithAcceptorEligibilityDefault(code int) *ListClustersWithAcceptorEligibilityDefault

NewListClustersWithAcceptorEligibilityDefault creates a ListClustersWithAcceptorEligibilityDefault with default headers values

func (*ListClustersWithAcceptorEligibilityDefault) Code added in v0.40.0

Code gets the status code for the list clusters with acceptor eligibility default response

func (*ListClustersWithAcceptorEligibilityDefault) Error added in v0.40.0

func (*ListClustersWithAcceptorEligibilityDefault) GetPayload added in v0.40.0

func (*ListClustersWithAcceptorEligibilityDefault) IsClientError added in v0.40.0

IsClientError returns true when this list clusters with acceptor eligibility default response has a 4xx status code

func (*ListClustersWithAcceptorEligibilityDefault) IsCode added in v0.40.0

IsCode returns true when this list clusters with acceptor eligibility default response a status code equal to that given

func (*ListClustersWithAcceptorEligibilityDefault) IsRedirect added in v0.40.0

IsRedirect returns true when this list clusters with acceptor eligibility default response has a 3xx status code

func (*ListClustersWithAcceptorEligibilityDefault) IsServerError added in v0.40.0

IsServerError returns true when this list clusters with acceptor eligibility default response has a 5xx status code

func (*ListClustersWithAcceptorEligibilityDefault) IsSuccess added in v0.40.0

IsSuccess returns true when this list clusters with acceptor eligibility default response has a 2xx status code

func (*ListClustersWithAcceptorEligibilityDefault) String added in v0.40.0

type ListClustersWithAcceptorEligibilityOK added in v0.40.0

type ListClustersWithAcceptorEligibilityOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse
}

ListClustersWithAcceptorEligibilityOK describes a response with status code 200, with default header values.

A successful response.

func NewListClustersWithAcceptorEligibilityOK added in v0.40.0

func NewListClustersWithAcceptorEligibilityOK() *ListClustersWithAcceptorEligibilityOK

NewListClustersWithAcceptorEligibilityOK creates a ListClustersWithAcceptorEligibilityOK with default headers values

func (*ListClustersWithAcceptorEligibilityOK) Code added in v0.69.0

Code gets the status code for the list clusters with acceptor eligibility o k response

func (*ListClustersWithAcceptorEligibilityOK) Error added in v0.40.0

func (*ListClustersWithAcceptorEligibilityOK) IsClientError added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityOK) IsClientError() bool

IsClientError returns true when this list clusters with acceptor eligibility o k response has a 4xx status code

func (*ListClustersWithAcceptorEligibilityOK) IsCode added in v0.40.0

IsCode returns true when this list clusters with acceptor eligibility o k response a status code equal to that given

func (*ListClustersWithAcceptorEligibilityOK) IsRedirect added in v0.40.0

IsRedirect returns true when this list clusters with acceptor eligibility o k response has a 3xx status code

func (*ListClustersWithAcceptorEligibilityOK) IsServerError added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityOK) IsServerError() bool

IsServerError returns true when this list clusters with acceptor eligibility o k response has a 5xx status code

func (*ListClustersWithAcceptorEligibilityOK) IsSuccess added in v0.40.0

IsSuccess returns true when this list clusters with acceptor eligibility o k response has a 2xx status code

func (*ListClustersWithAcceptorEligibilityOK) String added in v0.40.0

type ListClustersWithAcceptorEligibilityParams added in v0.40.0

type ListClustersWithAcceptorEligibilityParams struct {

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClustersWithAcceptorEligibilityParams contains all the parameters to send to the API endpoint

for the list clusters with acceptor eligibility operation.

Typically these are written to a http.Request.

func NewListClustersWithAcceptorEligibilityParams added in v0.40.0

func NewListClustersWithAcceptorEligibilityParams() *ListClustersWithAcceptorEligibilityParams

NewListClustersWithAcceptorEligibilityParams creates a new ListClustersWithAcceptorEligibilityParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListClustersWithAcceptorEligibilityParamsWithContext added in v0.40.0

func NewListClustersWithAcceptorEligibilityParamsWithContext(ctx context.Context) *ListClustersWithAcceptorEligibilityParams

NewListClustersWithAcceptorEligibilityParamsWithContext creates a new ListClustersWithAcceptorEligibilityParams object with the ability to set a context for a request.

func NewListClustersWithAcceptorEligibilityParamsWithHTTPClient added in v0.40.0

func NewListClustersWithAcceptorEligibilityParamsWithHTTPClient(client *http.Client) *ListClustersWithAcceptorEligibilityParams

NewListClustersWithAcceptorEligibilityParamsWithHTTPClient creates a new ListClustersWithAcceptorEligibilityParams object with the ability to set a custom HTTPClient for a request.

func NewListClustersWithAcceptorEligibilityParamsWithTimeout added in v0.40.0

func NewListClustersWithAcceptorEligibilityParamsWithTimeout(timeout time.Duration) *ListClustersWithAcceptorEligibilityParams

NewListClustersWithAcceptorEligibilityParamsWithTimeout creates a new ListClustersWithAcceptorEligibilityParams object with the ability to set a timeout on a request.

func (*ListClustersWithAcceptorEligibilityParams) SetContext added in v0.40.0

SetContext adds the context to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) SetDefaults added in v0.40.0

SetDefaults hydrates default values in the list clusters with acceptor eligibility params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersWithAcceptorEligibilityParams) SetHTTPClient added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) SetLocationOrganizationID added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) SetLocationProjectID added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) SetLocationRegionProvider added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) SetLocationRegionRegion added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) SetTimeout added in v0.40.0

SetTimeout adds the timeout to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) WithContext added in v0.40.0

WithContext adds the context to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) WithDefaults added in v0.40.0

WithDefaults hydrates default values in the list clusters with acceptor eligibility params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersWithAcceptorEligibilityParams) WithHTTPClient added in v0.40.0

WithHTTPClient adds the HTTPClient to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) WithLocationOrganizationID added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityParams) WithLocationOrganizationID(locationOrganizationID string) *ListClustersWithAcceptorEligibilityParams

WithLocationOrganizationID adds the locationOrganizationID to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) WithLocationProjectID added in v0.40.0

WithLocationProjectID adds the locationProjectID to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) WithLocationRegionProvider added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClustersWithAcceptorEligibilityParams

WithLocationRegionProvider adds the locationRegionProvider to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) WithLocationRegionRegion added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClustersWithAcceptorEligibilityParams

WithLocationRegionRegion adds the locationRegionRegion to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) WithTimeout added in v0.40.0

WithTimeout adds the timeout to the list clusters with acceptor eligibility params

func (*ListClustersWithAcceptorEligibilityParams) WriteToRequest added in v0.40.0

WriteToRequest writes these params to a swagger request

type ListClustersWithAcceptorEligibilityReader added in v0.40.0

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

ListClustersWithAcceptorEligibilityReader is a Reader for the ListClustersWithAcceptorEligibility structure.

func (*ListClustersWithAcceptorEligibilityReader) ReadResponse added in v0.40.0

func (o *ListClustersWithAcceptorEligibilityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListClustersWithDialerEligibilityDefault added in v0.40.0

type ListClustersWithDialerEligibilityDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListClustersWithDialerEligibilityDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListClustersWithDialerEligibilityDefault added in v0.40.0

func NewListClustersWithDialerEligibilityDefault(code int) *ListClustersWithDialerEligibilityDefault

NewListClustersWithDialerEligibilityDefault creates a ListClustersWithDialerEligibilityDefault with default headers values

func (*ListClustersWithDialerEligibilityDefault) Code added in v0.40.0

Code gets the status code for the list clusters with dialer eligibility default response

func (*ListClustersWithDialerEligibilityDefault) Error added in v0.40.0

func (*ListClustersWithDialerEligibilityDefault) GetPayload added in v0.40.0

func (*ListClustersWithDialerEligibilityDefault) IsClientError added in v0.40.0

IsClientError returns true when this list clusters with dialer eligibility default response has a 4xx status code

func (*ListClustersWithDialerEligibilityDefault) IsCode added in v0.40.0

IsCode returns true when this list clusters with dialer eligibility default response a status code equal to that given

func (*ListClustersWithDialerEligibilityDefault) IsRedirect added in v0.40.0

IsRedirect returns true when this list clusters with dialer eligibility default response has a 3xx status code

func (*ListClustersWithDialerEligibilityDefault) IsServerError added in v0.40.0

IsServerError returns true when this list clusters with dialer eligibility default response has a 5xx status code

func (*ListClustersWithDialerEligibilityDefault) IsSuccess added in v0.40.0

IsSuccess returns true when this list clusters with dialer eligibility default response has a 2xx status code

func (*ListClustersWithDialerEligibilityDefault) String added in v0.40.0

type ListClustersWithDialerEligibilityOK added in v0.40.0

type ListClustersWithDialerEligibilityOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse
}

ListClustersWithDialerEligibilityOK describes a response with status code 200, with default header values.

A successful response.

func NewListClustersWithDialerEligibilityOK added in v0.40.0

func NewListClustersWithDialerEligibilityOK() *ListClustersWithDialerEligibilityOK

NewListClustersWithDialerEligibilityOK creates a ListClustersWithDialerEligibilityOK with default headers values

func (*ListClustersWithDialerEligibilityOK) Code added in v0.69.0

Code gets the status code for the list clusters with dialer eligibility o k response

func (*ListClustersWithDialerEligibilityOK) Error added in v0.40.0

func (*ListClustersWithDialerEligibilityOK) GetPayload added in v0.40.0

func (*ListClustersWithDialerEligibilityOK) IsClientError added in v0.40.0

func (o *ListClustersWithDialerEligibilityOK) IsClientError() bool

IsClientError returns true when this list clusters with dialer eligibility o k response has a 4xx status code

func (*ListClustersWithDialerEligibilityOK) IsCode added in v0.40.0

IsCode returns true when this list clusters with dialer eligibility o k response a status code equal to that given

func (*ListClustersWithDialerEligibilityOK) IsRedirect added in v0.40.0

func (o *ListClustersWithDialerEligibilityOK) IsRedirect() bool

IsRedirect returns true when this list clusters with dialer eligibility o k response has a 3xx status code

func (*ListClustersWithDialerEligibilityOK) IsServerError added in v0.40.0

func (o *ListClustersWithDialerEligibilityOK) IsServerError() bool

IsServerError returns true when this list clusters with dialer eligibility o k response has a 5xx status code

func (*ListClustersWithDialerEligibilityOK) IsSuccess added in v0.40.0

IsSuccess returns true when this list clusters with dialer eligibility o k response has a 2xx status code

func (*ListClustersWithDialerEligibilityOK) String added in v0.40.0

type ListClustersWithDialerEligibilityParams added in v0.40.0

type ListClustersWithDialerEligibilityParams struct {

	/* AcceptorClusterID.

	     acceptor_cluster_id is the user settable GNM cluster name of the acceptor cluster to
	check eligibility with
	*/
	AcceptorClusterID *string

	/* AcceptorClusterPartitionName.

	     acceptor_cluster_partition_name is the name of the partition of the acceptor cluster to
	check eligibility with
	*/
	AcceptorClusterPartitionName *string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClustersWithDialerEligibilityParams contains all the parameters to send to the API endpoint

for the list clusters with dialer eligibility operation.

Typically these are written to a http.Request.

func NewListClustersWithDialerEligibilityParams added in v0.40.0

func NewListClustersWithDialerEligibilityParams() *ListClustersWithDialerEligibilityParams

NewListClustersWithDialerEligibilityParams creates a new ListClustersWithDialerEligibilityParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListClustersWithDialerEligibilityParamsWithContext added in v0.40.0

func NewListClustersWithDialerEligibilityParamsWithContext(ctx context.Context) *ListClustersWithDialerEligibilityParams

NewListClustersWithDialerEligibilityParamsWithContext creates a new ListClustersWithDialerEligibilityParams object with the ability to set a context for a request.

func NewListClustersWithDialerEligibilityParamsWithHTTPClient added in v0.40.0

func NewListClustersWithDialerEligibilityParamsWithHTTPClient(client *http.Client) *ListClustersWithDialerEligibilityParams

NewListClustersWithDialerEligibilityParamsWithHTTPClient creates a new ListClustersWithDialerEligibilityParams object with the ability to set a custom HTTPClient for a request.

func NewListClustersWithDialerEligibilityParamsWithTimeout added in v0.40.0

func NewListClustersWithDialerEligibilityParamsWithTimeout(timeout time.Duration) *ListClustersWithDialerEligibilityParams

NewListClustersWithDialerEligibilityParamsWithTimeout creates a new ListClustersWithDialerEligibilityParams object with the ability to set a timeout on a request.

func (*ListClustersWithDialerEligibilityParams) SetAcceptorClusterID added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetAcceptorClusterID(acceptorClusterID *string)

SetAcceptorClusterID adds the acceptorClusterId to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) SetAcceptorClusterPartitionName added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetAcceptorClusterPartitionName(acceptorClusterPartitionName *string)

SetAcceptorClusterPartitionName adds the acceptorClusterPartitionName to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) SetContext added in v0.40.0

SetContext adds the context to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) SetDefaults added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetDefaults()

SetDefaults hydrates default values in the list clusters with dialer eligibility params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersWithDialerEligibilityParams) SetHTTPClient added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) SetLocationOrganizationID added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) SetLocationProjectID added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) SetLocationRegionProvider added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) SetLocationRegionRegion added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) SetTimeout added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithAcceptorClusterID added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) WithAcceptorClusterID(acceptorClusterID *string) *ListClustersWithDialerEligibilityParams

WithAcceptorClusterID adds the acceptorClusterID to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithAcceptorClusterPartitionName added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) WithAcceptorClusterPartitionName(acceptorClusterPartitionName *string) *ListClustersWithDialerEligibilityParams

WithAcceptorClusterPartitionName adds the acceptorClusterPartitionName to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithContext added in v0.40.0

WithContext adds the context to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithDefaults added in v0.40.0

WithDefaults hydrates default values in the list clusters with dialer eligibility params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersWithDialerEligibilityParams) WithHTTPClient added in v0.40.0

WithHTTPClient adds the HTTPClient to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithLocationOrganizationID added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) WithLocationOrganizationID(locationOrganizationID string) *ListClustersWithDialerEligibilityParams

WithLocationOrganizationID adds the locationOrganizationID to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithLocationProjectID added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) WithLocationProjectID(locationProjectID string) *ListClustersWithDialerEligibilityParams

WithLocationProjectID adds the locationProjectID to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithLocationRegionProvider added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClustersWithDialerEligibilityParams

WithLocationRegionProvider adds the locationRegionProvider to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithLocationRegionRegion added in v0.40.0

func (o *ListClustersWithDialerEligibilityParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClustersWithDialerEligibilityParams

WithLocationRegionRegion adds the locationRegionRegion to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WithTimeout added in v0.40.0

WithTimeout adds the timeout to the list clusters with dialer eligibility params

func (*ListClustersWithDialerEligibilityParams) WriteToRequest added in v0.40.0

WriteToRequest writes these params to a swagger request

type ListClustersWithDialerEligibilityReader added in v0.40.0

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

ListClustersWithDialerEligibilityReader is a Reader for the ListClustersWithDialerEligibility structure.

func (*ListClustersWithDialerEligibilityReader) ReadResponse added in v0.40.0

func (o *ListClustersWithDialerEligibilityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListConsulVersionsDefault added in v0.40.0

type ListConsulVersionsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListConsulVersionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListConsulVersionsDefault added in v0.40.0

func NewListConsulVersionsDefault(code int) *ListConsulVersionsDefault

NewListConsulVersionsDefault creates a ListConsulVersionsDefault with default headers values

func (*ListConsulVersionsDefault) Code added in v0.40.0

func (o *ListConsulVersionsDefault) Code() int

Code gets the status code for the list consul versions default response

func (*ListConsulVersionsDefault) Error added in v0.40.0

func (o *ListConsulVersionsDefault) Error() string

func (*ListConsulVersionsDefault) GetPayload added in v0.40.0

func (*ListConsulVersionsDefault) IsClientError added in v0.40.0

func (o *ListConsulVersionsDefault) IsClientError() bool

IsClientError returns true when this list consul versions default response has a 4xx status code

func (*ListConsulVersionsDefault) IsCode added in v0.40.0

func (o *ListConsulVersionsDefault) IsCode(code int) bool

IsCode returns true when this list consul versions default response a status code equal to that given

func (*ListConsulVersionsDefault) IsRedirect added in v0.40.0

func (o *ListConsulVersionsDefault) IsRedirect() bool

IsRedirect returns true when this list consul versions default response has a 3xx status code

func (*ListConsulVersionsDefault) IsServerError added in v0.40.0

func (o *ListConsulVersionsDefault) IsServerError() bool

IsServerError returns true when this list consul versions default response has a 5xx status code

func (*ListConsulVersionsDefault) IsSuccess added in v0.40.0

func (o *ListConsulVersionsDefault) IsSuccess() bool

IsSuccess returns true when this list consul versions default response has a 2xx status code

func (*ListConsulVersionsDefault) String added in v0.40.0

func (o *ListConsulVersionsDefault) String() string

type ListConsulVersionsOK added in v0.40.0

ListConsulVersionsOK describes a response with status code 200, with default header values.

A successful response.

func NewListConsulVersionsOK added in v0.40.0

func NewListConsulVersionsOK() *ListConsulVersionsOK

NewListConsulVersionsOK creates a ListConsulVersionsOK with default headers values

func (*ListConsulVersionsOK) Code added in v0.69.0

func (o *ListConsulVersionsOK) Code() int

Code gets the status code for the list consul versions o k response

func (*ListConsulVersionsOK) Error added in v0.40.0

func (o *ListConsulVersionsOK) Error() string

func (*ListConsulVersionsOK) GetPayload added in v0.40.0

func (*ListConsulVersionsOK) IsClientError added in v0.40.0

func (o *ListConsulVersionsOK) IsClientError() bool

IsClientError returns true when this list consul versions o k response has a 4xx status code

func (*ListConsulVersionsOK) IsCode added in v0.40.0

func (o *ListConsulVersionsOK) IsCode(code int) bool

IsCode returns true when this list consul versions o k response a status code equal to that given

func (*ListConsulVersionsOK) IsRedirect added in v0.40.0

func (o *ListConsulVersionsOK) IsRedirect() bool

IsRedirect returns true when this list consul versions o k response has a 3xx status code

func (*ListConsulVersionsOK) IsServerError added in v0.40.0

func (o *ListConsulVersionsOK) IsServerError() bool

IsServerError returns true when this list consul versions o k response has a 5xx status code

func (*ListConsulVersionsOK) IsSuccess added in v0.40.0

func (o *ListConsulVersionsOK) IsSuccess() bool

IsSuccess returns true when this list consul versions o k response has a 2xx status code

func (*ListConsulVersionsOK) String added in v0.40.0

func (o *ListConsulVersionsOK) String() string

type ListConsulVersionsParams added in v0.40.0

type ListConsulVersionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListConsulVersionsParams contains all the parameters to send to the API endpoint

for the list consul versions operation.

Typically these are written to a http.Request.

func NewListConsulVersionsParams added in v0.40.0

func NewListConsulVersionsParams() *ListConsulVersionsParams

NewListConsulVersionsParams creates a new ListConsulVersionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListConsulVersionsParamsWithContext added in v0.40.0

func NewListConsulVersionsParamsWithContext(ctx context.Context) *ListConsulVersionsParams

NewListConsulVersionsParamsWithContext creates a new ListConsulVersionsParams object with the ability to set a context for a request.

func NewListConsulVersionsParamsWithHTTPClient added in v0.40.0

func NewListConsulVersionsParamsWithHTTPClient(client *http.Client) *ListConsulVersionsParams

NewListConsulVersionsParamsWithHTTPClient creates a new ListConsulVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewListConsulVersionsParamsWithTimeout added in v0.40.0

func NewListConsulVersionsParamsWithTimeout(timeout time.Duration) *ListConsulVersionsParams

NewListConsulVersionsParamsWithTimeout creates a new ListConsulVersionsParams object with the ability to set a timeout on a request.

func (*ListConsulVersionsParams) SetContext added in v0.40.0

func (o *ListConsulVersionsParams) SetContext(ctx context.Context)

SetContext adds the context to the list consul versions params

func (*ListConsulVersionsParams) SetDefaults added in v0.40.0

func (o *ListConsulVersionsParams) SetDefaults()

SetDefaults hydrates default values in the list consul versions params (not the query body).

All values with no default are reset to their zero value.

func (*ListConsulVersionsParams) SetHTTPClient added in v0.40.0

func (o *ListConsulVersionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list consul versions params

func (*ListConsulVersionsParams) SetTimeout added in v0.40.0

func (o *ListConsulVersionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list consul versions params

func (*ListConsulVersionsParams) WithContext added in v0.40.0

WithContext adds the context to the list consul versions params

func (*ListConsulVersionsParams) WithDefaults added in v0.40.0

WithDefaults hydrates default values in the list consul versions params (not the query body).

All values with no default are reset to their zero value.

func (*ListConsulVersionsParams) WithHTTPClient added in v0.40.0

func (o *ListConsulVersionsParams) WithHTTPClient(client *http.Client) *ListConsulVersionsParams

WithHTTPClient adds the HTTPClient to the list consul versions params

func (*ListConsulVersionsParams) WithTimeout added in v0.40.0

WithTimeout adds the timeout to the list consul versions params

func (*ListConsulVersionsParams) WriteToRequest added in v0.40.0

WriteToRequest writes these params to a swagger request

type ListConsulVersionsReader added in v0.40.0

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

ListConsulVersionsReader is a Reader for the ListConsulVersions structure.

func (*ListConsulVersionsReader) ReadResponse added in v0.40.0

func (o *ListConsulVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListPeersByClusterPartitionDefault added in v0.40.0

type ListPeersByClusterPartitionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListPeersByClusterPartitionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListPeersByClusterPartitionDefault added in v0.40.0

func NewListPeersByClusterPartitionDefault(code int) *ListPeersByClusterPartitionDefault

NewListPeersByClusterPartitionDefault creates a ListPeersByClusterPartitionDefault with default headers values

func (*ListPeersByClusterPartitionDefault) Code added in v0.40.0

Code gets the status code for the list peers by cluster partition default response

func (*ListPeersByClusterPartitionDefault) Error added in v0.40.0

func (*ListPeersByClusterPartitionDefault) GetPayload added in v0.40.0

func (*ListPeersByClusterPartitionDefault) IsClientError added in v0.40.0

func (o *ListPeersByClusterPartitionDefault) IsClientError() bool

IsClientError returns true when this list peers by cluster partition default response has a 4xx status code

func (*ListPeersByClusterPartitionDefault) IsCode added in v0.40.0

IsCode returns true when this list peers by cluster partition default response a status code equal to that given

func (*ListPeersByClusterPartitionDefault) IsRedirect added in v0.40.0

func (o *ListPeersByClusterPartitionDefault) IsRedirect() bool

IsRedirect returns true when this list peers by cluster partition default response has a 3xx status code

func (*ListPeersByClusterPartitionDefault) IsServerError added in v0.40.0

func (o *ListPeersByClusterPartitionDefault) IsServerError() bool

IsServerError returns true when this list peers by cluster partition default response has a 5xx status code

func (*ListPeersByClusterPartitionDefault) IsSuccess added in v0.40.0

IsSuccess returns true when this list peers by cluster partition default response has a 2xx status code

func (*ListPeersByClusterPartitionDefault) String added in v0.40.0

type ListPeersByClusterPartitionOK added in v0.40.0

type ListPeersByClusterPartitionOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse
}

ListPeersByClusterPartitionOK describes a response with status code 200, with default header values.

A successful response.

func NewListPeersByClusterPartitionOK added in v0.40.0

func NewListPeersByClusterPartitionOK() *ListPeersByClusterPartitionOK

NewListPeersByClusterPartitionOK creates a ListPeersByClusterPartitionOK with default headers values

func (*ListPeersByClusterPartitionOK) Code added in v0.69.0

Code gets the status code for the list peers by cluster partition o k response

func (*ListPeersByClusterPartitionOK) Error added in v0.40.0

func (*ListPeersByClusterPartitionOK) GetPayload added in v0.40.0

func (*ListPeersByClusterPartitionOK) IsClientError added in v0.40.0

func (o *ListPeersByClusterPartitionOK) IsClientError() bool

IsClientError returns true when this list peers by cluster partition o k response has a 4xx status code

func (*ListPeersByClusterPartitionOK) IsCode added in v0.40.0

func (o *ListPeersByClusterPartitionOK) IsCode(code int) bool

IsCode returns true when this list peers by cluster partition o k response a status code equal to that given

func (*ListPeersByClusterPartitionOK) IsRedirect added in v0.40.0

func (o *ListPeersByClusterPartitionOK) IsRedirect() bool

IsRedirect returns true when this list peers by cluster partition o k response has a 3xx status code

func (*ListPeersByClusterPartitionOK) IsServerError added in v0.40.0

func (o *ListPeersByClusterPartitionOK) IsServerError() bool

IsServerError returns true when this list peers by cluster partition o k response has a 5xx status code

func (*ListPeersByClusterPartitionOK) IsSuccess added in v0.40.0

func (o *ListPeersByClusterPartitionOK) IsSuccess() bool

IsSuccess returns true when this list peers by cluster partition o k response has a 2xx status code

func (*ListPeersByClusterPartitionOK) String added in v0.40.0

type ListPeersByClusterPartitionParams added in v0.40.0

type ListPeersByClusterPartitionParams struct {

	/* ClusterID.

	     cluster_id is the user settable GNM cluster name. If supplied, only peering connections
	belonging to the cluster in the specified location are returned.
	*/
	ClusterID *string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPeersByClusterPartitionParams contains all the parameters to send to the API endpoint

for the list peers by cluster partition operation.

Typically these are written to a http.Request.

func NewListPeersByClusterPartitionParams added in v0.40.0

func NewListPeersByClusterPartitionParams() *ListPeersByClusterPartitionParams

NewListPeersByClusterPartitionParams creates a new ListPeersByClusterPartitionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListPeersByClusterPartitionParamsWithContext added in v0.40.0

func NewListPeersByClusterPartitionParamsWithContext(ctx context.Context) *ListPeersByClusterPartitionParams

NewListPeersByClusterPartitionParamsWithContext creates a new ListPeersByClusterPartitionParams object with the ability to set a context for a request.

func NewListPeersByClusterPartitionParamsWithHTTPClient added in v0.40.0

func NewListPeersByClusterPartitionParamsWithHTTPClient(client *http.Client) *ListPeersByClusterPartitionParams

NewListPeersByClusterPartitionParamsWithHTTPClient creates a new ListPeersByClusterPartitionParams object with the ability to set a custom HTTPClient for a request.

func NewListPeersByClusterPartitionParamsWithTimeout added in v0.40.0

func NewListPeersByClusterPartitionParamsWithTimeout(timeout time.Duration) *ListPeersByClusterPartitionParams

NewListPeersByClusterPartitionParamsWithTimeout creates a new ListPeersByClusterPartitionParams object with the ability to set a timeout on a request.

func (*ListPeersByClusterPartitionParams) SetClusterID added in v0.40.0

func (o *ListPeersByClusterPartitionParams) SetClusterID(clusterID *string)

SetClusterID adds the clusterId to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) SetContext added in v0.40.0

SetContext adds the context to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) SetDefaults added in v0.40.0

func (o *ListPeersByClusterPartitionParams) SetDefaults()

SetDefaults hydrates default values in the list peers by cluster partition params (not the query body).

All values with no default are reset to their zero value.

func (*ListPeersByClusterPartitionParams) SetHTTPClient added in v0.40.0

func (o *ListPeersByClusterPartitionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) SetLocationOrganizationID added in v0.40.0

func (o *ListPeersByClusterPartitionParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) SetLocationProjectID added in v0.40.0

func (o *ListPeersByClusterPartitionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) SetLocationRegionProvider added in v0.40.0

func (o *ListPeersByClusterPartitionParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) SetLocationRegionRegion added in v0.40.0

func (o *ListPeersByClusterPartitionParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) SetTimeout added in v0.40.0

func (o *ListPeersByClusterPartitionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WithClusterID added in v0.40.0

WithClusterID adds the clusterID to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WithContext added in v0.40.0

WithContext adds the context to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WithDefaults added in v0.40.0

WithDefaults hydrates default values in the list peers by cluster partition params (not the query body).

All values with no default are reset to their zero value.

func (*ListPeersByClusterPartitionParams) WithHTTPClient added in v0.40.0

WithHTTPClient adds the HTTPClient to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WithLocationOrganizationID added in v0.40.0

func (o *ListPeersByClusterPartitionParams) WithLocationOrganizationID(locationOrganizationID string) *ListPeersByClusterPartitionParams

WithLocationOrganizationID adds the locationOrganizationID to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WithLocationProjectID added in v0.40.0

func (o *ListPeersByClusterPartitionParams) WithLocationProjectID(locationProjectID string) *ListPeersByClusterPartitionParams

WithLocationProjectID adds the locationProjectID to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WithLocationRegionProvider added in v0.40.0

func (o *ListPeersByClusterPartitionParams) WithLocationRegionProvider(locationRegionProvider *string) *ListPeersByClusterPartitionParams

WithLocationRegionProvider adds the locationRegionProvider to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WithLocationRegionRegion added in v0.40.0

func (o *ListPeersByClusterPartitionParams) WithLocationRegionRegion(locationRegionRegion *string) *ListPeersByClusterPartitionParams

WithLocationRegionRegion adds the locationRegionRegion to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WithTimeout added in v0.40.0

WithTimeout adds the timeout to the list peers by cluster partition params

func (*ListPeersByClusterPartitionParams) WriteToRequest added in v0.40.0

WriteToRequest writes these params to a swagger request

type ListPeersByClusterPartitionReader added in v0.40.0

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

ListPeersByClusterPartitionReader is a Reader for the ListPeersByClusterPartition structure.

func (*ListPeersByClusterPartitionReader) ReadResponse added in v0.40.0

func (o *ListPeersByClusterPartitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListServiceInstancesDefault added in v0.62.0

type ListServiceInstancesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListServiceInstancesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListServiceInstancesDefault added in v0.62.0

func NewListServiceInstancesDefault(code int) *ListServiceInstancesDefault

NewListServiceInstancesDefault creates a ListServiceInstancesDefault with default headers values

func (*ListServiceInstancesDefault) Code added in v0.62.0

func (o *ListServiceInstancesDefault) Code() int

Code gets the status code for the list service instances default response

func (*ListServiceInstancesDefault) Error added in v0.62.0

func (*ListServiceInstancesDefault) GetPayload added in v0.62.0

func (*ListServiceInstancesDefault) IsClientError added in v0.62.0

func (o *ListServiceInstancesDefault) IsClientError() bool

IsClientError returns true when this list service instances default response has a 4xx status code

func (*ListServiceInstancesDefault) IsCode added in v0.62.0

func (o *ListServiceInstancesDefault) IsCode(code int) bool

IsCode returns true when this list service instances default response a status code equal to that given

func (*ListServiceInstancesDefault) IsRedirect added in v0.62.0

func (o *ListServiceInstancesDefault) IsRedirect() bool

IsRedirect returns true when this list service instances default response has a 3xx status code

func (*ListServiceInstancesDefault) IsServerError added in v0.62.0

func (o *ListServiceInstancesDefault) IsServerError() bool

IsServerError returns true when this list service instances default response has a 5xx status code

func (*ListServiceInstancesDefault) IsSuccess added in v0.62.0

func (o *ListServiceInstancesDefault) IsSuccess() bool

IsSuccess returns true when this list service instances default response has a 2xx status code

func (*ListServiceInstancesDefault) String added in v0.62.0

func (o *ListServiceInstancesDefault) String() string

type ListServiceInstancesOK added in v0.62.0

type ListServiceInstancesOK struct {
	Payload *models.HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse
}

ListServiceInstancesOK describes a response with status code 200, with default header values.

A successful response.

func NewListServiceInstancesOK added in v0.62.0

func NewListServiceInstancesOK() *ListServiceInstancesOK

NewListServiceInstancesOK creates a ListServiceInstancesOK with default headers values

func (*ListServiceInstancesOK) Code added in v0.69.0

func (o *ListServiceInstancesOK) Code() int

Code gets the status code for the list service instances o k response

func (*ListServiceInstancesOK) Error added in v0.62.0

func (o *ListServiceInstancesOK) Error() string

func (*ListServiceInstancesOK) GetPayload added in v0.62.0

func (*ListServiceInstancesOK) IsClientError added in v0.62.0

func (o *ListServiceInstancesOK) IsClientError() bool

IsClientError returns true when this list service instances o k response has a 4xx status code

func (*ListServiceInstancesOK) IsCode added in v0.62.0

func (o *ListServiceInstancesOK) IsCode(code int) bool

IsCode returns true when this list service instances o k response a status code equal to that given

func (*ListServiceInstancesOK) IsRedirect added in v0.62.0

func (o *ListServiceInstancesOK) IsRedirect() bool

IsRedirect returns true when this list service instances o k response has a 3xx status code

func (*ListServiceInstancesOK) IsServerError added in v0.62.0

func (o *ListServiceInstancesOK) IsServerError() bool

IsServerError returns true when this list service instances o k response has a 5xx status code

func (*ListServiceInstancesOK) IsSuccess added in v0.62.0

func (o *ListServiceInstancesOK) IsSuccess() bool

IsSuccess returns true when this list service instances o k response has a 2xx status code

func (*ListServiceInstancesOK) String added in v0.62.0

func (o *ListServiceInstancesOK) String() string

type ListServiceInstancesParams added in v0.62.0

type ListServiceInstancesParams struct {

	/* ClusterResourceName.

	   Cluster resource name will be of the form `consul/project/<project_id>/cluster/<cluster_id>`
	*/
	ClusterResourceName string

	/* Namespace.

	   Query param filter: `namespace` of the service.
	*/
	Namespace *string

	/* OrderBy.

	     Sorts the services based on a field. Allowed fields: id, health.
	The value needs to be of the format `<Field Name> {asc/desc}` For example: `id`, `id asc`, `health desc`.
	*/
	OrderBy []string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this parameter to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The maximum number of results per page to return. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned, which you can use to get the next page of results in subsequent
	requests. A value of zero causes `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this parameter to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Partition.

	   Query param filter: `partition` of the service.
	*/
	Partition *string

	/* Query.

	   Search query to filter by. Searches across `id` and `tags`.
	*/
	Query *string

	/* ServiceName.

	   Unique identifier for the service instance.
	*/
	ServiceName string

	/* Status.

	   Query param filter: `status` of the service. This can be combination of `passing`, `warning`, `critical`, `none`.
	*/
	Status []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListServiceInstancesParams contains all the parameters to send to the API endpoint

for the list service instances operation.

Typically these are written to a http.Request.

func NewListServiceInstancesParams added in v0.62.0

func NewListServiceInstancesParams() *ListServiceInstancesParams

NewListServiceInstancesParams creates a new ListServiceInstancesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListServiceInstancesParamsWithContext added in v0.62.0

func NewListServiceInstancesParamsWithContext(ctx context.Context) *ListServiceInstancesParams

NewListServiceInstancesParamsWithContext creates a new ListServiceInstancesParams object with the ability to set a context for a request.

func NewListServiceInstancesParamsWithHTTPClient added in v0.62.0

func NewListServiceInstancesParamsWithHTTPClient(client *http.Client) *ListServiceInstancesParams

NewListServiceInstancesParamsWithHTTPClient creates a new ListServiceInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceInstancesParamsWithTimeout added in v0.62.0

func NewListServiceInstancesParamsWithTimeout(timeout time.Duration) *ListServiceInstancesParams

NewListServiceInstancesParamsWithTimeout creates a new ListServiceInstancesParams object with the ability to set a timeout on a request.

func (*ListServiceInstancesParams) SetClusterResourceName added in v0.62.0

func (o *ListServiceInstancesParams) SetClusterResourceName(clusterResourceName string)

SetClusterResourceName adds the clusterResourceName to the list service instances params

func (*ListServiceInstancesParams) SetContext added in v0.62.0

func (o *ListServiceInstancesParams) SetContext(ctx context.Context)

SetContext adds the context to the list service instances params

func (*ListServiceInstancesParams) SetDefaults added in v0.62.0

func (o *ListServiceInstancesParams) SetDefaults()

SetDefaults hydrates default values in the list service instances params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceInstancesParams) SetHTTPClient added in v0.62.0

func (o *ListServiceInstancesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list service instances params

func (*ListServiceInstancesParams) SetNamespace added in v0.62.0

func (o *ListServiceInstancesParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the list service instances params

func (*ListServiceInstancesParams) SetOrderBy added in v0.67.0

func (o *ListServiceInstancesParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the list service instances params

func (*ListServiceInstancesParams) SetPaginationNextPageToken added in v0.62.0

func (o *ListServiceInstancesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list service instances params

func (*ListServiceInstancesParams) SetPaginationPageSize added in v0.62.0

func (o *ListServiceInstancesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list service instances params

func (*ListServiceInstancesParams) SetPaginationPreviousPageToken added in v0.62.0

func (o *ListServiceInstancesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list service instances params

func (*ListServiceInstancesParams) SetPartition added in v0.62.0

func (o *ListServiceInstancesParams) SetPartition(partition *string)

SetPartition adds the partition to the list service instances params

func (*ListServiceInstancesParams) SetQuery added in v0.62.0

func (o *ListServiceInstancesParams) SetQuery(query *string)

SetQuery adds the query to the list service instances params

func (*ListServiceInstancesParams) SetServiceName added in v0.62.0

func (o *ListServiceInstancesParams) SetServiceName(serviceName string)

SetServiceName adds the serviceName to the list service instances params

func (*ListServiceInstancesParams) SetStatus added in v0.62.0

func (o *ListServiceInstancesParams) SetStatus(status []string)

SetStatus adds the status to the list service instances params

func (*ListServiceInstancesParams) SetTimeout added in v0.62.0

func (o *ListServiceInstancesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list service instances params

func (*ListServiceInstancesParams) WithClusterResourceName added in v0.62.0

func (o *ListServiceInstancesParams) WithClusterResourceName(clusterResourceName string) *ListServiceInstancesParams

WithClusterResourceName adds the clusterResourceName to the list service instances params

func (*ListServiceInstancesParams) WithContext added in v0.62.0

WithContext adds the context to the list service instances params

func (*ListServiceInstancesParams) WithDefaults added in v0.62.0

WithDefaults hydrates default values in the list service instances params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceInstancesParams) WithHTTPClient added in v0.62.0

WithHTTPClient adds the HTTPClient to the list service instances params

func (*ListServiceInstancesParams) WithNamespace added in v0.62.0

func (o *ListServiceInstancesParams) WithNamespace(namespace *string) *ListServiceInstancesParams

WithNamespace adds the namespace to the list service instances params

func (*ListServiceInstancesParams) WithOrderBy added in v0.67.0

WithOrderBy adds the orderBy to the list service instances params

func (*ListServiceInstancesParams) WithPaginationNextPageToken added in v0.62.0

func (o *ListServiceInstancesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListServiceInstancesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list service instances params

func (*ListServiceInstancesParams) WithPaginationPageSize added in v0.62.0

func (o *ListServiceInstancesParams) WithPaginationPageSize(paginationPageSize *int64) *ListServiceInstancesParams

WithPaginationPageSize adds the paginationPageSize to the list service instances params

func (*ListServiceInstancesParams) WithPaginationPreviousPageToken added in v0.62.0

func (o *ListServiceInstancesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListServiceInstancesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list service instances params

func (*ListServiceInstancesParams) WithPartition added in v0.62.0

func (o *ListServiceInstancesParams) WithPartition(partition *string) *ListServiceInstancesParams

WithPartition adds the partition to the list service instances params

func (*ListServiceInstancesParams) WithQuery added in v0.62.0

WithQuery adds the query to the list service instances params

func (*ListServiceInstancesParams) WithServiceName added in v0.62.0

func (o *ListServiceInstancesParams) WithServiceName(serviceName string) *ListServiceInstancesParams

WithServiceName adds the serviceName to the list service instances params

func (*ListServiceInstancesParams) WithStatus added in v0.62.0

WithStatus adds the status to the list service instances params

func (*ListServiceInstancesParams) WithTimeout added in v0.62.0

WithTimeout adds the timeout to the list service instances params

func (*ListServiceInstancesParams) WriteToRequest added in v0.62.0

WriteToRequest writes these params to a swagger request

type ListServiceInstancesReader added in v0.62.0

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

ListServiceInstancesReader is a Reader for the ListServiceInstances structure.

func (*ListServiceInstancesReader) ReadResponse added in v0.62.0

func (o *ListServiceInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListServicesDefault added in v0.62.0

type ListServicesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListServicesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListServicesDefault added in v0.62.0

func NewListServicesDefault(code int) *ListServicesDefault

NewListServicesDefault creates a ListServicesDefault with default headers values

func (*ListServicesDefault) Code added in v0.62.0

func (o *ListServicesDefault) Code() int

Code gets the status code for the list services default response

func (*ListServicesDefault) Error added in v0.62.0

func (o *ListServicesDefault) Error() string

func (*ListServicesDefault) GetPayload added in v0.62.0

func (o *ListServicesDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ListServicesDefault) IsClientError added in v0.62.0

func (o *ListServicesDefault) IsClientError() bool

IsClientError returns true when this list services default response has a 4xx status code

func (*ListServicesDefault) IsCode added in v0.62.0

func (o *ListServicesDefault) IsCode(code int) bool

IsCode returns true when this list services default response a status code equal to that given

func (*ListServicesDefault) IsRedirect added in v0.62.0

func (o *ListServicesDefault) IsRedirect() bool

IsRedirect returns true when this list services default response has a 3xx status code

func (*ListServicesDefault) IsServerError added in v0.62.0

func (o *ListServicesDefault) IsServerError() bool

IsServerError returns true when this list services default response has a 5xx status code

func (*ListServicesDefault) IsSuccess added in v0.62.0

func (o *ListServicesDefault) IsSuccess() bool

IsSuccess returns true when this list services default response has a 2xx status code

func (*ListServicesDefault) String added in v0.62.0

func (o *ListServicesDefault) String() string

type ListServicesOK added in v0.62.0

ListServicesOK describes a response with status code 200, with default header values.

A successful response.

func NewListServicesOK added in v0.62.0

func NewListServicesOK() *ListServicesOK

NewListServicesOK creates a ListServicesOK with default headers values

func (*ListServicesOK) Code added in v0.69.0

func (o *ListServicesOK) Code() int

Code gets the status code for the list services o k response

func (*ListServicesOK) Error added in v0.62.0

func (o *ListServicesOK) Error() string

func (*ListServicesOK) GetPayload added in v0.62.0

func (*ListServicesOK) IsClientError added in v0.62.0

func (o *ListServicesOK) IsClientError() bool

IsClientError returns true when this list services o k response has a 4xx status code

func (*ListServicesOK) IsCode added in v0.62.0

func (o *ListServicesOK) IsCode(code int) bool

IsCode returns true when this list services o k response a status code equal to that given

func (*ListServicesOK) IsRedirect added in v0.62.0

func (o *ListServicesOK) IsRedirect() bool

IsRedirect returns true when this list services o k response has a 3xx status code

func (*ListServicesOK) IsServerError added in v0.62.0

func (o *ListServicesOK) IsServerError() bool

IsServerError returns true when this list services o k response has a 5xx status code

func (*ListServicesOK) IsSuccess added in v0.62.0

func (o *ListServicesOK) IsSuccess() bool

IsSuccess returns true when this list services o k response has a 2xx status code

func (*ListServicesOK) String added in v0.62.0

func (o *ListServicesOK) String() string

type ListServicesParams added in v0.62.0

type ListServicesParams struct {

	/* ClusterIds.

	   Query param filter: `cluster_id` of the service.
	*/
	ClusterIds []string

	/* ExternalSources.

	   Query param filter: `external_sources`. Returns a service when service's external sources overlap with the external sources specified.
	*/
	ExternalSources []string

	/* InMesh.

	   Query param filter: whether the service is in the service mesh or not. Possible values: `true` or `false`.
	*/
	InMesh *bool

	/* Kind.

	   Query param filter: `kind` of the service. This can be combination of `typical`, `connect-proxy`, `destination`, `api_gateway`, `ingress_gateway`, `terminating_gateway`, `mesh_gateway`.
	*/
	Kind []string

	/* MtlsMode.

	   Query param filter: mTLS mode of the service. Possible values: `permissive`, `strict`.
	*/
	MtlsMode []string

	/* Namespace.

	   Query param filter: `namespace` of the service.
	*/
	Namespace *string

	/* OrderBy.

	   Sorts the services based on a field. Allowed fields: `name`, `health`. The value needs to be of the format `<Field Name> {asc/desc}` For example: `name`, `name asc`, `name desc`.
	*/
	OrderBy []string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this parameter to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The maximum number of results per page to return. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned, which you can use to get the next page of results in subsequent
	requests. A value of zero causes `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this parameter to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Partition.

	   Query param filter: `partition` of the service.
	*/
	Partition *string

	/* ProjectResourceName.

	   Parent Resource name will be of the form `project/<project_id>`
	*/
	ProjectResourceName string

	/* Query.

	   Search query to filter by. Searches across service `name`, `cluster_id`, `partition`, `namespace`, `sameness_group`, `tags`.
	*/
	Query *string

	/* Status.

	   Query param filter: `status` of the service. This can be combination of `passing`, `warning`, `critical`, `none`.
	*/
	Status []string

	/* Tags.

	   Query param filter: `tags`.
	*/
	Tags []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListServicesParams contains all the parameters to send to the API endpoint

for the list services operation.

Typically these are written to a http.Request.

func NewListServicesParams added in v0.62.0

func NewListServicesParams() *ListServicesParams

NewListServicesParams creates a new ListServicesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListServicesParamsWithContext added in v0.62.0

func NewListServicesParamsWithContext(ctx context.Context) *ListServicesParams

NewListServicesParamsWithContext creates a new ListServicesParams object with the ability to set a context for a request.

func NewListServicesParamsWithHTTPClient added in v0.62.0

func NewListServicesParamsWithHTTPClient(client *http.Client) *ListServicesParams

NewListServicesParamsWithHTTPClient creates a new ListServicesParams object with the ability to set a custom HTTPClient for a request.

func NewListServicesParamsWithTimeout added in v0.62.0

func NewListServicesParamsWithTimeout(timeout time.Duration) *ListServicesParams

NewListServicesParamsWithTimeout creates a new ListServicesParams object with the ability to set a timeout on a request.

func (*ListServicesParams) SetClusterIds added in v0.62.0

func (o *ListServicesParams) SetClusterIds(clusterIds []string)

SetClusterIds adds the clusterIds to the list services params

func (*ListServicesParams) SetContext added in v0.62.0

func (o *ListServicesParams) SetContext(ctx context.Context)

SetContext adds the context to the list services params

func (*ListServicesParams) SetDefaults added in v0.62.0

func (o *ListServicesParams) SetDefaults()

SetDefaults hydrates default values in the list services params (not the query body).

All values with no default are reset to their zero value.

func (*ListServicesParams) SetExternalSources added in v0.62.0

func (o *ListServicesParams) SetExternalSources(externalSources []string)

SetExternalSources adds the externalSources to the list services params

func (*ListServicesParams) SetHTTPClient added in v0.62.0

func (o *ListServicesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list services params

func (*ListServicesParams) SetInMesh added in v0.62.0

func (o *ListServicesParams) SetInMesh(inMesh *bool)

SetInMesh adds the inMesh to the list services params

func (*ListServicesParams) SetKind added in v0.62.0

func (o *ListServicesParams) SetKind(kind []string)

SetKind adds the kind to the list services params

func (*ListServicesParams) SetMtlsMode added in v0.62.0

func (o *ListServicesParams) SetMtlsMode(mtlsMode []string)

SetMtlsMode adds the mtlsMode to the list services params

func (*ListServicesParams) SetNamespace added in v0.62.0

func (o *ListServicesParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the list services params

func (*ListServicesParams) SetOrderBy added in v0.62.0

func (o *ListServicesParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the list services params

func (*ListServicesParams) SetPaginationNextPageToken added in v0.62.0

func (o *ListServicesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list services params

func (*ListServicesParams) SetPaginationPageSize added in v0.62.0

func (o *ListServicesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list services params

func (*ListServicesParams) SetPaginationPreviousPageToken added in v0.62.0

func (o *ListServicesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list services params

func (*ListServicesParams) SetPartition added in v0.62.0

func (o *ListServicesParams) SetPartition(partition *string)

SetPartition adds the partition to the list services params

func (*ListServicesParams) SetProjectResourceName added in v0.62.0

func (o *ListServicesParams) SetProjectResourceName(projectResourceName string)

SetProjectResourceName adds the projectResourceName to the list services params

func (*ListServicesParams) SetQuery added in v0.62.0

func (o *ListServicesParams) SetQuery(query *string)

SetQuery adds the query to the list services params

func (*ListServicesParams) SetStatus added in v0.62.0

func (o *ListServicesParams) SetStatus(status []string)

SetStatus adds the status to the list services params

func (*ListServicesParams) SetTags added in v0.73.0

func (o *ListServicesParams) SetTags(tags []string)

SetTags adds the tags to the list services params

func (*ListServicesParams) SetTimeout added in v0.62.0

func (o *ListServicesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list services params

func (*ListServicesParams) WithClusterIds added in v0.62.0

func (o *ListServicesParams) WithClusterIds(clusterIds []string) *ListServicesParams

WithClusterIds adds the clusterIds to the list services params

func (*ListServicesParams) WithContext added in v0.62.0

WithContext adds the context to the list services params

func (*ListServicesParams) WithDefaults added in v0.62.0

func (o *ListServicesParams) WithDefaults() *ListServicesParams

WithDefaults hydrates default values in the list services params (not the query body).

All values with no default are reset to their zero value.

func (*ListServicesParams) WithExternalSources added in v0.62.0

func (o *ListServicesParams) WithExternalSources(externalSources []string) *ListServicesParams

WithExternalSources adds the externalSources to the list services params

func (*ListServicesParams) WithHTTPClient added in v0.62.0

func (o *ListServicesParams) WithHTTPClient(client *http.Client) *ListServicesParams

WithHTTPClient adds the HTTPClient to the list services params

func (*ListServicesParams) WithInMesh added in v0.62.0

func (o *ListServicesParams) WithInMesh(inMesh *bool) *ListServicesParams

WithInMesh adds the inMesh to the list services params

func (*ListServicesParams) WithKind added in v0.62.0

func (o *ListServicesParams) WithKind(kind []string) *ListServicesParams

WithKind adds the kind to the list services params

func (*ListServicesParams) WithMtlsMode added in v0.62.0

func (o *ListServicesParams) WithMtlsMode(mtlsMode []string) *ListServicesParams

WithMtlsMode adds the mtlsMode to the list services params

func (*ListServicesParams) WithNamespace added in v0.62.0

func (o *ListServicesParams) WithNamespace(namespace *string) *ListServicesParams

WithNamespace adds the namespace to the list services params

func (*ListServicesParams) WithOrderBy added in v0.62.0

func (o *ListServicesParams) WithOrderBy(orderBy []string) *ListServicesParams

WithOrderBy adds the orderBy to the list services params

func (*ListServicesParams) WithPaginationNextPageToken added in v0.62.0

func (o *ListServicesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListServicesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list services params

func (*ListServicesParams) WithPaginationPageSize added in v0.62.0

func (o *ListServicesParams) WithPaginationPageSize(paginationPageSize *int64) *ListServicesParams

WithPaginationPageSize adds the paginationPageSize to the list services params

func (*ListServicesParams) WithPaginationPreviousPageToken added in v0.62.0

func (o *ListServicesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListServicesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list services params

func (*ListServicesParams) WithPartition added in v0.62.0

func (o *ListServicesParams) WithPartition(partition *string) *ListServicesParams

WithPartition adds the partition to the list services params

func (*ListServicesParams) WithProjectResourceName added in v0.62.0

func (o *ListServicesParams) WithProjectResourceName(projectResourceName string) *ListServicesParams

WithProjectResourceName adds the projectResourceName to the list services params

func (*ListServicesParams) WithQuery added in v0.62.0

func (o *ListServicesParams) WithQuery(query *string) *ListServicesParams

WithQuery adds the query to the list services params

func (*ListServicesParams) WithStatus added in v0.62.0

func (o *ListServicesParams) WithStatus(status []string) *ListServicesParams

WithStatus adds the status to the list services params

func (*ListServicesParams) WithTags added in v0.73.0

func (o *ListServicesParams) WithTags(tags []string) *ListServicesParams

WithTags adds the tags to the list services params

func (*ListServicesParams) WithTimeout added in v0.62.0

func (o *ListServicesParams) WithTimeout(timeout time.Duration) *ListServicesParams

WithTimeout adds the timeout to the list services params

func (*ListServicesParams) WriteToRequest added in v0.62.0

func (o *ListServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListServicesReader added in v0.62.0

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

ListServicesReader is a Reader for the ListServices structure.

func (*ListServicesReader) ReadResponse added in v0.62.0

func (o *ListServicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClusterBody added in v0.62.0

type UpdateClusterBody struct {

	// consul_access_level is a cluster field to update
	ConsulAccessLevel *models.HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel `json:"consul_access_level,omitempty"`

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

	// management_token is a cluster-related field to update
	ManagementToken string `json:"management_token,omitempty"`

	// update_mask is the mask of fields to update
	UpdateMask string `json:"update_mask,omitempty"`
}

UpdateClusterBody UpdateClusterRequest contains the individual fields of the cluster to update. // Fields are added to the request object as they are supported. // // The request does not contain the `Cluster` object itself since there are // cluster fields we want to support updateing but do not want to expose // publically in other APIs that also use `Cluster` i.e. we do not want to // add `Cluster.management_token` and start returning the management_token in // the GetCluster API. swagger:model UpdateClusterBody

func (*UpdateClusterBody) ContextValidate added in v0.62.0

func (o *UpdateClusterBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cluster body based on the context it is used

func (*UpdateClusterBody) MarshalBinary added in v0.62.0

func (o *UpdateClusterBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterBody) UnmarshalBinary added in v0.62.0

func (o *UpdateClusterBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterBody) Validate added in v0.62.0

func (o *UpdateClusterBody) Validate(formats strfmt.Registry) error

Validate validates this update cluster body

type UpdateClusterDefault added in v0.62.0

type UpdateClusterDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

UpdateClusterDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateClusterDefault added in v0.62.0

func NewUpdateClusterDefault(code int) *UpdateClusterDefault

NewUpdateClusterDefault creates a UpdateClusterDefault with default headers values

func (*UpdateClusterDefault) Code added in v0.62.0

func (o *UpdateClusterDefault) Code() int

Code gets the status code for the update cluster default response

func (*UpdateClusterDefault) Error added in v0.62.0

func (o *UpdateClusterDefault) Error() string

func (*UpdateClusterDefault) GetPayload added in v0.62.0

func (o *UpdateClusterDefault) GetPayload() *cloud.GoogleRPCStatus

func (*UpdateClusterDefault) IsClientError added in v0.62.0

func (o *UpdateClusterDefault) IsClientError() bool

IsClientError returns true when this update cluster default response has a 4xx status code

func (*UpdateClusterDefault) IsCode added in v0.62.0

func (o *UpdateClusterDefault) IsCode(code int) bool

IsCode returns true when this update cluster default response a status code equal to that given

func (*UpdateClusterDefault) IsRedirect added in v0.62.0

func (o *UpdateClusterDefault) IsRedirect() bool

IsRedirect returns true when this update cluster default response has a 3xx status code

func (*UpdateClusterDefault) IsServerError added in v0.62.0

func (o *UpdateClusterDefault) IsServerError() bool

IsServerError returns true when this update cluster default response has a 5xx status code

func (*UpdateClusterDefault) IsSuccess added in v0.62.0

func (o *UpdateClusterDefault) IsSuccess() bool

IsSuccess returns true when this update cluster default response has a 2xx status code

func (*UpdateClusterDefault) String added in v0.62.0

func (o *UpdateClusterDefault) String() string

type UpdateClusterOK added in v0.62.0

UpdateClusterOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateClusterOK added in v0.62.0

func NewUpdateClusterOK() *UpdateClusterOK

NewUpdateClusterOK creates a UpdateClusterOK with default headers values

func (*UpdateClusterOK) Code added in v0.69.0

func (o *UpdateClusterOK) Code() int

Code gets the status code for the update cluster o k response

func (*UpdateClusterOK) Error added in v0.62.0

func (o *UpdateClusterOK) Error() string

func (*UpdateClusterOK) GetPayload added in v0.62.0

func (*UpdateClusterOK) IsClientError added in v0.62.0

func (o *UpdateClusterOK) IsClientError() bool

IsClientError returns true when this update cluster o k response has a 4xx status code

func (*UpdateClusterOK) IsCode added in v0.62.0

func (o *UpdateClusterOK) IsCode(code int) bool

IsCode returns true when this update cluster o k response a status code equal to that given

func (*UpdateClusterOK) IsRedirect added in v0.62.0

func (o *UpdateClusterOK) IsRedirect() bool

IsRedirect returns true when this update cluster o k response has a 3xx status code

func (*UpdateClusterOK) IsServerError added in v0.62.0

func (o *UpdateClusterOK) IsServerError() bool

IsServerError returns true when this update cluster o k response has a 5xx status code

func (*UpdateClusterOK) IsSuccess added in v0.62.0

func (o *UpdateClusterOK) IsSuccess() bool

IsSuccess returns true when this update cluster o k response has a 2xx status code

func (*UpdateClusterOK) String added in v0.62.0

func (o *UpdateClusterOK) String() string

type UpdateClusterParams added in v0.62.0

type UpdateClusterParams struct {

	// Body.
	Body UpdateClusterBody

	/* ID.

	   id is the user settable GNM cluster name of the cluster to update
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClusterParams contains all the parameters to send to the API endpoint

for the update cluster operation.

Typically these are written to a http.Request.

func NewUpdateClusterParams added in v0.62.0

func NewUpdateClusterParams() *UpdateClusterParams

NewUpdateClusterParams creates a new UpdateClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateClusterParamsWithContext added in v0.62.0

func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams

NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the ability to set a context for a request.

func NewUpdateClusterParamsWithHTTPClient added in v0.62.0

func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams

NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterParamsWithTimeout added in v0.62.0

func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams

NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the ability to set a timeout on a request.

func (*UpdateClusterParams) SetBody added in v0.62.0

func (o *UpdateClusterParams) SetBody(body UpdateClusterBody)

SetBody adds the body to the update cluster params

func (*UpdateClusterParams) SetContext added in v0.62.0

func (o *UpdateClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the update cluster params

func (*UpdateClusterParams) SetDefaults added in v0.62.0

func (o *UpdateClusterParams) SetDefaults()

SetDefaults hydrates default values in the update cluster params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterParams) SetHTTPClient added in v0.62.0

func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update cluster params

func (*UpdateClusterParams) SetID added in v0.62.0

func (o *UpdateClusterParams) SetID(id string)

SetID adds the id to the update cluster params

func (*UpdateClusterParams) SetLocationOrganizationID added in v0.62.0

func (o *UpdateClusterParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the update cluster params

func (*UpdateClusterParams) SetLocationProjectID added in v0.62.0

func (o *UpdateClusterParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the update cluster params

func (*UpdateClusterParams) SetTimeout added in v0.62.0

func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update cluster params

func (*UpdateClusterParams) WithBody added in v0.62.0

WithBody adds the body to the update cluster params

func (*UpdateClusterParams) WithContext added in v0.62.0

WithContext adds the context to the update cluster params

func (*UpdateClusterParams) WithDefaults added in v0.62.0

func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams

WithDefaults hydrates default values in the update cluster params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterParams) WithHTTPClient added in v0.62.0

func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams

WithHTTPClient adds the HTTPClient to the update cluster params

func (*UpdateClusterParams) WithID added in v0.62.0

WithID adds the id to the update cluster params

func (*UpdateClusterParams) WithLocationOrganizationID added in v0.62.0

func (o *UpdateClusterParams) WithLocationOrganizationID(locationOrganizationID string) *UpdateClusterParams

WithLocationOrganizationID adds the locationOrganizationID to the update cluster params

func (*UpdateClusterParams) WithLocationProjectID added in v0.62.0

func (o *UpdateClusterParams) WithLocationProjectID(locationProjectID string) *UpdateClusterParams

WithLocationProjectID adds the locationProjectID to the update cluster params

func (*UpdateClusterParams) WithTimeout added in v0.62.0

func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams

WithTimeout adds the timeout to the update cluster params

func (*UpdateClusterParams) WriteToRequest added in v0.62.0

func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateClusterParamsBodyLocation added in v0.62.0

type UpdateClusterParamsBodyLocation struct {

	// region is the region that the resource is located in. It is
	// optional if the object being referenced is a global object.
	Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"`
}

UpdateClusterParamsBodyLocation location is the location of the cluster to update with an optional provider // and region swagger:model UpdateClusterParamsBodyLocation

func (*UpdateClusterParamsBodyLocation) ContextValidate added in v0.62.0

func (o *UpdateClusterParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cluster params body location based on the context it is used

func (*UpdateClusterParamsBodyLocation) MarshalBinary added in v0.62.0

func (o *UpdateClusterParamsBodyLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterParamsBodyLocation) UnmarshalBinary added in v0.62.0

func (o *UpdateClusterParamsBodyLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterParamsBodyLocation) Validate added in v0.62.0

Validate validates this update cluster params body location

type UpdateClusterReader added in v0.62.0

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

UpdateClusterReader is a Reader for the UpdateCluster structure.

func (*UpdateClusterReader) ReadResponse added in v0.62.0

func (o *UpdateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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