global_network_manager_service

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MPL-2.0 Imports: 12 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.GrpcGatewayRuntimeError
	// 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 {

	// 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) 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) 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 AgentDiscoverDefault

type AgentDiscoverDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// 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 (*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 *models.HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest

	/* 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

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 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 AgentPushServerStateDefault

type AgentPushServerStateDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// 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 *models.HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest

	/* 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 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) DeleteCluster

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

DeleteCluster delete cluster API

func (*Client) GetAggregateServiceSummary

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

GetAggregateServiceSummary get aggregate service summary API

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) 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) 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)

	DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, 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)

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

	ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, 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 CreateClusterDefault

type CreateClusterDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// 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 (*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 *models.HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest

	/* 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

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 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 DeleteClusterDefault

type DeleteClusterDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// 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 (*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 GetAggregateServiceSummaryDefault

type GetAggregateServiceSummaryDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// 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 {

	/* 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) 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) 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.GrpcGatewayRuntimeError
	// 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.GrpcGatewayRuntimeError
	// 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 (*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.GrpcGatewayRuntimeError
	// 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.GrpcGatewayRuntimeError
	// 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 {

	/* FilterCluster.

	   cluster matches summaries on the cluster name.
	*/
	FilterCluster []string

	/* FilterNamePrefix.

	   name_prefix matches summaries on the prefix of the service's name.
	*/
	FilterNamePrefix *string

	/* FilterNamespace.

	   namespace matches summaries on the namespace name.
	*/
	FilterNamespace []string

	/* FilterPartition.

	   partition matches summaries on the partition name.
	*/
	FilterPartition []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) SetFilterCluster

func (o *GetServiceSummariesParams) SetFilterCluster(filterCluster []string)

SetFilterCluster adds the filterCluster to the get service summaries params

func (*GetServiceSummariesParams) SetFilterNamePrefix

func (o *GetServiceSummariesParams) SetFilterNamePrefix(filterNamePrefix *string)

SetFilterNamePrefix adds the filterNamePrefix to the get service summaries params

func (*GetServiceSummariesParams) SetFilterNamespace

func (o *GetServiceSummariesParams) SetFilterNamespace(filterNamespace []string)

SetFilterNamespace adds the filterNamespace to the get service summaries params

func (*GetServiceSummariesParams) SetFilterPartition

func (o *GetServiceSummariesParams) SetFilterPartition(filterPartition []string)

SetFilterPartition adds the filterPartition 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) WithFilterCluster

func (o *GetServiceSummariesParams) WithFilterCluster(filterCluster []string) *GetServiceSummariesParams

WithFilterCluster adds the filterCluster to the get service summaries params

func (*GetServiceSummariesParams) WithFilterNamePrefix

func (o *GetServiceSummariesParams) WithFilterNamePrefix(filterNamePrefix *string) *GetServiceSummariesParams

WithFilterNamePrefix adds the filterNamePrefix to the get service summaries params

func (*GetServiceSummariesParams) WithFilterNamespace

func (o *GetServiceSummariesParams) WithFilterNamespace(filterNamespace []string) *GetServiceSummariesParams

WithFilterNamespace adds the filterNamespace to the get service summaries params

func (*GetServiceSummariesParams) WithFilterPartition

func (o *GetServiceSummariesParams) WithFilterPartition(filterPartition []string) *GetServiceSummariesParams

WithFilterPartition adds the filterPartition 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 ListClusterServersDefault

type ListClusterServersDefault struct {
	Payload *cloud.GrpcGatewayRuntimeError
	// 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.GrpcGatewayRuntimeError
	// 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 (*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

	/* 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) 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) 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.

Jump to

Keyboard shortcuts

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