global_network_manager_service

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 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) 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) 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) 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) GetClusterSecrets

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

GetClusterSecrets get cluster secrets API

func (*Client) GetServiceSummaries

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

GetServiceSummaries get service summaries 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) 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) SetTransport

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

SetTransport changes the transport on the client

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)

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

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

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

	ListClusterServers(params *ListClusterServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterServersOK, 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)

	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 {

	// 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"`

	// 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) 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) 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) 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) 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) 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) 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 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) 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) 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 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) 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.
	*/
	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 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 max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this 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 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) 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) 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 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) 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 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 max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this 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.

	    type is the type of clusters to limit the response to

	- TYPE_UNSPECIFIED: unspecified type to filter on. If this is seen, 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) 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) 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) 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) 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.

Jump to

Keyboard shortcuts

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