Documentation ¶
Index ¶
- type AgentBootstrapConfigDefault
- func (o *AgentBootstrapConfigDefault) Code() int
- func (o *AgentBootstrapConfigDefault) Error() string
- func (o *AgentBootstrapConfigDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *AgentBootstrapConfigDefault) IsClientError() bool
- func (o *AgentBootstrapConfigDefault) IsCode(code int) bool
- func (o *AgentBootstrapConfigDefault) IsRedirect() bool
- func (o *AgentBootstrapConfigDefault) IsServerError() bool
- func (o *AgentBootstrapConfigDefault) IsSuccess() bool
- func (o *AgentBootstrapConfigDefault) String() string
- type AgentBootstrapConfigOK
- func (o *AgentBootstrapConfigOK) Error() string
- func (o *AgentBootstrapConfigOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse
- func (o *AgentBootstrapConfigOK) IsClientError() bool
- func (o *AgentBootstrapConfigOK) IsCode(code int) bool
- func (o *AgentBootstrapConfigOK) IsRedirect() bool
- func (o *AgentBootstrapConfigOK) IsServerError() bool
- func (o *AgentBootstrapConfigOK) IsSuccess() bool
- func (o *AgentBootstrapConfigOK) String() string
- type AgentBootstrapConfigParams
- func NewAgentBootstrapConfigParams() *AgentBootstrapConfigParams
- func NewAgentBootstrapConfigParamsWithContext(ctx context.Context) *AgentBootstrapConfigParams
- func NewAgentBootstrapConfigParamsWithHTTPClient(client *http.Client) *AgentBootstrapConfigParams
- func NewAgentBootstrapConfigParamsWithTimeout(timeout time.Duration) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) SetContext(ctx context.Context)
- func (o *AgentBootstrapConfigParams) SetDefaults()
- func (o *AgentBootstrapConfigParams) SetHTTPClient(client *http.Client)
- func (o *AgentBootstrapConfigParams) SetID(id string)
- func (o *AgentBootstrapConfigParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *AgentBootstrapConfigParams) SetLocationProjectID(locationProjectID string)
- func (o *AgentBootstrapConfigParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *AgentBootstrapConfigParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *AgentBootstrapConfigParams) SetTimeout(timeout time.Duration)
- func (o *AgentBootstrapConfigParams) WithContext(ctx context.Context) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WithDefaults() *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WithHTTPClient(client *http.Client) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WithID(id string) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WithLocationOrganizationID(locationOrganizationID string) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WithLocationProjectID(locationProjectID string) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WithLocationRegionProvider(locationRegionProvider *string) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WithLocationRegionRegion(locationRegionRegion *string) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WithTimeout(timeout time.Duration) *AgentBootstrapConfigParams
- func (o *AgentBootstrapConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AgentBootstrapConfigReader
- type AgentDiscoverDefault
- func (o *AgentDiscoverDefault) Code() int
- func (o *AgentDiscoverDefault) Error() string
- func (o *AgentDiscoverDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *AgentDiscoverDefault) IsClientError() bool
- func (o *AgentDiscoverDefault) IsCode(code int) bool
- func (o *AgentDiscoverDefault) IsRedirect() bool
- func (o *AgentDiscoverDefault) IsServerError() bool
- func (o *AgentDiscoverDefault) IsSuccess() bool
- func (o *AgentDiscoverDefault) String() string
- type AgentDiscoverOK
- func (o *AgentDiscoverOK) Error() string
- func (o *AgentDiscoverOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse
- func (o *AgentDiscoverOK) IsClientError() bool
- func (o *AgentDiscoverOK) IsCode(code int) bool
- func (o *AgentDiscoverOK) IsRedirect() bool
- func (o *AgentDiscoverOK) IsServerError() bool
- func (o *AgentDiscoverOK) IsSuccess() bool
- func (o *AgentDiscoverOK) String() string
- type AgentDiscoverParams
- func (o *AgentDiscoverParams) SetBody(body *models.HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest)
- func (o *AgentDiscoverParams) SetContext(ctx context.Context)
- func (o *AgentDiscoverParams) SetDefaults()
- func (o *AgentDiscoverParams) SetHTTPClient(client *http.Client)
- func (o *AgentDiscoverParams) SetID(id string)
- func (o *AgentDiscoverParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *AgentDiscoverParams) SetLocationProjectID(locationProjectID string)
- func (o *AgentDiscoverParams) SetTimeout(timeout time.Duration)
- func (o *AgentDiscoverParams) WithBody(body *models.HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest) *AgentDiscoverParams
- func (o *AgentDiscoverParams) WithContext(ctx context.Context) *AgentDiscoverParams
- func (o *AgentDiscoverParams) WithDefaults() *AgentDiscoverParams
- func (o *AgentDiscoverParams) WithHTTPClient(client *http.Client) *AgentDiscoverParams
- func (o *AgentDiscoverParams) WithID(id string) *AgentDiscoverParams
- func (o *AgentDiscoverParams) WithLocationOrganizationID(locationOrganizationID string) *AgentDiscoverParams
- func (o *AgentDiscoverParams) WithLocationProjectID(locationProjectID string) *AgentDiscoverParams
- func (o *AgentDiscoverParams) WithTimeout(timeout time.Duration) *AgentDiscoverParams
- func (o *AgentDiscoverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AgentDiscoverReader
- type AgentPushServerStateDefault
- func (o *AgentPushServerStateDefault) Code() int
- func (o *AgentPushServerStateDefault) Error() string
- func (o *AgentPushServerStateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *AgentPushServerStateDefault) IsClientError() bool
- func (o *AgentPushServerStateDefault) IsCode(code int) bool
- func (o *AgentPushServerStateDefault) IsRedirect() bool
- func (o *AgentPushServerStateDefault) IsServerError() bool
- func (o *AgentPushServerStateDefault) IsSuccess() bool
- func (o *AgentPushServerStateDefault) String() string
- type AgentPushServerStateOK
- func (o *AgentPushServerStateOK) Error() string
- func (o *AgentPushServerStateOK) GetPayload() models.HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse
- func (o *AgentPushServerStateOK) IsClientError() bool
- func (o *AgentPushServerStateOK) IsCode(code int) bool
- func (o *AgentPushServerStateOK) IsRedirect() bool
- func (o *AgentPushServerStateOK) IsServerError() bool
- func (o *AgentPushServerStateOK) IsSuccess() bool
- func (o *AgentPushServerStateOK) String() string
- type AgentPushServerStateParams
- func NewAgentPushServerStateParams() *AgentPushServerStateParams
- func NewAgentPushServerStateParamsWithContext(ctx context.Context) *AgentPushServerStateParams
- func NewAgentPushServerStateParamsWithHTTPClient(client *http.Client) *AgentPushServerStateParams
- func NewAgentPushServerStateParamsWithTimeout(timeout time.Duration) *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) SetBody(...)
- func (o *AgentPushServerStateParams) SetContext(ctx context.Context)
- func (o *AgentPushServerStateParams) SetDefaults()
- func (o *AgentPushServerStateParams) SetHTTPClient(client *http.Client)
- func (o *AgentPushServerStateParams) SetID(id string)
- func (o *AgentPushServerStateParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *AgentPushServerStateParams) SetLocationProjectID(locationProjectID string)
- func (o *AgentPushServerStateParams) SetTimeout(timeout time.Duration)
- func (o *AgentPushServerStateParams) WithBody(...) *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) WithContext(ctx context.Context) *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) WithDefaults() *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) WithHTTPClient(client *http.Client) *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) WithID(id string) *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) WithLocationOrganizationID(locationOrganizationID string) *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) WithLocationProjectID(locationProjectID string) *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) WithTimeout(timeout time.Duration) *AgentPushServerStateParams
- func (o *AgentPushServerStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AgentPushServerStateReader
- type Client
- func (a *Client) AgentBootstrapConfig(params *AgentBootstrapConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AgentBootstrapConfigOK, error)
- func (a *Client) AgentDiscover(params *AgentDiscoverParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AgentDiscoverOK, error)
- func (a *Client) AgentPushServerState(params *AgentPushServerStateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AgentPushServerStateOK, error)
- func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateClusterOK, error)
- func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteClusterOK, error)
- func (a *Client) GetAggregateServiceSummary(params *GetAggregateServiceSummaryParams, ...) (*GetAggregateServiceSummaryOK, error)
- func (a *Client) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterOK, error)
- func (a *Client) GetClusterAPIInfo(params *GetClusterAPIInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterAPIInfoOK, error)
- func (a *Client) GetClusterSecrets(params *GetClusterSecretsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterSecretsOK, error)
- func (a *Client) GetServiceSummaries(params *GetServiceSummariesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetServiceSummariesOK, error)
- func (a *Client) ListClusterServers(params *ListClusterServersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListClusterServersOK, error)
- func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListClustersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateClusterDefault
- func (o *CreateClusterDefault) Code() int
- func (o *CreateClusterDefault) Error() string
- func (o *CreateClusterDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreateClusterDefault) IsClientError() bool
- func (o *CreateClusterDefault) IsCode(code int) bool
- func (o *CreateClusterDefault) IsRedirect() bool
- func (o *CreateClusterDefault) IsServerError() bool
- func (o *CreateClusterDefault) IsSuccess() bool
- func (o *CreateClusterDefault) String() string
- type CreateClusterOK
- func (o *CreateClusterOK) Error() string
- func (o *CreateClusterOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse
- func (o *CreateClusterOK) IsClientError() bool
- func (o *CreateClusterOK) IsCode(code int) bool
- func (o *CreateClusterOK) IsRedirect() bool
- func (o *CreateClusterOK) IsServerError() bool
- func (o *CreateClusterOK) IsSuccess() bool
- func (o *CreateClusterOK) String() string
- type CreateClusterParams
- func (o *CreateClusterParams) SetBody(body *models.HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest)
- func (o *CreateClusterParams) SetContext(ctx context.Context)
- func (o *CreateClusterParams) SetDefaults()
- func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *CreateClusterParams) SetLocationProjectID(locationProjectID string)
- func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterParams) WithBody(body *models.HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest) *CreateClusterParams
- func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
- func (o *CreateClusterParams) WithDefaults() *CreateClusterParams
- func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
- func (o *CreateClusterParams) WithLocationOrganizationID(locationOrganizationID string) *CreateClusterParams
- func (o *CreateClusterParams) WithLocationProjectID(locationProjectID string) *CreateClusterParams
- func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
- func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterReader
- type DeleteClusterDefault
- func (o *DeleteClusterDefault) Code() int
- func (o *DeleteClusterDefault) Error() string
- func (o *DeleteClusterDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DeleteClusterDefault) IsClientError() bool
- func (o *DeleteClusterDefault) IsCode(code int) bool
- func (o *DeleteClusterDefault) IsRedirect() bool
- func (o *DeleteClusterDefault) IsServerError() bool
- func (o *DeleteClusterDefault) IsSuccess() bool
- func (o *DeleteClusterDefault) String() string
- type DeleteClusterOK
- func (o *DeleteClusterOK) Error() string
- func (o *DeleteClusterOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse
- func (o *DeleteClusterOK) IsClientError() bool
- func (o *DeleteClusterOK) IsCode(code int) bool
- func (o *DeleteClusterOK) IsRedirect() bool
- func (o *DeleteClusterOK) IsServerError() bool
- func (o *DeleteClusterOK) IsSuccess() bool
- func (o *DeleteClusterOK) String() string
- type DeleteClusterParams
- func (o *DeleteClusterParams) SetContext(ctx context.Context)
- func (o *DeleteClusterParams) SetDefaults()
- func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterParams) SetID(id string)
- func (o *DeleteClusterParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *DeleteClusterParams) SetLocationProjectID(locationProjectID string)
- func (o *DeleteClusterParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DeleteClusterParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
- func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
- func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
- func (o *DeleteClusterParams) WithID(id string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithLocationProjectID(locationProjectID string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
- func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterReader
- type GetAggregateServiceSummaryDefault
- func (o *GetAggregateServiceSummaryDefault) Code() int
- func (o *GetAggregateServiceSummaryDefault) Error() string
- func (o *GetAggregateServiceSummaryDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetAggregateServiceSummaryDefault) IsClientError() bool
- func (o *GetAggregateServiceSummaryDefault) IsCode(code int) bool
- func (o *GetAggregateServiceSummaryDefault) IsRedirect() bool
- func (o *GetAggregateServiceSummaryDefault) IsServerError() bool
- func (o *GetAggregateServiceSummaryDefault) IsSuccess() bool
- func (o *GetAggregateServiceSummaryDefault) String() string
- type GetAggregateServiceSummaryOK
- func (o *GetAggregateServiceSummaryOK) Error() string
- func (o *GetAggregateServiceSummaryOK) GetPayload() ...
- func (o *GetAggregateServiceSummaryOK) IsClientError() bool
- func (o *GetAggregateServiceSummaryOK) IsCode(code int) bool
- func (o *GetAggregateServiceSummaryOK) IsRedirect() bool
- func (o *GetAggregateServiceSummaryOK) IsServerError() bool
- func (o *GetAggregateServiceSummaryOK) IsSuccess() bool
- func (o *GetAggregateServiceSummaryOK) String() string
- type GetAggregateServiceSummaryParams
- func NewGetAggregateServiceSummaryParams() *GetAggregateServiceSummaryParams
- func NewGetAggregateServiceSummaryParamsWithContext(ctx context.Context) *GetAggregateServiceSummaryParams
- func NewGetAggregateServiceSummaryParamsWithHTTPClient(client *http.Client) *GetAggregateServiceSummaryParams
- func NewGetAggregateServiceSummaryParamsWithTimeout(timeout time.Duration) *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) SetContext(ctx context.Context)
- func (o *GetAggregateServiceSummaryParams) SetDefaults()
- func (o *GetAggregateServiceSummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetAggregateServiceSummaryParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetAggregateServiceSummaryParams) SetLocationProjectID(locationProjectID string)
- func (o *GetAggregateServiceSummaryParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetAggregateServiceSummaryParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetAggregateServiceSummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetAggregateServiceSummaryParams) WithContext(ctx context.Context) *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) WithDefaults() *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) WithHTTPClient(client *http.Client) *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) WithLocationOrganizationID(locationOrganizationID string) *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) WithLocationProjectID(locationProjectID string) *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) WithLocationRegionProvider(locationRegionProvider *string) *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) WithLocationRegionRegion(locationRegionRegion *string) *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) WithTimeout(timeout time.Duration) *GetAggregateServiceSummaryParams
- func (o *GetAggregateServiceSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAggregateServiceSummaryReader
- type GetClusterAPIInfoDefault
- func (o *GetClusterAPIInfoDefault) Code() int
- func (o *GetClusterAPIInfoDefault) Error() string
- func (o *GetClusterAPIInfoDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetClusterAPIInfoDefault) IsClientError() bool
- func (o *GetClusterAPIInfoDefault) IsCode(code int) bool
- func (o *GetClusterAPIInfoDefault) IsRedirect() bool
- func (o *GetClusterAPIInfoDefault) IsServerError() bool
- func (o *GetClusterAPIInfoDefault) IsSuccess() bool
- func (o *GetClusterAPIInfoDefault) String() string
- type GetClusterAPIInfoOK
- func (o *GetClusterAPIInfoOK) Error() string
- func (o *GetClusterAPIInfoOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse
- func (o *GetClusterAPIInfoOK) IsClientError() bool
- func (o *GetClusterAPIInfoOK) IsCode(code int) bool
- func (o *GetClusterAPIInfoOK) IsRedirect() bool
- func (o *GetClusterAPIInfoOK) IsServerError() bool
- func (o *GetClusterAPIInfoOK) IsSuccess() bool
- func (o *GetClusterAPIInfoOK) String() string
- type GetClusterAPIInfoParams
- func NewGetClusterAPIInfoParams() *GetClusterAPIInfoParams
- func NewGetClusterAPIInfoParamsWithContext(ctx context.Context) *GetClusterAPIInfoParams
- func NewGetClusterAPIInfoParamsWithHTTPClient(client *http.Client) *GetClusterAPIInfoParams
- func NewGetClusterAPIInfoParamsWithTimeout(timeout time.Duration) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) SetContext(ctx context.Context)
- func (o *GetClusterAPIInfoParams) SetDefaults()
- func (o *GetClusterAPIInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterAPIInfoParams) SetID(id string)
- func (o *GetClusterAPIInfoParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetClusterAPIInfoParams) SetLocationProjectID(locationProjectID string)
- func (o *GetClusterAPIInfoParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetClusterAPIInfoParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetClusterAPIInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterAPIInfoParams) WithContext(ctx context.Context) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WithDefaults() *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WithHTTPClient(client *http.Client) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WithID(id string) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WithLocationOrganizationID(locationOrganizationID string) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WithLocationProjectID(locationProjectID string) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WithLocationRegionProvider(locationRegionProvider *string) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WithLocationRegionRegion(locationRegionRegion *string) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WithTimeout(timeout time.Duration) *GetClusterAPIInfoParams
- func (o *GetClusterAPIInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterAPIInfoReader
- type GetClusterDefault
- func (o *GetClusterDefault) Code() int
- func (o *GetClusterDefault) Error() string
- func (o *GetClusterDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetClusterDefault) IsClientError() bool
- func (o *GetClusterDefault) IsCode(code int) bool
- func (o *GetClusterDefault) IsRedirect() bool
- func (o *GetClusterDefault) IsServerError() bool
- func (o *GetClusterDefault) IsSuccess() bool
- func (o *GetClusterDefault) String() string
- type GetClusterOK
- func (o *GetClusterOK) Error() string
- func (o *GetClusterOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215GetClusterResponse
- func (o *GetClusterOK) IsClientError() bool
- func (o *GetClusterOK) IsCode(code int) bool
- func (o *GetClusterOK) IsRedirect() bool
- func (o *GetClusterOK) IsServerError() bool
- func (o *GetClusterOK) IsSuccess() bool
- func (o *GetClusterOK) String() string
- type GetClusterParams
- func (o *GetClusterParams) SetContext(ctx context.Context)
- func (o *GetClusterParams) SetDefaults()
- func (o *GetClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterParams) SetID(id string)
- func (o *GetClusterParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetClusterParams) SetLocationProjectID(locationProjectID string)
- func (o *GetClusterParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetClusterParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams
- func (o *GetClusterParams) WithDefaults() *GetClusterParams
- func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams
- func (o *GetClusterParams) WithID(id string) *GetClusterParams
- func (o *GetClusterParams) WithLocationOrganizationID(locationOrganizationID string) *GetClusterParams
- func (o *GetClusterParams) WithLocationProjectID(locationProjectID string) *GetClusterParams
- func (o *GetClusterParams) WithLocationRegionProvider(locationRegionProvider *string) *GetClusterParams
- func (o *GetClusterParams) WithLocationRegionRegion(locationRegionRegion *string) *GetClusterParams
- func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams
- func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterReader
- type GetClusterSecretsDefault
- func (o *GetClusterSecretsDefault) Code() int
- func (o *GetClusterSecretsDefault) Error() string
- func (o *GetClusterSecretsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetClusterSecretsDefault) IsClientError() bool
- func (o *GetClusterSecretsDefault) IsCode(code int) bool
- func (o *GetClusterSecretsDefault) IsRedirect() bool
- func (o *GetClusterSecretsDefault) IsServerError() bool
- func (o *GetClusterSecretsDefault) IsSuccess() bool
- func (o *GetClusterSecretsDefault) String() string
- type GetClusterSecretsOK
- func (o *GetClusterSecretsOK) Error() string
- func (o *GetClusterSecretsOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse
- func (o *GetClusterSecretsOK) IsClientError() bool
- func (o *GetClusterSecretsOK) IsCode(code int) bool
- func (o *GetClusterSecretsOK) IsRedirect() bool
- func (o *GetClusterSecretsOK) IsServerError() bool
- func (o *GetClusterSecretsOK) IsSuccess() bool
- func (o *GetClusterSecretsOK) String() string
- type GetClusterSecretsParams
- func NewGetClusterSecretsParams() *GetClusterSecretsParams
- func NewGetClusterSecretsParamsWithContext(ctx context.Context) *GetClusterSecretsParams
- func NewGetClusterSecretsParamsWithHTTPClient(client *http.Client) *GetClusterSecretsParams
- func NewGetClusterSecretsParamsWithTimeout(timeout time.Duration) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) SetContext(ctx context.Context)
- func (o *GetClusterSecretsParams) SetDefaults()
- func (o *GetClusterSecretsParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterSecretsParams) SetID(id string)
- func (o *GetClusterSecretsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetClusterSecretsParams) SetLocationProjectID(locationProjectID string)
- func (o *GetClusterSecretsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetClusterSecretsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetClusterSecretsParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterSecretsParams) WithContext(ctx context.Context) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WithDefaults() *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WithHTTPClient(client *http.Client) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WithID(id string) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WithLocationOrganizationID(locationOrganizationID string) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WithLocationProjectID(locationProjectID string) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WithLocationRegionProvider(locationRegionProvider *string) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WithLocationRegionRegion(locationRegionRegion *string) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WithTimeout(timeout time.Duration) *GetClusterSecretsParams
- func (o *GetClusterSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterSecretsReader
- type GetServiceSummariesDefault
- func (o *GetServiceSummariesDefault) Code() int
- func (o *GetServiceSummariesDefault) Error() string
- func (o *GetServiceSummariesDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetServiceSummariesDefault) IsClientError() bool
- func (o *GetServiceSummariesDefault) IsCode(code int) bool
- func (o *GetServiceSummariesDefault) IsRedirect() bool
- func (o *GetServiceSummariesDefault) IsServerError() bool
- func (o *GetServiceSummariesDefault) IsSuccess() bool
- func (o *GetServiceSummariesDefault) String() string
- type GetServiceSummariesOK
- func (o *GetServiceSummariesOK) Error() string
- func (o *GetServiceSummariesOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse
- func (o *GetServiceSummariesOK) IsClientError() bool
- func (o *GetServiceSummariesOK) IsCode(code int) bool
- func (o *GetServiceSummariesOK) IsRedirect() bool
- func (o *GetServiceSummariesOK) IsServerError() bool
- func (o *GetServiceSummariesOK) IsSuccess() bool
- func (o *GetServiceSummariesOK) String() string
- type GetServiceSummariesParams
- func NewGetServiceSummariesParams() *GetServiceSummariesParams
- func NewGetServiceSummariesParamsWithContext(ctx context.Context) *GetServiceSummariesParams
- func NewGetServiceSummariesParamsWithHTTPClient(client *http.Client) *GetServiceSummariesParams
- func NewGetServiceSummariesParamsWithTimeout(timeout time.Duration) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) SetContext(ctx context.Context)
- func (o *GetServiceSummariesParams) SetDefaults()
- func (o *GetServiceSummariesParams) SetFilterCluster(filterCluster []string)
- func (o *GetServiceSummariesParams) SetFilterNamePrefix(filterNamePrefix *string)
- func (o *GetServiceSummariesParams) SetFilterNamespace(filterNamespace []string)
- func (o *GetServiceSummariesParams) SetFilterPartition(filterPartition []string)
- func (o *GetServiceSummariesParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceSummariesParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetServiceSummariesParams) SetLocationProjectID(locationProjectID string)
- func (o *GetServiceSummariesParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetServiceSummariesParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetServiceSummariesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *GetServiceSummariesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *GetServiceSummariesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *GetServiceSummariesParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceSummariesParams) WithContext(ctx context.Context) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithDefaults() *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithFilterCluster(filterCluster []string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithFilterNamePrefix(filterNamePrefix *string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithFilterNamespace(filterNamespace []string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithFilterPartition(filterPartition []string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithHTTPClient(client *http.Client) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithLocationOrganizationID(locationOrganizationID string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithLocationProjectID(locationProjectID string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithLocationRegionProvider(locationRegionProvider *string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithLocationRegionRegion(locationRegionRegion *string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithPaginationPageSize(paginationPageSize *int64) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithTimeout(timeout time.Duration) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceSummariesReader
- type ListClusterServersDefault
- func (o *ListClusterServersDefault) Code() int
- func (o *ListClusterServersDefault) Error() string
- func (o *ListClusterServersDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListClusterServersDefault) IsClientError() bool
- func (o *ListClusterServersDefault) IsCode(code int) bool
- func (o *ListClusterServersDefault) IsRedirect() bool
- func (o *ListClusterServersDefault) IsServerError() bool
- func (o *ListClusterServersDefault) IsSuccess() bool
- func (o *ListClusterServersDefault) String() string
- type ListClusterServersOK
- func (o *ListClusterServersOK) Error() string
- func (o *ListClusterServersOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse
- func (o *ListClusterServersOK) IsClientError() bool
- func (o *ListClusterServersOK) IsCode(code int) bool
- func (o *ListClusterServersOK) IsRedirect() bool
- func (o *ListClusterServersOK) IsServerError() bool
- func (o *ListClusterServersOK) IsSuccess() bool
- func (o *ListClusterServersOK) String() string
- type ListClusterServersParams
- func NewListClusterServersParams() *ListClusterServersParams
- func NewListClusterServersParamsWithContext(ctx context.Context) *ListClusterServersParams
- func NewListClusterServersParamsWithHTTPClient(client *http.Client) *ListClusterServersParams
- func NewListClusterServersParamsWithTimeout(timeout time.Duration) *ListClusterServersParams
- func (o *ListClusterServersParams) SetContext(ctx context.Context)
- func (o *ListClusterServersParams) SetDefaults()
- func (o *ListClusterServersParams) SetHTTPClient(client *http.Client)
- func (o *ListClusterServersParams) SetID(id string)
- func (o *ListClusterServersParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListClusterServersParams) SetLocationProjectID(locationProjectID string)
- func (o *ListClusterServersParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListClusterServersParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListClusterServersParams) SetTimeout(timeout time.Duration)
- func (o *ListClusterServersParams) WithContext(ctx context.Context) *ListClusterServersParams
- func (o *ListClusterServersParams) WithDefaults() *ListClusterServersParams
- func (o *ListClusterServersParams) WithHTTPClient(client *http.Client) *ListClusterServersParams
- func (o *ListClusterServersParams) WithID(id string) *ListClusterServersParams
- func (o *ListClusterServersParams) WithLocationOrganizationID(locationOrganizationID string) *ListClusterServersParams
- func (o *ListClusterServersParams) WithLocationProjectID(locationProjectID string) *ListClusterServersParams
- func (o *ListClusterServersParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClusterServersParams
- func (o *ListClusterServersParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClusterServersParams
- func (o *ListClusterServersParams) WithTimeout(timeout time.Duration) *ListClusterServersParams
- func (o *ListClusterServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClusterServersReader
- type ListClustersDefault
- func (o *ListClustersDefault) Code() int
- func (o *ListClustersDefault) Error() string
- func (o *ListClustersDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListClustersDefault) IsClientError() bool
- func (o *ListClustersDefault) IsCode(code int) bool
- func (o *ListClustersDefault) IsRedirect() bool
- func (o *ListClustersDefault) IsServerError() bool
- func (o *ListClustersDefault) IsSuccess() bool
- func (o *ListClustersDefault) String() string
- type ListClustersOK
- func (o *ListClustersOK) Error() string
- func (o *ListClustersOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215ListClustersResponse
- func (o *ListClustersOK) IsClientError() bool
- func (o *ListClustersOK) IsCode(code int) bool
- func (o *ListClustersOK) IsRedirect() bool
- func (o *ListClustersOK) IsServerError() bool
- func (o *ListClustersOK) IsSuccess() bool
- func (o *ListClustersOK) String() string
- type ListClustersParams
- func (o *ListClustersParams) SetContext(ctx context.Context)
- func (o *ListClustersParams) SetDefaults()
- func (o *ListClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListClustersParams) SetLocationProjectID(locationProjectID string)
- func (o *ListClustersParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListClustersParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersParams) SetType(typeVar *string)
- func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
- func (o *ListClustersParams) WithDefaults() *ListClustersParams
- func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
- func (o *ListClustersParams) WithLocationOrganizationID(locationOrganizationID string) *ListClustersParams
- func (o *ListClustersParams) WithLocationProjectID(locationProjectID string) *ListClustersParams
- func (o *ListClustersParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClustersParams
- func (o *ListClustersParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClustersParams
- func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
- func (o *ListClustersParams) WithType(typeVar *string) *ListClustersParams
- func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersReader
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 (o *AgentBootstrapConfigDefault) Error() string
func (*AgentBootstrapConfigDefault) GetPayload ¶
func (o *AgentBootstrapConfigDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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) GetPayload ¶
func (o *AgentBootstrapConfigOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse
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 ¶
func (o *AgentBootstrapConfigParams) WithContext(ctx context.Context) *AgentBootstrapConfigParams
WithContext adds the context to the agent bootstrap config params
func (*AgentBootstrapConfigParams) WithDefaults ¶
func (o *AgentBootstrapConfigParams) WithDefaults() *AgentBootstrapConfigParams
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 ¶
func (o *AgentBootstrapConfigParams) WithHTTPClient(client *http.Client) *AgentBootstrapConfigParams
WithHTTPClient adds the HTTPClient to the agent bootstrap config params
func (*AgentBootstrapConfigParams) WithID ¶
func (o *AgentBootstrapConfigParams) WithID(id string) *AgentBootstrapConfigParams
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 ¶
func (o *AgentBootstrapConfigParams) WithTimeout(timeout time.Duration) *AgentBootstrapConfigParams
WithTimeout adds the timeout to the agent bootstrap config params
func (*AgentBootstrapConfigParams) WriteToRequest ¶
func (o *AgentBootstrapConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *AgentDiscoverDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type AgentDiscoverOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse
}
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) GetPayload ¶
func (o *AgentDiscoverOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse
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 ¶
func (o *AgentDiscoverParams) SetBody(body *models.HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest)
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 ¶
func (o *AgentDiscoverParams) WithBody(body *models.HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest) *AgentDiscoverParams
WithBody adds the body to the agent discover params
func (*AgentDiscoverParams) WithContext ¶
func (o *AgentDiscoverParams) WithContext(ctx context.Context) *AgentDiscoverParams
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 ¶
func (o *AgentDiscoverParams) WithID(id string) *AgentDiscoverParams
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 (o *AgentPushServerStateDefault) Error() string
func (*AgentPushServerStateDefault) GetPayload ¶
func (o *AgentPushServerStateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type AgentPushServerStateOK struct {
Payload models.HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse
}
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) GetPayload ¶
func (o *AgentPushServerStateOK) GetPayload() models.HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse
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 ¶
func (o *AgentPushServerStateParams) SetBody(body *models.HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest)
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 ¶
func (o *AgentPushServerStateParams) WithBody(body *models.HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest) *AgentPushServerStateParams
WithBody adds the body to the agent push server state params
func (*AgentPushServerStateParams) WithContext ¶
func (o *AgentPushServerStateParams) WithContext(ctx context.Context) *AgentPushServerStateParams
WithContext adds the context to the agent push server state params
func (*AgentPushServerStateParams) WithDefaults ¶
func (o *AgentPushServerStateParams) WithDefaults() *AgentPushServerStateParams
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 ¶
func (o *AgentPushServerStateParams) WithHTTPClient(client *http.Client) *AgentPushServerStateParams
WithHTTPClient adds the HTTPClient to the agent push server state params
func (*AgentPushServerStateParams) WithID ¶
func (o *AgentPushServerStateParams) WithID(id string) *AgentPushServerStateParams
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 ¶
func (o *AgentPushServerStateParams) WithTimeout(timeout time.Duration) *AgentPushServerStateParams
WithTimeout adds the timeout to the agent push server state params
func (*AgentPushServerStateParams) WriteToRequest ¶
func (o *AgentPushServerStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateClusterDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type CreateClusterOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse
}
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) GetPayload ¶
func (o *CreateClusterOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse
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 ¶
func (o *CreateClusterParams) SetBody(body *models.HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest)
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 ¶
func (o *CreateClusterParams) WithBody(body *models.HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest) *CreateClusterParams
WithBody adds the body to the create cluster params
func (*CreateClusterParams) WithContext ¶
func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
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 (o *DeleteClusterDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type DeleteClusterOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse
}
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) GetPayload ¶
func (o *DeleteClusterOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse
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 ¶
func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
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 ¶
func (o *DeleteClusterParams) WithID(id string) *DeleteClusterParams
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 ¶
func (o *GetAggregateServiceSummaryDefault) Code() int
Code gets the status code for the get aggregate service summary default response
func (*GetAggregateServiceSummaryDefault) Error ¶
func (o *GetAggregateServiceSummaryDefault) Error() string
func (*GetAggregateServiceSummaryDefault) GetPayload ¶
func (o *GetAggregateServiceSummaryDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
func (o *GetAggregateServiceSummaryDefault) String() 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 (o *GetAggregateServiceSummaryOK) Error() string
func (*GetAggregateServiceSummaryOK) GetPayload ¶
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 ¶
func (o *GetAggregateServiceSummaryOK) String() 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 ¶
func (o *GetAggregateServiceSummaryParams) SetContext(ctx context.Context)
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 ¶
func (o *GetAggregateServiceSummaryParams) WithContext(ctx context.Context) *GetAggregateServiceSummaryParams
WithContext adds the context to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) WithDefaults ¶
func (o *GetAggregateServiceSummaryParams) WithDefaults() *GetAggregateServiceSummaryParams
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 ¶
func (o *GetAggregateServiceSummaryParams) WithHTTPClient(client *http.Client) *GetAggregateServiceSummaryParams
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 ¶
func (o *GetAggregateServiceSummaryParams) WithTimeout(timeout time.Duration) *GetAggregateServiceSummaryParams
WithTimeout adds the timeout to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) WriteToRequest ¶
func (o *GetAggregateServiceSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetClusterAPIInfoDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type GetClusterAPIInfoOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse
}
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) GetPayload ¶
func (o *GetClusterAPIInfoOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse
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 ¶
func (o *GetClusterAPIInfoParams) WithContext(ctx context.Context) *GetClusterAPIInfoParams
WithContext adds the context to the get cluster API info params
func (*GetClusterAPIInfoParams) WithDefaults ¶
func (o *GetClusterAPIInfoParams) WithDefaults() *GetClusterAPIInfoParams
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 ¶
func (o *GetClusterAPIInfoParams) WithID(id string) *GetClusterAPIInfoParams
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 ¶
func (o *GetClusterAPIInfoParams) WithTimeout(timeout time.Duration) *GetClusterAPIInfoParams
WithTimeout adds the timeout to the get cluster API info params
func (*GetClusterAPIInfoParams) WriteToRequest ¶
func (o *GetClusterAPIInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetClusterDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type GetClusterOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215GetClusterResponse
}
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) GetPayload ¶
func (o *GetClusterOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215GetClusterResponse
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 (o *GetClusterSecretsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type GetClusterSecretsOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse
}
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) GetPayload ¶
func (o *GetClusterSecretsOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse
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 ¶
func (o *GetClusterSecretsParams) WithContext(ctx context.Context) *GetClusterSecretsParams
WithContext adds the context to the get cluster secrets params
func (*GetClusterSecretsParams) WithDefaults ¶
func (o *GetClusterSecretsParams) WithDefaults() *GetClusterSecretsParams
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 ¶
func (o *GetClusterSecretsParams) WithID(id string) *GetClusterSecretsParams
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 ¶
func (o *GetClusterSecretsParams) WithTimeout(timeout time.Duration) *GetClusterSecretsParams
WithTimeout adds the timeout to the get cluster secrets params
func (*GetClusterSecretsParams) WriteToRequest ¶
func (o *GetClusterSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetServiceSummariesDefault) Error() string
func (*GetServiceSummariesDefault) GetPayload ¶
func (o *GetServiceSummariesDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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) GetPayload ¶
func (o *GetServiceSummariesOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse
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 ¶
func (o *GetServiceSummariesParams) WithContext(ctx context.Context) *GetServiceSummariesParams
WithContext adds the context to the get service summaries params
func (*GetServiceSummariesParams) WithDefaults ¶
func (o *GetServiceSummariesParams) WithDefaults() *GetServiceSummariesParams
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 ¶
func (o *GetServiceSummariesParams) WithTimeout(timeout time.Duration) *GetServiceSummariesParams
WithTimeout adds the timeout to the get service summaries params
func (*GetServiceSummariesParams) WriteToRequest ¶
func (o *GetServiceSummariesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListClusterServersDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type ListClusterServersOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse
}
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) GetPayload ¶
func (o *ListClusterServersOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse
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 ¶
func (o *ListClusterServersParams) WithContext(ctx context.Context) *ListClusterServersParams
WithContext adds the context to the list cluster servers params
func (*ListClusterServersParams) WithDefaults ¶
func (o *ListClusterServersParams) WithDefaults() *ListClusterServersParams
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 ¶
func (o *ListClusterServersParams) WithID(id string) *ListClusterServersParams
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 ¶
func (o *ListClusterServersParams) WithTimeout(timeout time.Duration) *ListClusterServersParams
WithTimeout adds the timeout to the list cluster servers params
func (*ListClusterServersParams) WriteToRequest ¶
func (o *ListClusterServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListClustersDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
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 ¶
type ListClustersOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClustersResponse
}
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) GetPayload ¶
func (o *ListClustersOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215ListClustersResponse
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 ¶
func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
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.
Source Files ¶
- agent_bootstrap_config_parameters.go
- agent_bootstrap_config_responses.go
- agent_discover_parameters.go
- agent_discover_responses.go
- agent_push_server_state_parameters.go
- agent_push_server_state_responses.go
- create_cluster_parameters.go
- create_cluster_responses.go
- delete_cluster_parameters.go
- delete_cluster_responses.go
- get_aggregate_service_summary_parameters.go
- get_aggregate_service_summary_responses.go
- get_cluster_api_info_parameters.go
- get_cluster_api_info_responses.go
- get_cluster_parameters.go
- get_cluster_responses.go
- get_cluster_secrets_parameters.go
- get_cluster_secrets_responses.go
- get_service_summaries_parameters.go
- get_service_summaries_responses.go
- global_network_manager_service_client.go
- list_cluster_servers_parameters.go
- list_cluster_servers_responses.go
- list_clusters_parameters.go
- list_clusters_responses.go