Documentation ¶
Index ¶
- type AgentBootstrapConfigDefault
- func (o *AgentBootstrapConfigDefault) Code() int
- func (o *AgentBootstrapConfigDefault) Error() string
- func (o *AgentBootstrapConfigDefault) GetPayload() *cloud.GoogleRPCStatus
- 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) SetConsulVersion(consulVersion *string)
- 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) WithConsulVersion(consulVersion *string) *AgentBootstrapConfigParams
- 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 AgentDiscoverBody
- type AgentDiscoverDefault
- func (o *AgentDiscoverDefault) Code() int
- func (o *AgentDiscoverDefault) Error() string
- func (o *AgentDiscoverDefault) GetPayload() *cloud.GoogleRPCStatus
- 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 AgentDiscoverBody)
- 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 AgentDiscoverBody) *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 AgentDiscoverParamsBodyLocation
- func (o *AgentDiscoverParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AgentDiscoverParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *AgentDiscoverParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *AgentDiscoverParamsBodyLocation) Validate(formats strfmt.Registry) error
- type AgentDiscoverReader
- type AgentPushServerStateBody
- func (o *AgentPushServerStateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AgentPushServerStateBody) MarshalBinary() ([]byte, error)
- func (o *AgentPushServerStateBody) UnmarshalBinary(b []byte) error
- func (o *AgentPushServerStateBody) Validate(formats strfmt.Registry) error
- type AgentPushServerStateDefault
- func (o *AgentPushServerStateDefault) Code() int
- func (o *AgentPushServerStateDefault) Error() string
- func (o *AgentPushServerStateDefault) GetPayload() *cloud.GoogleRPCStatus
- 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(body AgentPushServerStateBody)
- 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(body AgentPushServerStateBody) *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 AgentPushServerStateParamsBodyLocation
- func (o *AgentPushServerStateParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AgentPushServerStateParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *AgentPushServerStateParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *AgentPushServerStateParamsBodyLocation) Validate(formats 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) CreatePeeringConnections(params *CreatePeeringConnectionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePeeringConnectionsOK, error)
- func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteClusterOK, error)
- func (a *Client) DeletePeeringConnection(params *DeletePeeringConnectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePeeringConnectionOK, 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) ListClusterPartitions(params *ListClusterPartitionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListClusterPartitionsOK, 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) ListClustersWithAcceptorEligibility(params *ListClustersWithAcceptorEligibilityParams, ...) (*ListClustersWithAcceptorEligibilityOK, error)
- func (a *Client) ListClustersWithDialerEligibility(params *ListClustersWithDialerEligibilityParams, ...) (*ListClustersWithDialerEligibilityOK, error)
- func (a *Client) ListConsulVersions(params *ListConsulVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConsulVersionsOK, error)
- func (a *Client) ListPeersByClusterPartition(params *ListPeersByClusterPartitionParams, ...) (*ListPeersByClusterPartitionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateClusterBody
- type CreateClusterDefault
- func (o *CreateClusterDefault) Code() int
- func (o *CreateClusterDefault) Error() string
- func (o *CreateClusterDefault) GetPayload() *cloud.GoogleRPCStatus
- 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 CreateClusterBody)
- 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 CreateClusterBody) *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 CreateClusterParamsBodyLocation
- func (o *CreateClusterParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *CreateClusterParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *CreateClusterParamsBodyLocation) Validate(formats strfmt.Registry) error
- type CreateClusterReader
- type CreatePeeringConnectionsBody
- func (o *CreatePeeringConnectionsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePeeringConnectionsBody) MarshalBinary() ([]byte, error)
- func (o *CreatePeeringConnectionsBody) UnmarshalBinary(b []byte) error
- func (o *CreatePeeringConnectionsBody) Validate(formats strfmt.Registry) error
- type CreatePeeringConnectionsDefault
- func (o *CreatePeeringConnectionsDefault) Code() int
- func (o *CreatePeeringConnectionsDefault) Error() string
- func (o *CreatePeeringConnectionsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CreatePeeringConnectionsDefault) IsClientError() bool
- func (o *CreatePeeringConnectionsDefault) IsCode(code int) bool
- func (o *CreatePeeringConnectionsDefault) IsRedirect() bool
- func (o *CreatePeeringConnectionsDefault) IsServerError() bool
- func (o *CreatePeeringConnectionsDefault) IsSuccess() bool
- func (o *CreatePeeringConnectionsDefault) String() string
- type CreatePeeringConnectionsOK
- func (o *CreatePeeringConnectionsOK) Error() string
- func (o *CreatePeeringConnectionsOK) GetPayload() ...
- func (o *CreatePeeringConnectionsOK) IsClientError() bool
- func (o *CreatePeeringConnectionsOK) IsCode(code int) bool
- func (o *CreatePeeringConnectionsOK) IsRedirect() bool
- func (o *CreatePeeringConnectionsOK) IsServerError() bool
- func (o *CreatePeeringConnectionsOK) IsSuccess() bool
- func (o *CreatePeeringConnectionsOK) String() string
- type CreatePeeringConnectionsParams
- func NewCreatePeeringConnectionsParams() *CreatePeeringConnectionsParams
- func NewCreatePeeringConnectionsParamsWithContext(ctx context.Context) *CreatePeeringConnectionsParams
- func NewCreatePeeringConnectionsParamsWithHTTPClient(client *http.Client) *CreatePeeringConnectionsParams
- func NewCreatePeeringConnectionsParamsWithTimeout(timeout time.Duration) *CreatePeeringConnectionsParams
- func (o *CreatePeeringConnectionsParams) SetBody(body CreatePeeringConnectionsBody)
- func (o *CreatePeeringConnectionsParams) SetContext(ctx context.Context)
- func (o *CreatePeeringConnectionsParams) SetDefaults()
- func (o *CreatePeeringConnectionsParams) SetHTTPClient(client *http.Client)
- func (o *CreatePeeringConnectionsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *CreatePeeringConnectionsParams) SetLocationProjectID(locationProjectID string)
- func (o *CreatePeeringConnectionsParams) SetTimeout(timeout time.Duration)
- func (o *CreatePeeringConnectionsParams) WithBody(body CreatePeeringConnectionsBody) *CreatePeeringConnectionsParams
- func (o *CreatePeeringConnectionsParams) WithContext(ctx context.Context) *CreatePeeringConnectionsParams
- func (o *CreatePeeringConnectionsParams) WithDefaults() *CreatePeeringConnectionsParams
- func (o *CreatePeeringConnectionsParams) WithHTTPClient(client *http.Client) *CreatePeeringConnectionsParams
- func (o *CreatePeeringConnectionsParams) WithLocationOrganizationID(locationOrganizationID string) *CreatePeeringConnectionsParams
- func (o *CreatePeeringConnectionsParams) WithLocationProjectID(locationProjectID string) *CreatePeeringConnectionsParams
- func (o *CreatePeeringConnectionsParams) WithTimeout(timeout time.Duration) *CreatePeeringConnectionsParams
- func (o *CreatePeeringConnectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePeeringConnectionsParamsBodyLocation
- func (o *CreatePeeringConnectionsParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePeeringConnectionsParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *CreatePeeringConnectionsParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *CreatePeeringConnectionsParamsBodyLocation) Validate(formats strfmt.Registry) error
- type CreatePeeringConnectionsReader
- type DeleteClusterDefault
- func (o *DeleteClusterDefault) Code() int
- func (o *DeleteClusterDefault) Error() string
- func (o *DeleteClusterDefault) GetPayload() *cloud.GoogleRPCStatus
- 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 DeletePeeringConnectionDefault
- func (o *DeletePeeringConnectionDefault) Code() int
- func (o *DeletePeeringConnectionDefault) Error() string
- func (o *DeletePeeringConnectionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DeletePeeringConnectionDefault) IsClientError() bool
- func (o *DeletePeeringConnectionDefault) IsCode(code int) bool
- func (o *DeletePeeringConnectionDefault) IsRedirect() bool
- func (o *DeletePeeringConnectionDefault) IsServerError() bool
- func (o *DeletePeeringConnectionDefault) IsSuccess() bool
- func (o *DeletePeeringConnectionDefault) String() string
- type DeletePeeringConnectionOK
- func (o *DeletePeeringConnectionOK) Error() string
- func (o *DeletePeeringConnectionOK) GetPayload() ...
- func (o *DeletePeeringConnectionOK) IsClientError() bool
- func (o *DeletePeeringConnectionOK) IsCode(code int) bool
- func (o *DeletePeeringConnectionOK) IsRedirect() bool
- func (o *DeletePeeringConnectionOK) IsServerError() bool
- func (o *DeletePeeringConnectionOK) IsSuccess() bool
- func (o *DeletePeeringConnectionOK) String() string
- type DeletePeeringConnectionParams
- func NewDeletePeeringConnectionParams() *DeletePeeringConnectionParams
- func NewDeletePeeringConnectionParamsWithContext(ctx context.Context) *DeletePeeringConnectionParams
- func NewDeletePeeringConnectionParamsWithHTTPClient(client *http.Client) *DeletePeeringConnectionParams
- func NewDeletePeeringConnectionParamsWithTimeout(timeout time.Duration) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) SetContext(ctx context.Context)
- func (o *DeletePeeringConnectionParams) SetDefaults()
- func (o *DeletePeeringConnectionParams) SetHTTPClient(client *http.Client)
- func (o *DeletePeeringConnectionParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *DeletePeeringConnectionParams) SetLocationProjectID(locationProjectID string)
- func (o *DeletePeeringConnectionParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DeletePeeringConnectionParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DeletePeeringConnectionParams) SetPeeringConnectionID(peeringConnectionID string)
- func (o *DeletePeeringConnectionParams) SetTimeout(timeout time.Duration)
- func (o *DeletePeeringConnectionParams) WithContext(ctx context.Context) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WithDefaults() *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WithHTTPClient(client *http.Client) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WithLocationOrganizationID(locationOrganizationID string) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WithLocationProjectID(locationProjectID string) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WithLocationRegionProvider(locationRegionProvider *string) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WithLocationRegionRegion(locationRegionRegion *string) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WithPeeringConnectionID(peeringConnectionID string) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WithTimeout(timeout time.Duration) *DeletePeeringConnectionParams
- func (o *DeletePeeringConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePeeringConnectionReader
- type GetAggregateServiceSummaryDefault
- func (o *GetAggregateServiceSummaryDefault) Code() int
- func (o *GetAggregateServiceSummaryDefault) Error() string
- func (o *GetAggregateServiceSummaryDefault) GetPayload() *cloud.GoogleRPCStatus
- 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) SetFilterClusters(filterClusters []string)
- 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) WithFilterClusters(filterClusters []string) *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.GoogleRPCStatus
- 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.GoogleRPCStatus
- 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.GoogleRPCStatus
- 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.GoogleRPCStatus
- 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) SetFilterClusters(filterClusters []string)
- func (o *GetServiceSummariesParams) SetFilterKinds(filterKinds []string)
- func (o *GetServiceSummariesParams) SetFilterNameSubstr(filterNameSubstr *string)
- func (o *GetServiceSummariesParams) SetFilterNamespaces(filterNamespaces []string)
- func (o *GetServiceSummariesParams) SetFilterPartitions(filterPartitions []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) WithFilterClusters(filterClusters []string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithFilterKinds(filterKinds []string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithFilterNameSubstr(filterNameSubstr *string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithFilterNamespaces(filterNamespaces []string) *GetServiceSummariesParams
- func (o *GetServiceSummariesParams) WithFilterPartitions(filterPartitions []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 ListClusterPartitionsDefault
- func (o *ListClusterPartitionsDefault) Code() int
- func (o *ListClusterPartitionsDefault) Error() string
- func (o *ListClusterPartitionsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListClusterPartitionsDefault) IsClientError() bool
- func (o *ListClusterPartitionsDefault) IsCode(code int) bool
- func (o *ListClusterPartitionsDefault) IsRedirect() bool
- func (o *ListClusterPartitionsDefault) IsServerError() bool
- func (o *ListClusterPartitionsDefault) IsSuccess() bool
- func (o *ListClusterPartitionsDefault) String() string
- type ListClusterPartitionsOK
- func (o *ListClusterPartitionsOK) Error() string
- func (o *ListClusterPartitionsOK) GetPayload() ...
- func (o *ListClusterPartitionsOK) IsClientError() bool
- func (o *ListClusterPartitionsOK) IsCode(code int) bool
- func (o *ListClusterPartitionsOK) IsRedirect() bool
- func (o *ListClusterPartitionsOK) IsServerError() bool
- func (o *ListClusterPartitionsOK) IsSuccess() bool
- func (o *ListClusterPartitionsOK) String() string
- type ListClusterPartitionsParams
- func NewListClusterPartitionsParams() *ListClusterPartitionsParams
- func NewListClusterPartitionsParamsWithContext(ctx context.Context) *ListClusterPartitionsParams
- func NewListClusterPartitionsParamsWithHTTPClient(client *http.Client) *ListClusterPartitionsParams
- func NewListClusterPartitionsParamsWithTimeout(timeout time.Duration) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) SetContext(ctx context.Context)
- func (o *ListClusterPartitionsParams) SetDefaults()
- func (o *ListClusterPartitionsParams) SetHTTPClient(client *http.Client)
- func (o *ListClusterPartitionsParams) SetID(id string)
- func (o *ListClusterPartitionsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListClusterPartitionsParams) SetLocationProjectID(locationProjectID string)
- func (o *ListClusterPartitionsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListClusterPartitionsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListClusterPartitionsParams) SetTimeout(timeout time.Duration)
- func (o *ListClusterPartitionsParams) WithContext(ctx context.Context) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WithDefaults() *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WithHTTPClient(client *http.Client) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WithID(id string) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WithLocationOrganizationID(locationOrganizationID string) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WithLocationProjectID(locationProjectID string) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WithTimeout(timeout time.Duration) *ListClusterPartitionsParams
- func (o *ListClusterPartitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClusterPartitionsReader
- type ListClusterServersDefault
- func (o *ListClusterServersDefault) Code() int
- func (o *ListClusterServersDefault) Error() string
- func (o *ListClusterServersDefault) GetPayload() *cloud.GoogleRPCStatus
- 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.GoogleRPCStatus
- 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) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListClustersParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListClustersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *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) WithPaginationNextPageToken(paginationNextPageToken *string) *ListClustersParams
- func (o *ListClustersParams) WithPaginationPageSize(paginationPageSize *int64) *ListClustersParams
- func (o *ListClustersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *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
- type ListClustersWithAcceptorEligibilityDefault
- func (o *ListClustersWithAcceptorEligibilityDefault) Code() int
- func (o *ListClustersWithAcceptorEligibilityDefault) Error() string
- func (o *ListClustersWithAcceptorEligibilityDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListClustersWithAcceptorEligibilityDefault) IsClientError() bool
- func (o *ListClustersWithAcceptorEligibilityDefault) IsCode(code int) bool
- func (o *ListClustersWithAcceptorEligibilityDefault) IsRedirect() bool
- func (o *ListClustersWithAcceptorEligibilityDefault) IsServerError() bool
- func (o *ListClustersWithAcceptorEligibilityDefault) IsSuccess() bool
- func (o *ListClustersWithAcceptorEligibilityDefault) String() string
- type ListClustersWithAcceptorEligibilityOK
- func (o *ListClustersWithAcceptorEligibilityOK) Error() string
- func (o *ListClustersWithAcceptorEligibilityOK) GetPayload() ...
- func (o *ListClustersWithAcceptorEligibilityOK) IsClientError() bool
- func (o *ListClustersWithAcceptorEligibilityOK) IsCode(code int) bool
- func (o *ListClustersWithAcceptorEligibilityOK) IsRedirect() bool
- func (o *ListClustersWithAcceptorEligibilityOK) IsServerError() bool
- func (o *ListClustersWithAcceptorEligibilityOK) IsSuccess() bool
- func (o *ListClustersWithAcceptorEligibilityOK) String() string
- type ListClustersWithAcceptorEligibilityParams
- func NewListClustersWithAcceptorEligibilityParams() *ListClustersWithAcceptorEligibilityParams
- func NewListClustersWithAcceptorEligibilityParamsWithContext(ctx context.Context) *ListClustersWithAcceptorEligibilityParams
- func NewListClustersWithAcceptorEligibilityParamsWithHTTPClient(client *http.Client) *ListClustersWithAcceptorEligibilityParams
- func NewListClustersWithAcceptorEligibilityParamsWithTimeout(timeout time.Duration) *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) SetContext(ctx context.Context)
- func (o *ListClustersWithAcceptorEligibilityParams) SetDefaults()
- func (o *ListClustersWithAcceptorEligibilityParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersWithAcceptorEligibilityParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListClustersWithAcceptorEligibilityParams) SetLocationProjectID(locationProjectID string)
- func (o *ListClustersWithAcceptorEligibilityParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListClustersWithAcceptorEligibilityParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListClustersWithAcceptorEligibilityParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersWithAcceptorEligibilityParams) WithContext(ctx context.Context) *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) WithDefaults() *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) WithHTTPClient(client *http.Client) *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) WithLocationOrganizationID(locationOrganizationID string) *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) WithLocationProjectID(locationProjectID string) *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) WithTimeout(timeout time.Duration) *ListClustersWithAcceptorEligibilityParams
- func (o *ListClustersWithAcceptorEligibilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersWithAcceptorEligibilityReader
- type ListClustersWithDialerEligibilityDefault
- func (o *ListClustersWithDialerEligibilityDefault) Code() int
- func (o *ListClustersWithDialerEligibilityDefault) Error() string
- func (o *ListClustersWithDialerEligibilityDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListClustersWithDialerEligibilityDefault) IsClientError() bool
- func (o *ListClustersWithDialerEligibilityDefault) IsCode(code int) bool
- func (o *ListClustersWithDialerEligibilityDefault) IsRedirect() bool
- func (o *ListClustersWithDialerEligibilityDefault) IsServerError() bool
- func (o *ListClustersWithDialerEligibilityDefault) IsSuccess() bool
- func (o *ListClustersWithDialerEligibilityDefault) String() string
- type ListClustersWithDialerEligibilityOK
- func (o *ListClustersWithDialerEligibilityOK) Error() string
- func (o *ListClustersWithDialerEligibilityOK) GetPayload() ...
- func (o *ListClustersWithDialerEligibilityOK) IsClientError() bool
- func (o *ListClustersWithDialerEligibilityOK) IsCode(code int) bool
- func (o *ListClustersWithDialerEligibilityOK) IsRedirect() bool
- func (o *ListClustersWithDialerEligibilityOK) IsServerError() bool
- func (o *ListClustersWithDialerEligibilityOK) IsSuccess() bool
- func (o *ListClustersWithDialerEligibilityOK) String() string
- type ListClustersWithDialerEligibilityParams
- func NewListClustersWithDialerEligibilityParams() *ListClustersWithDialerEligibilityParams
- func NewListClustersWithDialerEligibilityParamsWithContext(ctx context.Context) *ListClustersWithDialerEligibilityParams
- func NewListClustersWithDialerEligibilityParamsWithHTTPClient(client *http.Client) *ListClustersWithDialerEligibilityParams
- func NewListClustersWithDialerEligibilityParamsWithTimeout(timeout time.Duration) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) SetAcceptorClusterID(acceptorClusterID *string)
- func (o *ListClustersWithDialerEligibilityParams) SetAcceptorClusterPartitionName(acceptorClusterPartitionName *string)
- func (o *ListClustersWithDialerEligibilityParams) SetContext(ctx context.Context)
- func (o *ListClustersWithDialerEligibilityParams) SetDefaults()
- func (o *ListClustersWithDialerEligibilityParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersWithDialerEligibilityParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListClustersWithDialerEligibilityParams) SetLocationProjectID(locationProjectID string)
- func (o *ListClustersWithDialerEligibilityParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListClustersWithDialerEligibilityParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListClustersWithDialerEligibilityParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersWithDialerEligibilityParams) WithAcceptorClusterID(acceptorClusterID *string) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithAcceptorClusterPartitionName(acceptorClusterPartitionName *string) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithContext(ctx context.Context) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithDefaults() *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithHTTPClient(client *http.Client) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithLocationOrganizationID(locationOrganizationID string) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithLocationProjectID(locationProjectID string) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WithTimeout(timeout time.Duration) *ListClustersWithDialerEligibilityParams
- func (o *ListClustersWithDialerEligibilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersWithDialerEligibilityReader
- type ListConsulVersionsDefault
- func (o *ListConsulVersionsDefault) Code() int
- func (o *ListConsulVersionsDefault) Error() string
- func (o *ListConsulVersionsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListConsulVersionsDefault) IsClientError() bool
- func (o *ListConsulVersionsDefault) IsCode(code int) bool
- func (o *ListConsulVersionsDefault) IsRedirect() bool
- func (o *ListConsulVersionsDefault) IsServerError() bool
- func (o *ListConsulVersionsDefault) IsSuccess() bool
- func (o *ListConsulVersionsDefault) String() string
- type ListConsulVersionsOK
- func (o *ListConsulVersionsOK) Error() string
- func (o *ListConsulVersionsOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse
- func (o *ListConsulVersionsOK) IsClientError() bool
- func (o *ListConsulVersionsOK) IsCode(code int) bool
- func (o *ListConsulVersionsOK) IsRedirect() bool
- func (o *ListConsulVersionsOK) IsServerError() bool
- func (o *ListConsulVersionsOK) IsSuccess() bool
- func (o *ListConsulVersionsOK) String() string
- type ListConsulVersionsParams
- func NewListConsulVersionsParams() *ListConsulVersionsParams
- func NewListConsulVersionsParamsWithContext(ctx context.Context) *ListConsulVersionsParams
- func NewListConsulVersionsParamsWithHTTPClient(client *http.Client) *ListConsulVersionsParams
- func NewListConsulVersionsParamsWithTimeout(timeout time.Duration) *ListConsulVersionsParams
- func (o *ListConsulVersionsParams) SetContext(ctx context.Context)
- func (o *ListConsulVersionsParams) SetDefaults()
- func (o *ListConsulVersionsParams) SetHTTPClient(client *http.Client)
- func (o *ListConsulVersionsParams) SetTimeout(timeout time.Duration)
- func (o *ListConsulVersionsParams) WithContext(ctx context.Context) *ListConsulVersionsParams
- func (o *ListConsulVersionsParams) WithDefaults() *ListConsulVersionsParams
- func (o *ListConsulVersionsParams) WithHTTPClient(client *http.Client) *ListConsulVersionsParams
- func (o *ListConsulVersionsParams) WithTimeout(timeout time.Duration) *ListConsulVersionsParams
- func (o *ListConsulVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConsulVersionsReader
- type ListPeersByClusterPartitionDefault
- func (o *ListPeersByClusterPartitionDefault) Code() int
- func (o *ListPeersByClusterPartitionDefault) Error() string
- func (o *ListPeersByClusterPartitionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListPeersByClusterPartitionDefault) IsClientError() bool
- func (o *ListPeersByClusterPartitionDefault) IsCode(code int) bool
- func (o *ListPeersByClusterPartitionDefault) IsRedirect() bool
- func (o *ListPeersByClusterPartitionDefault) IsServerError() bool
- func (o *ListPeersByClusterPartitionDefault) IsSuccess() bool
- func (o *ListPeersByClusterPartitionDefault) String() string
- type ListPeersByClusterPartitionOK
- func (o *ListPeersByClusterPartitionOK) Error() string
- func (o *ListPeersByClusterPartitionOK) GetPayload() ...
- func (o *ListPeersByClusterPartitionOK) IsClientError() bool
- func (o *ListPeersByClusterPartitionOK) IsCode(code int) bool
- func (o *ListPeersByClusterPartitionOK) IsRedirect() bool
- func (o *ListPeersByClusterPartitionOK) IsServerError() bool
- func (o *ListPeersByClusterPartitionOK) IsSuccess() bool
- func (o *ListPeersByClusterPartitionOK) String() string
- type ListPeersByClusterPartitionParams
- func NewListPeersByClusterPartitionParams() *ListPeersByClusterPartitionParams
- func NewListPeersByClusterPartitionParamsWithContext(ctx context.Context) *ListPeersByClusterPartitionParams
- func NewListPeersByClusterPartitionParamsWithHTTPClient(client *http.Client) *ListPeersByClusterPartitionParams
- func NewListPeersByClusterPartitionParamsWithTimeout(timeout time.Duration) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) SetClusterID(clusterID *string)
- func (o *ListPeersByClusterPartitionParams) SetContext(ctx context.Context)
- func (o *ListPeersByClusterPartitionParams) SetDefaults()
- func (o *ListPeersByClusterPartitionParams) SetHTTPClient(client *http.Client)
- func (o *ListPeersByClusterPartitionParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListPeersByClusterPartitionParams) SetLocationProjectID(locationProjectID string)
- func (o *ListPeersByClusterPartitionParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListPeersByClusterPartitionParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListPeersByClusterPartitionParams) SetTimeout(timeout time.Duration)
- func (o *ListPeersByClusterPartitionParams) WithClusterID(clusterID *string) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WithContext(ctx context.Context) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WithDefaults() *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WithHTTPClient(client *http.Client) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WithLocationOrganizationID(locationOrganizationID string) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WithLocationProjectID(locationProjectID string) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WithLocationRegionProvider(locationRegionProvider *string) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WithLocationRegionRegion(locationRegionRegion *string) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WithTimeout(timeout time.Duration) *ListPeersByClusterPartitionParams
- func (o *ListPeersByClusterPartitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPeersByClusterPartitionReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentBootstrapConfigDefault ¶
type AgentBootstrapConfigDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
AgentBootstrapConfigDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAgentBootstrapConfigDefault ¶
func NewAgentBootstrapConfigDefault(code int) *AgentBootstrapConfigDefault
NewAgentBootstrapConfigDefault creates a AgentBootstrapConfigDefault with default headers values
func (*AgentBootstrapConfigDefault) Code ¶
func (o *AgentBootstrapConfigDefault) Code() int
Code gets the status code for the agent bootstrap config default response
func (*AgentBootstrapConfigDefault) Error ¶
func (o *AgentBootstrapConfigDefault) Error() string
func (*AgentBootstrapConfigDefault) GetPayload ¶
func (o *AgentBootstrapConfigDefault) GetPayload() *cloud.GoogleRPCStatus
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 { /* ConsulVersion. consul version of the cluster */ ConsulVersion *string // ID. ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AgentBootstrapConfigParams contains all the parameters to send to the API endpoint
for the agent bootstrap config operation. Typically these are written to a http.Request.
func NewAgentBootstrapConfigParams ¶
func NewAgentBootstrapConfigParams() *AgentBootstrapConfigParams
NewAgentBootstrapConfigParams creates a new AgentBootstrapConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAgentBootstrapConfigParamsWithContext ¶
func NewAgentBootstrapConfigParamsWithContext(ctx context.Context) *AgentBootstrapConfigParams
NewAgentBootstrapConfigParamsWithContext creates a new AgentBootstrapConfigParams object with the ability to set a context for a request.
func NewAgentBootstrapConfigParamsWithHTTPClient ¶
func NewAgentBootstrapConfigParamsWithHTTPClient(client *http.Client) *AgentBootstrapConfigParams
NewAgentBootstrapConfigParamsWithHTTPClient creates a new AgentBootstrapConfigParams object with the ability to set a custom HTTPClient for a request.
func NewAgentBootstrapConfigParamsWithTimeout ¶
func NewAgentBootstrapConfigParamsWithTimeout(timeout time.Duration) *AgentBootstrapConfigParams
NewAgentBootstrapConfigParamsWithTimeout creates a new AgentBootstrapConfigParams object with the ability to set a timeout on a request.
func (*AgentBootstrapConfigParams) SetConsulVersion ¶ added in v0.45.0
func (o *AgentBootstrapConfigParams) SetConsulVersion(consulVersion *string)
SetConsulVersion adds the consulVersion to the agent bootstrap config params
func (*AgentBootstrapConfigParams) SetContext ¶
func (o *AgentBootstrapConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the agent bootstrap config params
func (*AgentBootstrapConfigParams) SetDefaults ¶
func (o *AgentBootstrapConfigParams) SetDefaults()
SetDefaults hydrates default values in the agent bootstrap config params (not the query body).
All values with no default are reset to their zero value.
func (*AgentBootstrapConfigParams) SetHTTPClient ¶
func (o *AgentBootstrapConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the agent bootstrap config params
func (*AgentBootstrapConfigParams) SetID ¶
func (o *AgentBootstrapConfigParams) SetID(id string)
SetID adds the id to the agent bootstrap config params
func (*AgentBootstrapConfigParams) SetLocationOrganizationID ¶
func (o *AgentBootstrapConfigParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the agent bootstrap config params
func (*AgentBootstrapConfigParams) SetLocationProjectID ¶
func (o *AgentBootstrapConfigParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the agent bootstrap config params
func (*AgentBootstrapConfigParams) SetLocationRegionProvider ¶
func (o *AgentBootstrapConfigParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the agent bootstrap config params
func (*AgentBootstrapConfigParams) SetLocationRegionRegion ¶
func (o *AgentBootstrapConfigParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the agent bootstrap config params
func (*AgentBootstrapConfigParams) SetTimeout ¶
func (o *AgentBootstrapConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the agent bootstrap config params
func (*AgentBootstrapConfigParams) WithConsulVersion ¶ added in v0.45.0
func (o *AgentBootstrapConfigParams) WithConsulVersion(consulVersion *string) *AgentBootstrapConfigParams
WithConsulVersion adds the consulVersion to the agent bootstrap config params
func (*AgentBootstrapConfigParams) WithContext ¶
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 AgentDiscoverBody ¶ added in v0.40.0
type AgentDiscoverBody struct { // location Location *AgentDiscoverParamsBodyLocation `json:"location,omitempty"` }
AgentDiscoverBody agent discover body swagger:model AgentDiscoverBody
func (*AgentDiscoverBody) ContextValidate ¶ added in v0.40.0
ContextValidate validate this agent discover body based on the context it is used
func (*AgentDiscoverBody) MarshalBinary ¶ added in v0.40.0
func (o *AgentDiscoverBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentDiscoverBody) UnmarshalBinary ¶ added in v0.40.0
func (o *AgentDiscoverBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentDiscoverDefault ¶
type AgentDiscoverDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
AgentDiscoverDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAgentDiscoverDefault ¶
func NewAgentDiscoverDefault(code int) *AgentDiscoverDefault
NewAgentDiscoverDefault creates a AgentDiscoverDefault with default headers values
func (*AgentDiscoverDefault) Code ¶
func (o *AgentDiscoverDefault) Code() int
Code gets the status code for the agent discover default response
func (*AgentDiscoverDefault) Error ¶
func (o *AgentDiscoverDefault) Error() string
func (*AgentDiscoverDefault) GetPayload ¶
func (o *AgentDiscoverDefault) GetPayload() *cloud.GoogleRPCStatus
func (*AgentDiscoverDefault) IsClientError ¶
func (o *AgentDiscoverDefault) IsClientError() bool
IsClientError returns true when this agent discover default response has a 4xx status code
func (*AgentDiscoverDefault) IsCode ¶
func (o *AgentDiscoverDefault) IsCode(code int) bool
IsCode returns true when this agent discover default response a status code equal to that given
func (*AgentDiscoverDefault) IsRedirect ¶
func (o *AgentDiscoverDefault) IsRedirect() bool
IsRedirect returns true when this agent discover default response has a 3xx status code
func (*AgentDiscoverDefault) IsServerError ¶
func (o *AgentDiscoverDefault) IsServerError() bool
IsServerError returns true when this agent discover default response has a 5xx status code
func (*AgentDiscoverDefault) IsSuccess ¶
func (o *AgentDiscoverDefault) IsSuccess() bool
IsSuccess returns true when this agent discover default response has a 2xx status code
func (*AgentDiscoverDefault) String ¶
func (o *AgentDiscoverDefault) String() string
type AgentDiscoverOK ¶
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 AgentDiscoverBody /* ID. id is the name of the cluster */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AgentDiscoverParams contains all the parameters to send to the API endpoint
for the agent discover operation. Typically these are written to a http.Request.
func NewAgentDiscoverParams ¶
func NewAgentDiscoverParams() *AgentDiscoverParams
NewAgentDiscoverParams creates a new AgentDiscoverParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAgentDiscoverParamsWithContext ¶
func NewAgentDiscoverParamsWithContext(ctx context.Context) *AgentDiscoverParams
NewAgentDiscoverParamsWithContext creates a new AgentDiscoverParams object with the ability to set a context for a request.
func NewAgentDiscoverParamsWithHTTPClient ¶
func NewAgentDiscoverParamsWithHTTPClient(client *http.Client) *AgentDiscoverParams
NewAgentDiscoverParamsWithHTTPClient creates a new AgentDiscoverParams object with the ability to set a custom HTTPClient for a request.
func NewAgentDiscoverParamsWithTimeout ¶
func NewAgentDiscoverParamsWithTimeout(timeout time.Duration) *AgentDiscoverParams
NewAgentDiscoverParamsWithTimeout creates a new AgentDiscoverParams object with the ability to set a timeout on a request.
func (*AgentDiscoverParams) SetBody ¶
func (o *AgentDiscoverParams) SetBody(body AgentDiscoverBody)
SetBody adds the body to the agent discover params
func (*AgentDiscoverParams) SetContext ¶
func (o *AgentDiscoverParams) SetContext(ctx context.Context)
SetContext adds the context to the agent discover params
func (*AgentDiscoverParams) SetDefaults ¶
func (o *AgentDiscoverParams) SetDefaults()
SetDefaults hydrates default values in the agent discover params (not the query body).
All values with no default are reset to their zero value.
func (*AgentDiscoverParams) SetHTTPClient ¶
func (o *AgentDiscoverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the agent discover params
func (*AgentDiscoverParams) SetID ¶
func (o *AgentDiscoverParams) SetID(id string)
SetID adds the id to the agent discover params
func (*AgentDiscoverParams) SetLocationOrganizationID ¶
func (o *AgentDiscoverParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the agent discover params
func (*AgentDiscoverParams) SetLocationProjectID ¶
func (o *AgentDiscoverParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the agent discover params
func (*AgentDiscoverParams) SetTimeout ¶
func (o *AgentDiscoverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the agent discover params
func (*AgentDiscoverParams) WithBody ¶
func (o *AgentDiscoverParams) WithBody(body AgentDiscoverBody) *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 AgentDiscoverParamsBodyLocation ¶ added in v0.40.0
type AgentDiscoverParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
AgentDiscoverParamsBodyLocation location is the project and organization of the cluster with an optional provider and region swagger:model AgentDiscoverParamsBodyLocation
func (*AgentDiscoverParamsBodyLocation) ContextValidate ¶ added in v0.40.0
func (o *AgentDiscoverParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this agent discover params body location based on the context it is used
func (*AgentDiscoverParamsBodyLocation) MarshalBinary ¶ added in v0.40.0
func (o *AgentDiscoverParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentDiscoverParamsBodyLocation) UnmarshalBinary ¶ added in v0.40.0
func (o *AgentDiscoverParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentDiscoverReader ¶
type AgentDiscoverReader struct {
// contains filtered or unexported fields
}
AgentDiscoverReader is a Reader for the AgentDiscover structure.
func (*AgentDiscoverReader) ReadResponse ¶
func (o *AgentDiscoverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AgentPushServerStateBody ¶ added in v0.40.0
type AgentPushServerStateBody struct { // location Location *AgentPushServerStateParamsBodyLocation `json:"location,omitempty"` // server_state is the internal consul node information ServerState *models.HashicorpCloudGlobalNetworkManager20220215ServerState `json:"server_state,omitempty"` }
AgentPushServerStateBody agent push server state body swagger:model AgentPushServerStateBody
func (*AgentPushServerStateBody) ContextValidate ¶ added in v0.40.0
func (o *AgentPushServerStateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this agent push server state body based on the context it is used
func (*AgentPushServerStateBody) MarshalBinary ¶ added in v0.40.0
func (o *AgentPushServerStateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentPushServerStateBody) UnmarshalBinary ¶ added in v0.40.0
func (o *AgentPushServerStateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentPushServerStateDefault ¶
type AgentPushServerStateDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
AgentPushServerStateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAgentPushServerStateDefault ¶
func NewAgentPushServerStateDefault(code int) *AgentPushServerStateDefault
NewAgentPushServerStateDefault creates a AgentPushServerStateDefault with default headers values
func (*AgentPushServerStateDefault) Code ¶
func (o *AgentPushServerStateDefault) Code() int
Code gets the status code for the agent push server state default response
func (*AgentPushServerStateDefault) Error ¶
func (o *AgentPushServerStateDefault) Error() string
func (*AgentPushServerStateDefault) GetPayload ¶
func (o *AgentPushServerStateDefault) GetPayload() *cloud.GoogleRPCStatus
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 AgentPushServerStateBody /* ID. id is the name of the cluster */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AgentPushServerStateParams contains all the parameters to send to the API endpoint
for the agent push server state operation. Typically these are written to a http.Request.
func NewAgentPushServerStateParams ¶
func NewAgentPushServerStateParams() *AgentPushServerStateParams
NewAgentPushServerStateParams creates a new AgentPushServerStateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAgentPushServerStateParamsWithContext ¶
func NewAgentPushServerStateParamsWithContext(ctx context.Context) *AgentPushServerStateParams
NewAgentPushServerStateParamsWithContext creates a new AgentPushServerStateParams object with the ability to set a context for a request.
func NewAgentPushServerStateParamsWithHTTPClient ¶
func NewAgentPushServerStateParamsWithHTTPClient(client *http.Client) *AgentPushServerStateParams
NewAgentPushServerStateParamsWithHTTPClient creates a new AgentPushServerStateParams object with the ability to set a custom HTTPClient for a request.
func NewAgentPushServerStateParamsWithTimeout ¶
func NewAgentPushServerStateParamsWithTimeout(timeout time.Duration) *AgentPushServerStateParams
NewAgentPushServerStateParamsWithTimeout creates a new AgentPushServerStateParams object with the ability to set a timeout on a request.
func (*AgentPushServerStateParams) SetBody ¶
func (o *AgentPushServerStateParams) SetBody(body AgentPushServerStateBody)
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 AgentPushServerStateBody) *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 AgentPushServerStateParamsBodyLocation ¶ added in v0.40.0
type AgentPushServerStateParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
AgentPushServerStateParamsBodyLocation location is the project and organization of the cluster with an optional provider and region swagger:model AgentPushServerStateParamsBodyLocation
func (*AgentPushServerStateParamsBodyLocation) ContextValidate ¶ added in v0.40.0
func (o *AgentPushServerStateParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this agent push server state params body location based on the context it is used
func (*AgentPushServerStateParamsBodyLocation) MarshalBinary ¶ added in v0.40.0
func (o *AgentPushServerStateParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentPushServerStateParamsBodyLocation) UnmarshalBinary ¶ added in v0.40.0
func (o *AgentPushServerStateParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentPushServerStateReader ¶
type AgentPushServerStateReader struct {
// contains filtered or unexported fields
}
AgentPushServerStateReader is a Reader for the AgentPushServerState structure.
func (*AgentPushServerStateReader) ReadResponse ¶
func (o *AgentPushServerStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for global network manager service API
func (*Client) AgentBootstrapConfig ¶
func (a *Client) AgentBootstrapConfig(params *AgentBootstrapConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentBootstrapConfigOK, error)
AgentBootstrapConfig agent bootstrap config API
func (*Client) AgentDiscover ¶
func (a *Client) AgentDiscover(params *AgentDiscoverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentDiscoverOK, error)
AgentDiscover agent discover API
func (*Client) AgentPushServerState ¶
func (a *Client) AgentPushServerState(params *AgentPushServerStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentPushServerStateOK, error)
AgentPushServerState agent push server state API
func (*Client) CreateCluster ¶
func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterOK, error)
CreateCluster create cluster API
func (*Client) CreatePeeringConnections ¶ added in v0.40.0
func (a *Client) CreatePeeringConnections(params *CreatePeeringConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePeeringConnectionsOK, error)
CreatePeeringConnections create peering connections API
func (*Client) DeleteCluster ¶
func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error)
DeleteCluster delete cluster API
func (*Client) DeletePeeringConnection ¶ added in v0.40.0
func (a *Client) DeletePeeringConnection(params *DeletePeeringConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePeeringConnectionOK, error)
DeletePeeringConnection delete peering connection API
func (*Client) GetAggregateServiceSummary ¶
func (a *Client) GetAggregateServiceSummary(params *GetAggregateServiceSummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAggregateServiceSummaryOK, error)
GetAggregateServiceSummary gets aggregate service sumamry returns a summary of all the service instances callers should use the response s aggregate service summary by kind field that keys service summaries by service kind
func (*Client) GetCluster ¶
func (a *Client) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterOK, error)
GetCluster get cluster API
func (*Client) GetClusterAPIInfo ¶
func (a *Client) GetClusterAPIInfo(params *GetClusterAPIInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterAPIInfoOK, error)
GetClusterAPIInfo get cluster API info API
func (*Client) GetClusterSecrets ¶
func (a *Client) GetClusterSecrets(params *GetClusterSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterSecretsOK, error)
GetClusterSecrets get cluster secrets API
func (*Client) GetServiceSummaries ¶
func (a *Client) GetServiceSummaries(params *GetServiceSummariesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceSummariesOK, error)
GetServiceSummaries get service summaries API
func (*Client) ListClusterPartitions ¶ added in v0.40.0
func (a *Client) ListClusterPartitions(params *ListClusterPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterPartitionsOK, error)
ListClusterPartitions lists cluster partitions returns the list of consul admin partitions for a given cluster
func (*Client) ListClusterServers ¶
func (a *Client) ListClusterServers(params *ListClusterServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterServersOK, error)
ListClusterServers list cluster servers API
func (*Client) ListClusters ¶
func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error)
ListClusters list clusters API
func (*Client) ListClustersWithAcceptorEligibility ¶ added in v0.40.0
func (a *Client) ListClustersWithAcceptorEligibility(params *ListClustersWithAcceptorEligibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersWithAcceptorEligibilityOK, error)
ListClustersWithAcceptorEligibility lists clusters with acceptor eligibility returns the list of clusters along with whether they are eligible to be the acceptor in a peering connection
func (*Client) ListClustersWithDialerEligibility ¶ added in v0.40.0
func (a *Client) ListClustersWithDialerEligibility(params *ListClustersWithDialerEligibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersWithDialerEligibilityOK, error)
ListClustersWithDialerEligibility lists clusters with dialer eligibility returns the list of clusters along with whether they are eligible to be the dialer in a peering connection
func (*Client) ListConsulVersions ¶ added in v0.40.0
func (a *Client) ListConsulVersions(params *ListConsulVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConsulVersionsOK, error)
ListConsulVersions list consul versions API
func (*Client) ListPeersByClusterPartition ¶ added in v0.40.0
func (a *Client) ListPeersByClusterPartition(params *ListPeersByClusterPartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPeersByClusterPartitionOK, error)
ListPeersByClusterPartition lists peers by cluster partition returns the list of cluster partitions each containing their respective lists of cluster peers if a cluster id is supplied this endpoint returns the list of cluster partitions only for the specified cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AgentBootstrapConfig(params *AgentBootstrapConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentBootstrapConfigOK, error) AgentDiscover(params *AgentDiscoverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentDiscoverOK, error) AgentPushServerState(params *AgentPushServerStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentPushServerStateOK, error) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterOK, error) CreatePeeringConnections(params *CreatePeeringConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePeeringConnectionsOK, error) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error) DeletePeeringConnection(params *DeletePeeringConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePeeringConnectionOK, error) GetAggregateServiceSummary(params *GetAggregateServiceSummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAggregateServiceSummaryOK, error) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterOK, error) GetClusterAPIInfo(params *GetClusterAPIInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterAPIInfoOK, error) GetClusterSecrets(params *GetClusterSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterSecretsOK, error) GetServiceSummaries(params *GetServiceSummariesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceSummariesOK, error) ListClusterPartitions(params *ListClusterPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterPartitionsOK, error) ListClusterServers(params *ListClusterServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterServersOK, error) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error) ListClustersWithAcceptorEligibility(params *ListClustersWithAcceptorEligibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersWithAcceptorEligibilityOK, error) ListClustersWithDialerEligibility(params *ListClustersWithDialerEligibilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersWithDialerEligibilityOK, error) ListConsulVersions(params *ListConsulVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConsulVersionsOK, error) ListPeersByClusterPartition(params *ListPeersByClusterPartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPeersByClusterPartitionOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new global network manager service API client.
type CreateClusterBody ¶ added in v0.40.0
type CreateClusterBody struct { // existing_cluster indicates whether or not the cluster existed before creation (for linking) ExistingCluster bool `json:"existing_cluster,omitempty"` // id is the user settable GNM cluster name ID string `json:"id,omitempty"` // location Location *CreateClusterParamsBodyLocation `json:"location,omitempty"` // source is the runtime type for the cluster Source *models.HashicorpCloudGlobalNetworkManager20220215ClusterSource `json:"source,omitempty"` }
CreateClusterBody create cluster body swagger:model CreateClusterBody
func (*CreateClusterBody) ContextValidate ¶ added in v0.40.0
ContextValidate validate this create cluster body based on the context it is used
func (*CreateClusterBody) MarshalBinary ¶ added in v0.40.0
func (o *CreateClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterBody) UnmarshalBinary ¶ added in v0.40.0
func (o *CreateClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterDefault ¶
type CreateClusterDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CreateClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateClusterDefault ¶
func NewCreateClusterDefault(code int) *CreateClusterDefault
NewCreateClusterDefault creates a CreateClusterDefault with default headers values
func (*CreateClusterDefault) Code ¶
func (o *CreateClusterDefault) Code() int
Code gets the status code for the create cluster default response
func (*CreateClusterDefault) Error ¶
func (o *CreateClusterDefault) Error() string
func (*CreateClusterDefault) GetPayload ¶
func (o *CreateClusterDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreateClusterDefault) IsClientError ¶
func (o *CreateClusterDefault) IsClientError() bool
IsClientError returns true when this create cluster default response has a 4xx status code
func (*CreateClusterDefault) IsCode ¶
func (o *CreateClusterDefault) IsCode(code int) bool
IsCode returns true when this create cluster default response a status code equal to that given
func (*CreateClusterDefault) IsRedirect ¶
func (o *CreateClusterDefault) IsRedirect() bool
IsRedirect returns true when this create cluster default response has a 3xx status code
func (*CreateClusterDefault) IsServerError ¶
func (o *CreateClusterDefault) IsServerError() bool
IsServerError returns true when this create cluster default response has a 5xx status code
func (*CreateClusterDefault) IsSuccess ¶
func (o *CreateClusterDefault) IsSuccess() bool
IsSuccess returns true when this create cluster default response has a 2xx status code
func (*CreateClusterDefault) String ¶
func (o *CreateClusterDefault) String() string
type CreateClusterOK ¶
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 CreateClusterBody /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterParams contains all the parameters to send to the API endpoint
for the create cluster operation. Typically these are written to a http.Request.
func NewCreateClusterParams ¶
func NewCreateClusterParams() *CreateClusterParams
NewCreateClusterParams creates a new CreateClusterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateClusterParamsWithContext ¶
func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams
NewCreateClusterParamsWithContext creates a new CreateClusterParams object with the ability to set a context for a request.
func NewCreateClusterParamsWithHTTPClient ¶
func NewCreateClusterParamsWithHTTPClient(client *http.Client) *CreateClusterParams
NewCreateClusterParamsWithHTTPClient creates a new CreateClusterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateClusterParamsWithTimeout ¶
func NewCreateClusterParamsWithTimeout(timeout time.Duration) *CreateClusterParams
NewCreateClusterParamsWithTimeout creates a new CreateClusterParams object with the ability to set a timeout on a request.
func (*CreateClusterParams) SetBody ¶
func (o *CreateClusterParams) SetBody(body CreateClusterBody)
SetBody adds the body to the create cluster params
func (*CreateClusterParams) SetContext ¶
func (o *CreateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster params
func (*CreateClusterParams) SetDefaults ¶
func (o *CreateClusterParams) SetDefaults()
SetDefaults hydrates default values in the create cluster params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterParams) SetHTTPClient ¶
func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) SetLocationOrganizationID ¶
func (o *CreateClusterParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the create cluster params
func (*CreateClusterParams) SetLocationProjectID ¶
func (o *CreateClusterParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the create cluster params
func (*CreateClusterParams) SetTimeout ¶
func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WithBody ¶
func (o *CreateClusterParams) WithBody(body CreateClusterBody) *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 CreateClusterParamsBodyLocation ¶ added in v0.40.0
type CreateClusterParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
CreateClusterParamsBodyLocation location is the location of the cluster with an optional provider and region swagger:model CreateClusterParamsBodyLocation
func (*CreateClusterParamsBodyLocation) ContextValidate ¶ added in v0.40.0
func (o *CreateClusterParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create cluster params body location based on the context it is used
func (*CreateClusterParamsBodyLocation) MarshalBinary ¶ added in v0.40.0
func (o *CreateClusterParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterParamsBodyLocation) UnmarshalBinary ¶ added in v0.40.0
func (o *CreateClusterParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterReader ¶
type CreateClusterReader struct {
// contains filtered or unexported fields
}
CreateClusterReader is a Reader for the CreateCluster structure.
func (*CreateClusterReader) ReadResponse ¶
func (o *CreateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePeeringConnectionsBody ¶ added in v0.40.0
type CreatePeeringConnectionsBody struct { // acceptor is the token generator for the peering start process. The peer_name and peer_meta // of this peer will be used by all the dialers to identify the connection to the acceptor. In the // future we may provide a field/fields on the Peer to allow overrides of the peer_name so that they can // overide each individual dialer to have a different peer_name or peer_meta. Acceptor *models.HashicorpCloudGlobalNetworkManager20220215Peer `json:"acceptor,omitempty"` // dialers will take the token generated by the acceptor and dial back to the acceptor to establish // the peering. The acceptor will use each dialer's peer_name and peer_meta when generating a token. // Likewise the dialer will take the acceptor's peer_name and peer_meta when dialing back to the cluster. Dialers []*models.HashicorpCloudGlobalNetworkManager20220215PeerDialer `json:"dialers"` // location Location *CreatePeeringConnectionsParamsBodyLocation `json:"location,omitempty"` }
CreatePeeringConnectionsBody create peering connections body swagger:model CreatePeeringConnectionsBody
func (*CreatePeeringConnectionsBody) ContextValidate ¶ added in v0.40.0
func (o *CreatePeeringConnectionsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create peering connections body based on the context it is used
func (*CreatePeeringConnectionsBody) MarshalBinary ¶ added in v0.40.0
func (o *CreatePeeringConnectionsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePeeringConnectionsBody) UnmarshalBinary ¶ added in v0.40.0
func (o *CreatePeeringConnectionsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePeeringConnectionsDefault ¶ added in v0.40.0
type CreatePeeringConnectionsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CreatePeeringConnectionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreatePeeringConnectionsDefault ¶ added in v0.40.0
func NewCreatePeeringConnectionsDefault(code int) *CreatePeeringConnectionsDefault
NewCreatePeeringConnectionsDefault creates a CreatePeeringConnectionsDefault with default headers values
func (*CreatePeeringConnectionsDefault) Code ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) Code() int
Code gets the status code for the create peering connections default response
func (*CreatePeeringConnectionsDefault) Error ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) Error() string
func (*CreatePeeringConnectionsDefault) GetPayload ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreatePeeringConnectionsDefault) IsClientError ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) IsClientError() bool
IsClientError returns true when this create peering connections default response has a 4xx status code
func (*CreatePeeringConnectionsDefault) IsCode ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) IsCode(code int) bool
IsCode returns true when this create peering connections default response a status code equal to that given
func (*CreatePeeringConnectionsDefault) IsRedirect ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) IsRedirect() bool
IsRedirect returns true when this create peering connections default response has a 3xx status code
func (*CreatePeeringConnectionsDefault) IsServerError ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) IsServerError() bool
IsServerError returns true when this create peering connections default response has a 5xx status code
func (*CreatePeeringConnectionsDefault) IsSuccess ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) IsSuccess() bool
IsSuccess returns true when this create peering connections default response has a 2xx status code
func (*CreatePeeringConnectionsDefault) String ¶ added in v0.40.0
func (o *CreatePeeringConnectionsDefault) String() string
type CreatePeeringConnectionsOK ¶ added in v0.40.0
type CreatePeeringConnectionsOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse
}
CreatePeeringConnectionsOK describes a response with status code 200, with default header values.
A successful response.
func NewCreatePeeringConnectionsOK ¶ added in v0.40.0
func NewCreatePeeringConnectionsOK() *CreatePeeringConnectionsOK
NewCreatePeeringConnectionsOK creates a CreatePeeringConnectionsOK with default headers values
func (*CreatePeeringConnectionsOK) Error ¶ added in v0.40.0
func (o *CreatePeeringConnectionsOK) Error() string
func (*CreatePeeringConnectionsOK) GetPayload ¶ added in v0.40.0
func (*CreatePeeringConnectionsOK) IsClientError ¶ added in v0.40.0
func (o *CreatePeeringConnectionsOK) IsClientError() bool
IsClientError returns true when this create peering connections o k response has a 4xx status code
func (*CreatePeeringConnectionsOK) IsCode ¶ added in v0.40.0
func (o *CreatePeeringConnectionsOK) IsCode(code int) bool
IsCode returns true when this create peering connections o k response a status code equal to that given
func (*CreatePeeringConnectionsOK) IsRedirect ¶ added in v0.40.0
func (o *CreatePeeringConnectionsOK) IsRedirect() bool
IsRedirect returns true when this create peering connections o k response has a 3xx status code
func (*CreatePeeringConnectionsOK) IsServerError ¶ added in v0.40.0
func (o *CreatePeeringConnectionsOK) IsServerError() bool
IsServerError returns true when this create peering connections o k response has a 5xx status code
func (*CreatePeeringConnectionsOK) IsSuccess ¶ added in v0.40.0
func (o *CreatePeeringConnectionsOK) IsSuccess() bool
IsSuccess returns true when this create peering connections o k response has a 2xx status code
func (*CreatePeeringConnectionsOK) String ¶ added in v0.40.0
func (o *CreatePeeringConnectionsOK) String() string
type CreatePeeringConnectionsParams ¶ added in v0.40.0
type CreatePeeringConnectionsParams struct { // Body. Body CreatePeeringConnectionsBody /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePeeringConnectionsParams contains all the parameters to send to the API endpoint
for the create peering connections operation. Typically these are written to a http.Request.
func NewCreatePeeringConnectionsParams ¶ added in v0.40.0
func NewCreatePeeringConnectionsParams() *CreatePeeringConnectionsParams
NewCreatePeeringConnectionsParams creates a new CreatePeeringConnectionsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreatePeeringConnectionsParamsWithContext ¶ added in v0.40.0
func NewCreatePeeringConnectionsParamsWithContext(ctx context.Context) *CreatePeeringConnectionsParams
NewCreatePeeringConnectionsParamsWithContext creates a new CreatePeeringConnectionsParams object with the ability to set a context for a request.
func NewCreatePeeringConnectionsParamsWithHTTPClient ¶ added in v0.40.0
func NewCreatePeeringConnectionsParamsWithHTTPClient(client *http.Client) *CreatePeeringConnectionsParams
NewCreatePeeringConnectionsParamsWithHTTPClient creates a new CreatePeeringConnectionsParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePeeringConnectionsParamsWithTimeout ¶ added in v0.40.0
func NewCreatePeeringConnectionsParamsWithTimeout(timeout time.Duration) *CreatePeeringConnectionsParams
NewCreatePeeringConnectionsParamsWithTimeout creates a new CreatePeeringConnectionsParams object with the ability to set a timeout on a request.
func (*CreatePeeringConnectionsParams) SetBody ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) SetBody(body CreatePeeringConnectionsBody)
SetBody adds the body to the create peering connections params
func (*CreatePeeringConnectionsParams) SetContext ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) SetContext(ctx context.Context)
SetContext adds the context to the create peering connections params
func (*CreatePeeringConnectionsParams) SetDefaults ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) SetDefaults()
SetDefaults hydrates default values in the create peering connections params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePeeringConnectionsParams) SetHTTPClient ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create peering connections params
func (*CreatePeeringConnectionsParams) SetLocationOrganizationID ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the create peering connections params
func (*CreatePeeringConnectionsParams) SetLocationProjectID ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the create peering connections params
func (*CreatePeeringConnectionsParams) SetTimeout ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create peering connections params
func (*CreatePeeringConnectionsParams) WithBody ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) WithBody(body CreatePeeringConnectionsBody) *CreatePeeringConnectionsParams
WithBody adds the body to the create peering connections params
func (*CreatePeeringConnectionsParams) WithContext ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) WithContext(ctx context.Context) *CreatePeeringConnectionsParams
WithContext adds the context to the create peering connections params
func (*CreatePeeringConnectionsParams) WithDefaults ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) WithDefaults() *CreatePeeringConnectionsParams
WithDefaults hydrates default values in the create peering connections params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePeeringConnectionsParams) WithHTTPClient ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) WithHTTPClient(client *http.Client) *CreatePeeringConnectionsParams
WithHTTPClient adds the HTTPClient to the create peering connections params
func (*CreatePeeringConnectionsParams) WithLocationOrganizationID ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) WithLocationOrganizationID(locationOrganizationID string) *CreatePeeringConnectionsParams
WithLocationOrganizationID adds the locationOrganizationID to the create peering connections params
func (*CreatePeeringConnectionsParams) WithLocationProjectID ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) WithLocationProjectID(locationProjectID string) *CreatePeeringConnectionsParams
WithLocationProjectID adds the locationProjectID to the create peering connections params
func (*CreatePeeringConnectionsParams) WithTimeout ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) WithTimeout(timeout time.Duration) *CreatePeeringConnectionsParams
WithTimeout adds the timeout to the create peering connections params
func (*CreatePeeringConnectionsParams) WriteToRequest ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePeeringConnectionsParamsBodyLocation ¶ added in v0.40.0
type CreatePeeringConnectionsParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
CreatePeeringConnectionsParamsBodyLocation location is the location where the peering connection should be created swagger:model CreatePeeringConnectionsParamsBodyLocation
func (*CreatePeeringConnectionsParamsBodyLocation) ContextValidate ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create peering connections params body location based on the context it is used
func (*CreatePeeringConnectionsParamsBodyLocation) MarshalBinary ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePeeringConnectionsParamsBodyLocation) UnmarshalBinary ¶ added in v0.40.0
func (o *CreatePeeringConnectionsParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePeeringConnectionsReader ¶ added in v0.40.0
type CreatePeeringConnectionsReader struct {
// contains filtered or unexported fields
}
CreatePeeringConnectionsReader is a Reader for the CreatePeeringConnections structure.
func (*CreatePeeringConnectionsReader) ReadResponse ¶ added in v0.40.0
func (o *CreatePeeringConnectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterDefault ¶
type DeleteClusterDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeleteClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteClusterDefault ¶
func NewDeleteClusterDefault(code int) *DeleteClusterDefault
NewDeleteClusterDefault creates a DeleteClusterDefault with default headers values
func (*DeleteClusterDefault) Code ¶
func (o *DeleteClusterDefault) Code() int
Code gets the status code for the delete cluster default response
func (*DeleteClusterDefault) Error ¶
func (o *DeleteClusterDefault) Error() string
func (*DeleteClusterDefault) GetPayload ¶
func (o *DeleteClusterDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeleteClusterDefault) IsClientError ¶
func (o *DeleteClusterDefault) IsClientError() bool
IsClientError returns true when this delete cluster default response has a 4xx status code
func (*DeleteClusterDefault) IsCode ¶
func (o *DeleteClusterDefault) IsCode(code int) bool
IsCode returns true when this delete cluster default response a status code equal to that given
func (*DeleteClusterDefault) IsRedirect ¶
func (o *DeleteClusterDefault) IsRedirect() bool
IsRedirect returns true when this delete cluster default response has a 3xx status code
func (*DeleteClusterDefault) IsServerError ¶
func (o *DeleteClusterDefault) IsServerError() bool
IsServerError returns true when this delete cluster default response has a 5xx status code
func (*DeleteClusterDefault) IsSuccess ¶
func (o *DeleteClusterDefault) IsSuccess() bool
IsSuccess returns true when this delete cluster default response has a 2xx status code
func (*DeleteClusterDefault) String ¶
func (o *DeleteClusterDefault) String() string
type DeleteClusterOK ¶
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 DeletePeeringConnectionDefault ¶ added in v0.40.0
type DeletePeeringConnectionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeletePeeringConnectionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeletePeeringConnectionDefault ¶ added in v0.40.0
func NewDeletePeeringConnectionDefault(code int) *DeletePeeringConnectionDefault
NewDeletePeeringConnectionDefault creates a DeletePeeringConnectionDefault with default headers values
func (*DeletePeeringConnectionDefault) Code ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) Code() int
Code gets the status code for the delete peering connection default response
func (*DeletePeeringConnectionDefault) Error ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) Error() string
func (*DeletePeeringConnectionDefault) GetPayload ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeletePeeringConnectionDefault) IsClientError ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) IsClientError() bool
IsClientError returns true when this delete peering connection default response has a 4xx status code
func (*DeletePeeringConnectionDefault) IsCode ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) IsCode(code int) bool
IsCode returns true when this delete peering connection default response a status code equal to that given
func (*DeletePeeringConnectionDefault) IsRedirect ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) IsRedirect() bool
IsRedirect returns true when this delete peering connection default response has a 3xx status code
func (*DeletePeeringConnectionDefault) IsServerError ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) IsServerError() bool
IsServerError returns true when this delete peering connection default response has a 5xx status code
func (*DeletePeeringConnectionDefault) IsSuccess ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) IsSuccess() bool
IsSuccess returns true when this delete peering connection default response has a 2xx status code
func (*DeletePeeringConnectionDefault) String ¶ added in v0.40.0
func (o *DeletePeeringConnectionDefault) String() string
type DeletePeeringConnectionOK ¶ added in v0.40.0
type DeletePeeringConnectionOK struct {
Payload models.HashicorpCloudGlobalNetworkManager20220215DeletePeeringConnectionResponse
}
DeletePeeringConnectionOK describes a response with status code 200, with default header values.
A successful response.
func NewDeletePeeringConnectionOK ¶ added in v0.40.0
func NewDeletePeeringConnectionOK() *DeletePeeringConnectionOK
NewDeletePeeringConnectionOK creates a DeletePeeringConnectionOK with default headers values
func (*DeletePeeringConnectionOK) Error ¶ added in v0.40.0
func (o *DeletePeeringConnectionOK) Error() string
func (*DeletePeeringConnectionOK) GetPayload ¶ added in v0.40.0
func (*DeletePeeringConnectionOK) IsClientError ¶ added in v0.40.0
func (o *DeletePeeringConnectionOK) IsClientError() bool
IsClientError returns true when this delete peering connection o k response has a 4xx status code
func (*DeletePeeringConnectionOK) IsCode ¶ added in v0.40.0
func (o *DeletePeeringConnectionOK) IsCode(code int) bool
IsCode returns true when this delete peering connection o k response a status code equal to that given
func (*DeletePeeringConnectionOK) IsRedirect ¶ added in v0.40.0
func (o *DeletePeeringConnectionOK) IsRedirect() bool
IsRedirect returns true when this delete peering connection o k response has a 3xx status code
func (*DeletePeeringConnectionOK) IsServerError ¶ added in v0.40.0
func (o *DeletePeeringConnectionOK) IsServerError() bool
IsServerError returns true when this delete peering connection o k response has a 5xx status code
func (*DeletePeeringConnectionOK) IsSuccess ¶ added in v0.40.0
func (o *DeletePeeringConnectionOK) IsSuccess() bool
IsSuccess returns true when this delete peering connection o k response has a 2xx status code
func (*DeletePeeringConnectionOK) String ¶ added in v0.40.0
func (o *DeletePeeringConnectionOK) String() string
type DeletePeeringConnectionParams ¶ added in v0.40.0
type DeletePeeringConnectionParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* PeeringConnectionID. peering_connection_id is the slug ID of the peering connection */ PeeringConnectionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePeeringConnectionParams contains all the parameters to send to the API endpoint
for the delete peering connection operation. Typically these are written to a http.Request.
func NewDeletePeeringConnectionParams ¶ added in v0.40.0
func NewDeletePeeringConnectionParams() *DeletePeeringConnectionParams
NewDeletePeeringConnectionParams creates a new DeletePeeringConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeletePeeringConnectionParamsWithContext ¶ added in v0.40.0
func NewDeletePeeringConnectionParamsWithContext(ctx context.Context) *DeletePeeringConnectionParams
NewDeletePeeringConnectionParamsWithContext creates a new DeletePeeringConnectionParams object with the ability to set a context for a request.
func NewDeletePeeringConnectionParamsWithHTTPClient ¶ added in v0.40.0
func NewDeletePeeringConnectionParamsWithHTTPClient(client *http.Client) *DeletePeeringConnectionParams
NewDeletePeeringConnectionParamsWithHTTPClient creates a new DeletePeeringConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePeeringConnectionParamsWithTimeout ¶ added in v0.40.0
func NewDeletePeeringConnectionParamsWithTimeout(timeout time.Duration) *DeletePeeringConnectionParams
NewDeletePeeringConnectionParamsWithTimeout creates a new DeletePeeringConnectionParams object with the ability to set a timeout on a request.
func (*DeletePeeringConnectionParams) SetContext ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete peering connection params
func (*DeletePeeringConnectionParams) SetDefaults ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetDefaults()
SetDefaults hydrates default values in the delete peering connection params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePeeringConnectionParams) SetHTTPClient ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete peering connection params
func (*DeletePeeringConnectionParams) SetLocationOrganizationID ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the delete peering connection params
func (*DeletePeeringConnectionParams) SetLocationProjectID ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the delete peering connection params
func (*DeletePeeringConnectionParams) SetLocationRegionProvider ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the delete peering connection params
func (*DeletePeeringConnectionParams) SetLocationRegionRegion ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the delete peering connection params
func (*DeletePeeringConnectionParams) SetPeeringConnectionID ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetPeeringConnectionID(peeringConnectionID string)
SetPeeringConnectionID adds the peeringConnectionId to the delete peering connection params
func (*DeletePeeringConnectionParams) SetTimeout ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete peering connection params
func (*DeletePeeringConnectionParams) WithContext ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithContext(ctx context.Context) *DeletePeeringConnectionParams
WithContext adds the context to the delete peering connection params
func (*DeletePeeringConnectionParams) WithDefaults ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithDefaults() *DeletePeeringConnectionParams
WithDefaults hydrates default values in the delete peering connection params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePeeringConnectionParams) WithHTTPClient ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithHTTPClient(client *http.Client) *DeletePeeringConnectionParams
WithHTTPClient adds the HTTPClient to the delete peering connection params
func (*DeletePeeringConnectionParams) WithLocationOrganizationID ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithLocationOrganizationID(locationOrganizationID string) *DeletePeeringConnectionParams
WithLocationOrganizationID adds the locationOrganizationID to the delete peering connection params
func (*DeletePeeringConnectionParams) WithLocationProjectID ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithLocationProjectID(locationProjectID string) *DeletePeeringConnectionParams
WithLocationProjectID adds the locationProjectID to the delete peering connection params
func (*DeletePeeringConnectionParams) WithLocationRegionProvider ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithLocationRegionProvider(locationRegionProvider *string) *DeletePeeringConnectionParams
WithLocationRegionProvider adds the locationRegionProvider to the delete peering connection params
func (*DeletePeeringConnectionParams) WithLocationRegionRegion ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithLocationRegionRegion(locationRegionRegion *string) *DeletePeeringConnectionParams
WithLocationRegionRegion adds the locationRegionRegion to the delete peering connection params
func (*DeletePeeringConnectionParams) WithPeeringConnectionID ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithPeeringConnectionID(peeringConnectionID string) *DeletePeeringConnectionParams
WithPeeringConnectionID adds the peeringConnectionID to the delete peering connection params
func (*DeletePeeringConnectionParams) WithTimeout ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WithTimeout(timeout time.Duration) *DeletePeeringConnectionParams
WithTimeout adds the timeout to the delete peering connection params
func (*DeletePeeringConnectionParams) WriteToRequest ¶ added in v0.40.0
func (o *DeletePeeringConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePeeringConnectionReader ¶ added in v0.40.0
type DeletePeeringConnectionReader struct {
// contains filtered or unexported fields
}
DeletePeeringConnectionReader is a Reader for the DeletePeeringConnection structure.
func (*DeletePeeringConnectionReader) ReadResponse ¶ added in v0.40.0
func (o *DeletePeeringConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAggregateServiceSummaryDefault ¶
type GetAggregateServiceSummaryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetAggregateServiceSummaryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetAggregateServiceSummaryDefault ¶
func NewGetAggregateServiceSummaryDefault(code int) *GetAggregateServiceSummaryDefault
NewGetAggregateServiceSummaryDefault creates a GetAggregateServiceSummaryDefault with default headers values
func (*GetAggregateServiceSummaryDefault) Code ¶
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.GoogleRPCStatus
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 { /* FilterClusters. filters summaries to the provided cluster names. If empty, all are included */ FilterClusters []string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAggregateServiceSummaryParams contains all the parameters to send to the API endpoint
for the get aggregate service summary operation. Typically these are written to a http.Request.
func NewGetAggregateServiceSummaryParams ¶
func NewGetAggregateServiceSummaryParams() *GetAggregateServiceSummaryParams
NewGetAggregateServiceSummaryParams creates a new GetAggregateServiceSummaryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAggregateServiceSummaryParamsWithContext ¶
func NewGetAggregateServiceSummaryParamsWithContext(ctx context.Context) *GetAggregateServiceSummaryParams
NewGetAggregateServiceSummaryParamsWithContext creates a new GetAggregateServiceSummaryParams object with the ability to set a context for a request.
func NewGetAggregateServiceSummaryParamsWithHTTPClient ¶
func NewGetAggregateServiceSummaryParamsWithHTTPClient(client *http.Client) *GetAggregateServiceSummaryParams
NewGetAggregateServiceSummaryParamsWithHTTPClient creates a new GetAggregateServiceSummaryParams object with the ability to set a custom HTTPClient for a request.
func NewGetAggregateServiceSummaryParamsWithTimeout ¶
func NewGetAggregateServiceSummaryParamsWithTimeout(timeout time.Duration) *GetAggregateServiceSummaryParams
NewGetAggregateServiceSummaryParamsWithTimeout creates a new GetAggregateServiceSummaryParams object with the ability to set a timeout on a request.
func (*GetAggregateServiceSummaryParams) SetContext ¶
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) SetFilterClusters ¶ added in v0.40.0
func (o *GetAggregateServiceSummaryParams) SetFilterClusters(filterClusters []string)
SetFilterClusters adds the filterClusters to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) SetHTTPClient ¶
func (o *GetAggregateServiceSummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) SetLocationOrganizationID ¶
func (o *GetAggregateServiceSummaryParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) SetLocationProjectID ¶
func (o *GetAggregateServiceSummaryParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) SetLocationRegionProvider ¶
func (o *GetAggregateServiceSummaryParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) SetLocationRegionRegion ¶
func (o *GetAggregateServiceSummaryParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) SetTimeout ¶
func (o *GetAggregateServiceSummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) WithContext ¶
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) WithFilterClusters ¶ added in v0.40.0
func (o *GetAggregateServiceSummaryParams) WithFilterClusters(filterClusters []string) *GetAggregateServiceSummaryParams
WithFilterClusters adds the filterClusters to the get aggregate service summary params
func (*GetAggregateServiceSummaryParams) WithHTTPClient ¶
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.GoogleRPCStatus // contains filtered or unexported fields }
GetClusterAPIInfoDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetClusterAPIInfoDefault ¶
func NewGetClusterAPIInfoDefault(code int) *GetClusterAPIInfoDefault
NewGetClusterAPIInfoDefault creates a GetClusterAPIInfoDefault with default headers values
func (*GetClusterAPIInfoDefault) Code ¶
func (o *GetClusterAPIInfoDefault) Code() int
Code gets the status code for the get cluster API info default response
func (*GetClusterAPIInfoDefault) Error ¶
func (o *GetClusterAPIInfoDefault) Error() string
func (*GetClusterAPIInfoDefault) GetPayload ¶
func (o *GetClusterAPIInfoDefault) GetPayload() *cloud.GoogleRPCStatus
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.GoogleRPCStatus // contains filtered or unexported fields }
GetClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetClusterDefault ¶
func NewGetClusterDefault(code int) *GetClusterDefault
NewGetClusterDefault creates a GetClusterDefault with default headers values
func (*GetClusterDefault) Code ¶
func (o *GetClusterDefault) Code() int
Code gets the status code for the get cluster default response
func (*GetClusterDefault) Error ¶
func (o *GetClusterDefault) Error() string
func (*GetClusterDefault) GetPayload ¶
func (o *GetClusterDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetClusterDefault) IsClientError ¶
func (o *GetClusterDefault) IsClientError() bool
IsClientError returns true when this get cluster default response has a 4xx status code
func (*GetClusterDefault) IsCode ¶
func (o *GetClusterDefault) IsCode(code int) bool
IsCode returns true when this get cluster default response a status code equal to that given
func (*GetClusterDefault) IsRedirect ¶
func (o *GetClusterDefault) IsRedirect() bool
IsRedirect returns true when this get cluster default response has a 3xx status code
func (*GetClusterDefault) IsServerError ¶
func (o *GetClusterDefault) IsServerError() bool
IsServerError returns true when this get cluster default response has a 5xx status code
func (*GetClusterDefault) IsSuccess ¶
func (o *GetClusterDefault) IsSuccess() bool
IsSuccess returns true when this get cluster default response has a 2xx status code
func (*GetClusterDefault) String ¶
func (o *GetClusterDefault) String() string
type GetClusterOK ¶
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.GoogleRPCStatus // contains filtered or unexported fields }
GetClusterSecretsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetClusterSecretsDefault ¶
func NewGetClusterSecretsDefault(code int) *GetClusterSecretsDefault
NewGetClusterSecretsDefault creates a GetClusterSecretsDefault with default headers values
func (*GetClusterSecretsDefault) Code ¶
func (o *GetClusterSecretsDefault) Code() int
Code gets the status code for the get cluster secrets default response
func (*GetClusterSecretsDefault) Error ¶
func (o *GetClusterSecretsDefault) Error() string
func (*GetClusterSecretsDefault) GetPayload ¶
func (o *GetClusterSecretsDefault) GetPayload() *cloud.GoogleRPCStatus
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.GoogleRPCStatus // contains filtered or unexported fields }
GetServiceSummariesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetServiceSummariesDefault ¶
func NewGetServiceSummariesDefault(code int) *GetServiceSummariesDefault
NewGetServiceSummariesDefault creates a GetServiceSummariesDefault with default headers values
func (*GetServiceSummariesDefault) Code ¶
func (o *GetServiceSummariesDefault) Code() int
Code gets the status code for the get service summaries default response
func (*GetServiceSummariesDefault) Error ¶
func (o *GetServiceSummariesDefault) Error() string
func (*GetServiceSummariesDefault) GetPayload ¶
func (o *GetServiceSummariesDefault) GetPayload() *cloud.GoogleRPCStatus
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 { /* FilterClusters. clusters matches summaries on the cluster name */ FilterClusters []string /* FilterKinds. kinds matches service kind. If empty, this defaults to all kinds - KIND_UNSPECIFIED: The default, unspecified service kind. Kind unknown. - KIND_TYPICAL: A typical, classic Consul service. - KIND_CONNECT_PROXY: A Connect proxy instance. - KIND_MESH_GATEWAY: A mesh gateway service instance. - KIND_TERMINATING_GATEWAY: A terminating gateway service instance. - KIND_INGRESS_GATEWAY: An ingress gateway service instance. - KIND_DESTINATION: A Destination for the Connect feature. */ FilterKinds []string /* FilterNameSubstr. name_substr matches summaries that contain a case-insensitive substring in their service name */ FilterNameSubstr *string /* FilterNamespaces. namespaces matches summaries on the namespace name */ FilterNamespaces []string /* FilterPartitions. partitions matches summaries on the partition name */ FilterPartitions []string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceSummariesParams contains all the parameters to send to the API endpoint
for the get service summaries operation. Typically these are written to a http.Request.
func NewGetServiceSummariesParams ¶
func NewGetServiceSummariesParams() *GetServiceSummariesParams
NewGetServiceSummariesParams creates a new GetServiceSummariesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetServiceSummariesParamsWithContext ¶
func NewGetServiceSummariesParamsWithContext(ctx context.Context) *GetServiceSummariesParams
NewGetServiceSummariesParamsWithContext creates a new GetServiceSummariesParams object with the ability to set a context for a request.
func NewGetServiceSummariesParamsWithHTTPClient ¶
func NewGetServiceSummariesParamsWithHTTPClient(client *http.Client) *GetServiceSummariesParams
NewGetServiceSummariesParamsWithHTTPClient creates a new GetServiceSummariesParams object with the ability to set a custom HTTPClient for a request.
func NewGetServiceSummariesParamsWithTimeout ¶
func NewGetServiceSummariesParamsWithTimeout(timeout time.Duration) *GetServiceSummariesParams
NewGetServiceSummariesParamsWithTimeout creates a new GetServiceSummariesParams object with the ability to set a timeout on a request.
func (*GetServiceSummariesParams) SetContext ¶
func (o *GetServiceSummariesParams) SetContext(ctx context.Context)
SetContext adds the context to the get service summaries params
func (*GetServiceSummariesParams) SetDefaults ¶
func (o *GetServiceSummariesParams) SetDefaults()
SetDefaults hydrates default values in the get service summaries params (not the query body).
All values with no default are reset to their zero value.
func (*GetServiceSummariesParams) SetFilterClusters ¶ added in v0.40.0
func (o *GetServiceSummariesParams) SetFilterClusters(filterClusters []string)
SetFilterClusters adds the filterClusters to the get service summaries params
func (*GetServiceSummariesParams) SetFilterKinds ¶ added in v0.40.0
func (o *GetServiceSummariesParams) SetFilterKinds(filterKinds []string)
SetFilterKinds adds the filterKinds to the get service summaries params
func (*GetServiceSummariesParams) SetFilterNameSubstr ¶ added in v0.40.0
func (o *GetServiceSummariesParams) SetFilterNameSubstr(filterNameSubstr *string)
SetFilterNameSubstr adds the filterNameSubstr to the get service summaries params
func (*GetServiceSummariesParams) SetFilterNamespaces ¶ added in v0.40.0
func (o *GetServiceSummariesParams) SetFilterNamespaces(filterNamespaces []string)
SetFilterNamespaces adds the filterNamespaces to the get service summaries params
func (*GetServiceSummariesParams) SetFilterPartitions ¶ added in v0.40.0
func (o *GetServiceSummariesParams) SetFilterPartitions(filterPartitions []string)
SetFilterPartitions adds the filterPartitions to the get service summaries params
func (*GetServiceSummariesParams) SetHTTPClient ¶
func (o *GetServiceSummariesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service summaries params
func (*GetServiceSummariesParams) SetLocationOrganizationID ¶
func (o *GetServiceSummariesParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the get service summaries params
func (*GetServiceSummariesParams) SetLocationProjectID ¶
func (o *GetServiceSummariesParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the get service summaries params
func (*GetServiceSummariesParams) SetLocationRegionProvider ¶
func (o *GetServiceSummariesParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the get service summaries params
func (*GetServiceSummariesParams) SetLocationRegionRegion ¶
func (o *GetServiceSummariesParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the get service summaries params
func (*GetServiceSummariesParams) SetPaginationNextPageToken ¶
func (o *GetServiceSummariesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the get service summaries params
func (*GetServiceSummariesParams) SetPaginationPageSize ¶
func (o *GetServiceSummariesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the get service summaries params
func (*GetServiceSummariesParams) SetPaginationPreviousPageToken ¶
func (o *GetServiceSummariesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the get service summaries params
func (*GetServiceSummariesParams) SetTimeout ¶
func (o *GetServiceSummariesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service summaries params
func (*GetServiceSummariesParams) WithContext ¶
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) WithFilterClusters ¶ added in v0.40.0
func (o *GetServiceSummariesParams) WithFilterClusters(filterClusters []string) *GetServiceSummariesParams
WithFilterClusters adds the filterClusters to the get service summaries params
func (*GetServiceSummariesParams) WithFilterKinds ¶ added in v0.40.0
func (o *GetServiceSummariesParams) WithFilterKinds(filterKinds []string) *GetServiceSummariesParams
WithFilterKinds adds the filterKinds to the get service summaries params
func (*GetServiceSummariesParams) WithFilterNameSubstr ¶ added in v0.40.0
func (o *GetServiceSummariesParams) WithFilterNameSubstr(filterNameSubstr *string) *GetServiceSummariesParams
WithFilterNameSubstr adds the filterNameSubstr to the get service summaries params
func (*GetServiceSummariesParams) WithFilterNamespaces ¶ added in v0.40.0
func (o *GetServiceSummariesParams) WithFilterNamespaces(filterNamespaces []string) *GetServiceSummariesParams
WithFilterNamespaces adds the filterNamespaces to the get service summaries params
func (*GetServiceSummariesParams) WithFilterPartitions ¶ added in v0.40.0
func (o *GetServiceSummariesParams) WithFilterPartitions(filterPartitions []string) *GetServiceSummariesParams
WithFilterPartitions adds the filterPartitions to the get service summaries params
func (*GetServiceSummariesParams) WithHTTPClient ¶
func (o *GetServiceSummariesParams) WithHTTPClient(client *http.Client) *GetServiceSummariesParams
WithHTTPClient adds the HTTPClient to the get service summaries params
func (*GetServiceSummariesParams) WithLocationOrganizationID ¶
func (o *GetServiceSummariesParams) WithLocationOrganizationID(locationOrganizationID string) *GetServiceSummariesParams
WithLocationOrganizationID adds the locationOrganizationID to the get service summaries params
func (*GetServiceSummariesParams) WithLocationProjectID ¶
func (o *GetServiceSummariesParams) WithLocationProjectID(locationProjectID string) *GetServiceSummariesParams
WithLocationProjectID adds the locationProjectID to the get service summaries params
func (*GetServiceSummariesParams) WithLocationRegionProvider ¶
func (o *GetServiceSummariesParams) WithLocationRegionProvider(locationRegionProvider *string) *GetServiceSummariesParams
WithLocationRegionProvider adds the locationRegionProvider to the get service summaries params
func (*GetServiceSummariesParams) WithLocationRegionRegion ¶
func (o *GetServiceSummariesParams) WithLocationRegionRegion(locationRegionRegion *string) *GetServiceSummariesParams
WithLocationRegionRegion adds the locationRegionRegion to the get service summaries params
func (*GetServiceSummariesParams) WithPaginationNextPageToken ¶
func (o *GetServiceSummariesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *GetServiceSummariesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the get service summaries params
func (*GetServiceSummariesParams) WithPaginationPageSize ¶
func (o *GetServiceSummariesParams) WithPaginationPageSize(paginationPageSize *int64) *GetServiceSummariesParams
WithPaginationPageSize adds the paginationPageSize to the get service summaries params
func (*GetServiceSummariesParams) WithPaginationPreviousPageToken ¶
func (o *GetServiceSummariesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *GetServiceSummariesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the get service summaries params
func (*GetServiceSummariesParams) WithTimeout ¶
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 ListClusterPartitionsDefault ¶ added in v0.40.0
type ListClusterPartitionsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListClusterPartitionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListClusterPartitionsDefault ¶ added in v0.40.0
func NewListClusterPartitionsDefault(code int) *ListClusterPartitionsDefault
NewListClusterPartitionsDefault creates a ListClusterPartitionsDefault with default headers values
func (*ListClusterPartitionsDefault) Code ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) Code() int
Code gets the status code for the list cluster partitions default response
func (*ListClusterPartitionsDefault) Error ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) Error() string
func (*ListClusterPartitionsDefault) GetPayload ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListClusterPartitionsDefault) IsClientError ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) IsClientError() bool
IsClientError returns true when this list cluster partitions default response has a 4xx status code
func (*ListClusterPartitionsDefault) IsCode ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) IsCode(code int) bool
IsCode returns true when this list cluster partitions default response a status code equal to that given
func (*ListClusterPartitionsDefault) IsRedirect ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) IsRedirect() bool
IsRedirect returns true when this list cluster partitions default response has a 3xx status code
func (*ListClusterPartitionsDefault) IsServerError ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) IsServerError() bool
IsServerError returns true when this list cluster partitions default response has a 5xx status code
func (*ListClusterPartitionsDefault) IsSuccess ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) IsSuccess() bool
IsSuccess returns true when this list cluster partitions default response has a 2xx status code
func (*ListClusterPartitionsDefault) String ¶ added in v0.40.0
func (o *ListClusterPartitionsDefault) String() string
type ListClusterPartitionsOK ¶ added in v0.40.0
type ListClusterPartitionsOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse
}
ListClusterPartitionsOK describes a response with status code 200, with default header values.
A successful response.
func NewListClusterPartitionsOK ¶ added in v0.40.0
func NewListClusterPartitionsOK() *ListClusterPartitionsOK
NewListClusterPartitionsOK creates a ListClusterPartitionsOK with default headers values
func (*ListClusterPartitionsOK) Error ¶ added in v0.40.0
func (o *ListClusterPartitionsOK) Error() string
func (*ListClusterPartitionsOK) GetPayload ¶ added in v0.40.0
func (o *ListClusterPartitionsOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse
func (*ListClusterPartitionsOK) IsClientError ¶ added in v0.40.0
func (o *ListClusterPartitionsOK) IsClientError() bool
IsClientError returns true when this list cluster partitions o k response has a 4xx status code
func (*ListClusterPartitionsOK) IsCode ¶ added in v0.40.0
func (o *ListClusterPartitionsOK) IsCode(code int) bool
IsCode returns true when this list cluster partitions o k response a status code equal to that given
func (*ListClusterPartitionsOK) IsRedirect ¶ added in v0.40.0
func (o *ListClusterPartitionsOK) IsRedirect() bool
IsRedirect returns true when this list cluster partitions o k response has a 3xx status code
func (*ListClusterPartitionsOK) IsServerError ¶ added in v0.40.0
func (o *ListClusterPartitionsOK) IsServerError() bool
IsServerError returns true when this list cluster partitions o k response has a 5xx status code
func (*ListClusterPartitionsOK) IsSuccess ¶ added in v0.40.0
func (o *ListClusterPartitionsOK) IsSuccess() bool
IsSuccess returns true when this list cluster partitions o k response has a 2xx status code
func (*ListClusterPartitionsOK) String ¶ added in v0.40.0
func (o *ListClusterPartitionsOK) String() string
type ListClusterPartitionsParams ¶ added in v0.40.0
type ListClusterPartitionsParams struct { /* ID. id is the user settable GNM cluster name */ ID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClusterPartitionsParams contains all the parameters to send to the API endpoint
for the list cluster partitions operation. Typically these are written to a http.Request.
func NewListClusterPartitionsParams ¶ added in v0.40.0
func NewListClusterPartitionsParams() *ListClusterPartitionsParams
NewListClusterPartitionsParams creates a new ListClusterPartitionsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListClusterPartitionsParamsWithContext ¶ added in v0.40.0
func NewListClusterPartitionsParamsWithContext(ctx context.Context) *ListClusterPartitionsParams
NewListClusterPartitionsParamsWithContext creates a new ListClusterPartitionsParams object with the ability to set a context for a request.
func NewListClusterPartitionsParamsWithHTTPClient ¶ added in v0.40.0
func NewListClusterPartitionsParamsWithHTTPClient(client *http.Client) *ListClusterPartitionsParams
NewListClusterPartitionsParamsWithHTTPClient creates a new ListClusterPartitionsParams object with the ability to set a custom HTTPClient for a request.
func NewListClusterPartitionsParamsWithTimeout ¶ added in v0.40.0
func NewListClusterPartitionsParamsWithTimeout(timeout time.Duration) *ListClusterPartitionsParams
NewListClusterPartitionsParamsWithTimeout creates a new ListClusterPartitionsParams object with the ability to set a timeout on a request.
func (*ListClusterPartitionsParams) SetContext ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list cluster partitions params
func (*ListClusterPartitionsParams) SetDefaults ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetDefaults()
SetDefaults hydrates default values in the list cluster partitions params (not the query body).
All values with no default are reset to their zero value.
func (*ListClusterPartitionsParams) SetHTTPClient ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list cluster partitions params
func (*ListClusterPartitionsParams) SetID ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetID(id string)
SetID adds the id to the list cluster partitions params
func (*ListClusterPartitionsParams) SetLocationOrganizationID ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list cluster partitions params
func (*ListClusterPartitionsParams) SetLocationProjectID ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list cluster partitions params
func (*ListClusterPartitionsParams) SetLocationRegionProvider ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list cluster partitions params
func (*ListClusterPartitionsParams) SetLocationRegionRegion ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list cluster partitions params
func (*ListClusterPartitionsParams) SetTimeout ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list cluster partitions params
func (*ListClusterPartitionsParams) WithContext ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithContext(ctx context.Context) *ListClusterPartitionsParams
WithContext adds the context to the list cluster partitions params
func (*ListClusterPartitionsParams) WithDefaults ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithDefaults() *ListClusterPartitionsParams
WithDefaults hydrates default values in the list cluster partitions params (not the query body).
All values with no default are reset to their zero value.
func (*ListClusterPartitionsParams) WithHTTPClient ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithHTTPClient(client *http.Client) *ListClusterPartitionsParams
WithHTTPClient adds the HTTPClient to the list cluster partitions params
func (*ListClusterPartitionsParams) WithID ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithID(id string) *ListClusterPartitionsParams
WithID adds the id to the list cluster partitions params
func (*ListClusterPartitionsParams) WithLocationOrganizationID ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithLocationOrganizationID(locationOrganizationID string) *ListClusterPartitionsParams
WithLocationOrganizationID adds the locationOrganizationID to the list cluster partitions params
func (*ListClusterPartitionsParams) WithLocationProjectID ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithLocationProjectID(locationProjectID string) *ListClusterPartitionsParams
WithLocationProjectID adds the locationProjectID to the list cluster partitions params
func (*ListClusterPartitionsParams) WithLocationRegionProvider ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClusterPartitionsParams
WithLocationRegionProvider adds the locationRegionProvider to the list cluster partitions params
func (*ListClusterPartitionsParams) WithLocationRegionRegion ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClusterPartitionsParams
WithLocationRegionRegion adds the locationRegionRegion to the list cluster partitions params
func (*ListClusterPartitionsParams) WithTimeout ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WithTimeout(timeout time.Duration) *ListClusterPartitionsParams
WithTimeout adds the timeout to the list cluster partitions params
func (*ListClusterPartitionsParams) WriteToRequest ¶ added in v0.40.0
func (o *ListClusterPartitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClusterPartitionsReader ¶ added in v0.40.0
type ListClusterPartitionsReader struct {
// contains filtered or unexported fields
}
ListClusterPartitionsReader is a Reader for the ListClusterPartitions structure.
func (*ListClusterPartitionsReader) ReadResponse ¶ added in v0.40.0
func (o *ListClusterPartitionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClusterServersDefault ¶
type ListClusterServersDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListClusterServersDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListClusterServersDefault ¶
func NewListClusterServersDefault(code int) *ListClusterServersDefault
NewListClusterServersDefault creates a ListClusterServersDefault with default headers values
func (*ListClusterServersDefault) Code ¶
func (o *ListClusterServersDefault) Code() int
Code gets the status code for the list cluster servers default response
func (*ListClusterServersDefault) Error ¶
func (o *ListClusterServersDefault) Error() string
func (*ListClusterServersDefault) GetPayload ¶
func (o *ListClusterServersDefault) GetPayload() *cloud.GoogleRPCStatus
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.GoogleRPCStatus // contains filtered or unexported fields }
ListClustersDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListClustersDefault ¶
func NewListClustersDefault(code int) *ListClustersDefault
NewListClustersDefault creates a ListClustersDefault with default headers values
func (*ListClustersDefault) Code ¶
func (o *ListClustersDefault) Code() int
Code gets the status code for the list clusters default response
func (*ListClustersDefault) Error ¶
func (o *ListClustersDefault) Error() string
func (*ListClustersDefault) GetPayload ¶
func (o *ListClustersDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListClustersDefault) IsClientError ¶
func (o *ListClustersDefault) IsClientError() bool
IsClientError returns true when this list clusters default response has a 4xx status code
func (*ListClustersDefault) IsCode ¶
func (o *ListClustersDefault) IsCode(code int) bool
IsCode returns true when this list clusters default response a status code equal to that given
func (*ListClustersDefault) IsRedirect ¶
func (o *ListClustersDefault) IsRedirect() bool
IsRedirect returns true when this list clusters default response has a 3xx status code
func (*ListClustersDefault) IsServerError ¶
func (o *ListClustersDefault) IsServerError() bool
IsServerError returns true when this list clusters default response has a 5xx status code
func (*ListClustersDefault) IsSuccess ¶
func (o *ListClustersDefault) IsSuccess() bool
IsSuccess returns true when this list clusters default response has a 2xx status code
func (*ListClustersDefault) String ¶
func (o *ListClustersDefault) String() string
type ListClustersOK ¶
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 /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* Type. type is the type of clusters to limit the response to - TYPE_UNSPECIFIED: unspecified type to filter on. If this is seen, default to self-managed clusters - TYPE_ALL: all cluster types - TYPE_SELF: self-managed clusters - TYPE_HCP: HCP-managed clusters Default: "TYPE_UNSPECIFIED" */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClustersParams contains all the parameters to send to the API endpoint
for the list clusters operation. Typically these are written to a http.Request.
func NewListClustersParams ¶
func NewListClustersParams() *ListClustersParams
NewListClustersParams creates a new ListClustersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListClustersParamsWithContext ¶
func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams
NewListClustersParamsWithContext creates a new ListClustersParams object with the ability to set a context for a request.
func NewListClustersParamsWithHTTPClient ¶
func NewListClustersParamsWithHTTPClient(client *http.Client) *ListClustersParams
NewListClustersParamsWithHTTPClient creates a new ListClustersParams object with the ability to set a custom HTTPClient for a request.
func NewListClustersParamsWithTimeout ¶
func NewListClustersParamsWithTimeout(timeout time.Duration) *ListClustersParams
NewListClustersParamsWithTimeout creates a new ListClustersParams object with the ability to set a timeout on a request.
func (*ListClustersParams) SetContext ¶
func (o *ListClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the list clusters params
func (*ListClustersParams) SetDefaults ¶
func (o *ListClustersParams) SetDefaults()
SetDefaults hydrates default values in the list clusters params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersParams) SetHTTPClient ¶
func (o *ListClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) SetLocationOrganizationID ¶
func (o *ListClustersParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list clusters params
func (*ListClustersParams) SetLocationProjectID ¶
func (o *ListClustersParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list clusters params
func (*ListClustersParams) SetLocationRegionProvider ¶
func (o *ListClustersParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list clusters params
func (*ListClustersParams) SetLocationRegionRegion ¶
func (o *ListClustersParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list clusters params
func (*ListClustersParams) SetPaginationNextPageToken ¶ added in v0.40.0
func (o *ListClustersParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list clusters params
func (*ListClustersParams) SetPaginationPageSize ¶ added in v0.40.0
func (o *ListClustersParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list clusters params
func (*ListClustersParams) SetPaginationPreviousPageToken ¶ added in v0.40.0
func (o *ListClustersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list clusters params
func (*ListClustersParams) SetTimeout ¶
func (o *ListClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clusters params
func (*ListClustersParams) SetType ¶
func (o *ListClustersParams) SetType(typeVar *string)
SetType adds the type to the list clusters params
func (*ListClustersParams) WithContext ¶
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) WithPaginationNextPageToken ¶ added in v0.40.0
func (o *ListClustersParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListClustersParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list clusters params
func (*ListClustersParams) WithPaginationPageSize ¶ added in v0.40.0
func (o *ListClustersParams) WithPaginationPageSize(paginationPageSize *int64) *ListClustersParams
WithPaginationPageSize adds the paginationPageSize to the list clusters params
func (*ListClustersParams) WithPaginationPreviousPageToken ¶ added in v0.40.0
func (o *ListClustersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListClustersParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list clusters params
func (*ListClustersParams) WithTimeout ¶
func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
WithTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WithType ¶
func (o *ListClustersParams) WithType(typeVar *string) *ListClustersParams
WithType adds the typeVar to the list clusters params
func (*ListClustersParams) WriteToRequest ¶
func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClustersReader ¶
type ListClustersReader struct {
// contains filtered or unexported fields
}
ListClustersReader is a Reader for the ListClusters structure.
func (*ListClustersReader) ReadResponse ¶
func (o *ListClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClustersWithAcceptorEligibilityDefault ¶ added in v0.40.0
type ListClustersWithAcceptorEligibilityDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListClustersWithAcceptorEligibilityDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListClustersWithAcceptorEligibilityDefault ¶ added in v0.40.0
func NewListClustersWithAcceptorEligibilityDefault(code int) *ListClustersWithAcceptorEligibilityDefault
NewListClustersWithAcceptorEligibilityDefault creates a ListClustersWithAcceptorEligibilityDefault with default headers values
func (*ListClustersWithAcceptorEligibilityDefault) Code ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) Code() int
Code gets the status code for the list clusters with acceptor eligibility default response
func (*ListClustersWithAcceptorEligibilityDefault) Error ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) Error() string
func (*ListClustersWithAcceptorEligibilityDefault) GetPayload ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListClustersWithAcceptorEligibilityDefault) IsClientError ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) IsClientError() bool
IsClientError returns true when this list clusters with acceptor eligibility default response has a 4xx status code
func (*ListClustersWithAcceptorEligibilityDefault) IsCode ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) IsCode(code int) bool
IsCode returns true when this list clusters with acceptor eligibility default response a status code equal to that given
func (*ListClustersWithAcceptorEligibilityDefault) IsRedirect ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) IsRedirect() bool
IsRedirect returns true when this list clusters with acceptor eligibility default response has a 3xx status code
func (*ListClustersWithAcceptorEligibilityDefault) IsServerError ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) IsServerError() bool
IsServerError returns true when this list clusters with acceptor eligibility default response has a 5xx status code
func (*ListClustersWithAcceptorEligibilityDefault) IsSuccess ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) IsSuccess() bool
IsSuccess returns true when this list clusters with acceptor eligibility default response has a 2xx status code
func (*ListClustersWithAcceptorEligibilityDefault) String ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityDefault) String() string
type ListClustersWithAcceptorEligibilityOK ¶ added in v0.40.0
type ListClustersWithAcceptorEligibilityOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse
}
ListClustersWithAcceptorEligibilityOK describes a response with status code 200, with default header values.
A successful response.
func NewListClustersWithAcceptorEligibilityOK ¶ added in v0.40.0
func NewListClustersWithAcceptorEligibilityOK() *ListClustersWithAcceptorEligibilityOK
NewListClustersWithAcceptorEligibilityOK creates a ListClustersWithAcceptorEligibilityOK with default headers values
func (*ListClustersWithAcceptorEligibilityOK) Error ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityOK) Error() string
func (*ListClustersWithAcceptorEligibilityOK) GetPayload ¶ added in v0.40.0
func (*ListClustersWithAcceptorEligibilityOK) IsClientError ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityOK) IsClientError() bool
IsClientError returns true when this list clusters with acceptor eligibility o k response has a 4xx status code
func (*ListClustersWithAcceptorEligibilityOK) IsCode ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityOK) IsCode(code int) bool
IsCode returns true when this list clusters with acceptor eligibility o k response a status code equal to that given
func (*ListClustersWithAcceptorEligibilityOK) IsRedirect ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityOK) IsRedirect() bool
IsRedirect returns true when this list clusters with acceptor eligibility o k response has a 3xx status code
func (*ListClustersWithAcceptorEligibilityOK) IsServerError ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityOK) IsServerError() bool
IsServerError returns true when this list clusters with acceptor eligibility o k response has a 5xx status code
func (*ListClustersWithAcceptorEligibilityOK) IsSuccess ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityOK) IsSuccess() bool
IsSuccess returns true when this list clusters with acceptor eligibility o k response has a 2xx status code
func (*ListClustersWithAcceptorEligibilityOK) String ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityOK) String() string
type ListClustersWithAcceptorEligibilityParams ¶ added in v0.40.0
type ListClustersWithAcceptorEligibilityParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClustersWithAcceptorEligibilityParams contains all the parameters to send to the API endpoint
for the list clusters with acceptor eligibility operation. Typically these are written to a http.Request.
func NewListClustersWithAcceptorEligibilityParams ¶ added in v0.40.0
func NewListClustersWithAcceptorEligibilityParams() *ListClustersWithAcceptorEligibilityParams
NewListClustersWithAcceptorEligibilityParams creates a new ListClustersWithAcceptorEligibilityParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListClustersWithAcceptorEligibilityParamsWithContext ¶ added in v0.40.0
func NewListClustersWithAcceptorEligibilityParamsWithContext(ctx context.Context) *ListClustersWithAcceptorEligibilityParams
NewListClustersWithAcceptorEligibilityParamsWithContext creates a new ListClustersWithAcceptorEligibilityParams object with the ability to set a context for a request.
func NewListClustersWithAcceptorEligibilityParamsWithHTTPClient ¶ added in v0.40.0
func NewListClustersWithAcceptorEligibilityParamsWithHTTPClient(client *http.Client) *ListClustersWithAcceptorEligibilityParams
NewListClustersWithAcceptorEligibilityParamsWithHTTPClient creates a new ListClustersWithAcceptorEligibilityParams object with the ability to set a custom HTTPClient for a request.
func NewListClustersWithAcceptorEligibilityParamsWithTimeout ¶ added in v0.40.0
func NewListClustersWithAcceptorEligibilityParamsWithTimeout(timeout time.Duration) *ListClustersWithAcceptorEligibilityParams
NewListClustersWithAcceptorEligibilityParamsWithTimeout creates a new ListClustersWithAcceptorEligibilityParams object with the ability to set a timeout on a request.
func (*ListClustersWithAcceptorEligibilityParams) SetContext ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) SetContext(ctx context.Context)
SetContext adds the context to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) SetDefaults ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) SetDefaults()
SetDefaults hydrates default values in the list clusters with acceptor eligibility params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersWithAcceptorEligibilityParams) SetHTTPClient ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) SetLocationOrganizationID ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) SetLocationProjectID ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) SetLocationRegionProvider ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) SetLocationRegionRegion ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) SetTimeout ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) WithContext ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WithContext(ctx context.Context) *ListClustersWithAcceptorEligibilityParams
WithContext adds the context to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) WithDefaults ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WithDefaults() *ListClustersWithAcceptorEligibilityParams
WithDefaults hydrates default values in the list clusters with acceptor eligibility params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersWithAcceptorEligibilityParams) WithHTTPClient ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WithHTTPClient(client *http.Client) *ListClustersWithAcceptorEligibilityParams
WithHTTPClient adds the HTTPClient to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) WithLocationOrganizationID ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WithLocationOrganizationID(locationOrganizationID string) *ListClustersWithAcceptorEligibilityParams
WithLocationOrganizationID adds the locationOrganizationID to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) WithLocationProjectID ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WithLocationProjectID(locationProjectID string) *ListClustersWithAcceptorEligibilityParams
WithLocationProjectID adds the locationProjectID to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) WithLocationRegionProvider ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClustersWithAcceptorEligibilityParams
WithLocationRegionProvider adds the locationRegionProvider to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) WithLocationRegionRegion ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClustersWithAcceptorEligibilityParams
WithLocationRegionRegion adds the locationRegionRegion to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) WithTimeout ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WithTimeout(timeout time.Duration) *ListClustersWithAcceptorEligibilityParams
WithTimeout adds the timeout to the list clusters with acceptor eligibility params
func (*ListClustersWithAcceptorEligibilityParams) WriteToRequest ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClustersWithAcceptorEligibilityReader ¶ added in v0.40.0
type ListClustersWithAcceptorEligibilityReader struct {
// contains filtered or unexported fields
}
ListClustersWithAcceptorEligibilityReader is a Reader for the ListClustersWithAcceptorEligibility structure.
func (*ListClustersWithAcceptorEligibilityReader) ReadResponse ¶ added in v0.40.0
func (o *ListClustersWithAcceptorEligibilityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClustersWithDialerEligibilityDefault ¶ added in v0.40.0
type ListClustersWithDialerEligibilityDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListClustersWithDialerEligibilityDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListClustersWithDialerEligibilityDefault ¶ added in v0.40.0
func NewListClustersWithDialerEligibilityDefault(code int) *ListClustersWithDialerEligibilityDefault
NewListClustersWithDialerEligibilityDefault creates a ListClustersWithDialerEligibilityDefault with default headers values
func (*ListClustersWithDialerEligibilityDefault) Code ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) Code() int
Code gets the status code for the list clusters with dialer eligibility default response
func (*ListClustersWithDialerEligibilityDefault) Error ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) Error() string
func (*ListClustersWithDialerEligibilityDefault) GetPayload ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListClustersWithDialerEligibilityDefault) IsClientError ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) IsClientError() bool
IsClientError returns true when this list clusters with dialer eligibility default response has a 4xx status code
func (*ListClustersWithDialerEligibilityDefault) IsCode ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) IsCode(code int) bool
IsCode returns true when this list clusters with dialer eligibility default response a status code equal to that given
func (*ListClustersWithDialerEligibilityDefault) IsRedirect ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) IsRedirect() bool
IsRedirect returns true when this list clusters with dialer eligibility default response has a 3xx status code
func (*ListClustersWithDialerEligibilityDefault) IsServerError ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) IsServerError() bool
IsServerError returns true when this list clusters with dialer eligibility default response has a 5xx status code
func (*ListClustersWithDialerEligibilityDefault) IsSuccess ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) IsSuccess() bool
IsSuccess returns true when this list clusters with dialer eligibility default response has a 2xx status code
func (*ListClustersWithDialerEligibilityDefault) String ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityDefault) String() string
type ListClustersWithDialerEligibilityOK ¶ added in v0.40.0
type ListClustersWithDialerEligibilityOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse
}
ListClustersWithDialerEligibilityOK describes a response with status code 200, with default header values.
A successful response.
func NewListClustersWithDialerEligibilityOK ¶ added in v0.40.0
func NewListClustersWithDialerEligibilityOK() *ListClustersWithDialerEligibilityOK
NewListClustersWithDialerEligibilityOK creates a ListClustersWithDialerEligibilityOK with default headers values
func (*ListClustersWithDialerEligibilityOK) Error ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityOK) Error() string
func (*ListClustersWithDialerEligibilityOK) GetPayload ¶ added in v0.40.0
func (*ListClustersWithDialerEligibilityOK) IsClientError ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityOK) IsClientError() bool
IsClientError returns true when this list clusters with dialer eligibility o k response has a 4xx status code
func (*ListClustersWithDialerEligibilityOK) IsCode ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityOK) IsCode(code int) bool
IsCode returns true when this list clusters with dialer eligibility o k response a status code equal to that given
func (*ListClustersWithDialerEligibilityOK) IsRedirect ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityOK) IsRedirect() bool
IsRedirect returns true when this list clusters with dialer eligibility o k response has a 3xx status code
func (*ListClustersWithDialerEligibilityOK) IsServerError ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityOK) IsServerError() bool
IsServerError returns true when this list clusters with dialer eligibility o k response has a 5xx status code
func (*ListClustersWithDialerEligibilityOK) IsSuccess ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityOK) IsSuccess() bool
IsSuccess returns true when this list clusters with dialer eligibility o k response has a 2xx status code
func (*ListClustersWithDialerEligibilityOK) String ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityOK) String() string
type ListClustersWithDialerEligibilityParams ¶ added in v0.40.0
type ListClustersWithDialerEligibilityParams struct { /* AcceptorClusterID. acceptor_cluster_id is the user settable GNM cluster name of the acceptor cluster to check eligibility with */ AcceptorClusterID *string /* AcceptorClusterPartitionName. acceptor_cluster_partition_name is the name of the partition of the acceptor cluster to check eligibility with */ AcceptorClusterPartitionName *string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClustersWithDialerEligibilityParams contains all the parameters to send to the API endpoint
for the list clusters with dialer eligibility operation. Typically these are written to a http.Request.
func NewListClustersWithDialerEligibilityParams ¶ added in v0.40.0
func NewListClustersWithDialerEligibilityParams() *ListClustersWithDialerEligibilityParams
NewListClustersWithDialerEligibilityParams creates a new ListClustersWithDialerEligibilityParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListClustersWithDialerEligibilityParamsWithContext ¶ added in v0.40.0
func NewListClustersWithDialerEligibilityParamsWithContext(ctx context.Context) *ListClustersWithDialerEligibilityParams
NewListClustersWithDialerEligibilityParamsWithContext creates a new ListClustersWithDialerEligibilityParams object with the ability to set a context for a request.
func NewListClustersWithDialerEligibilityParamsWithHTTPClient ¶ added in v0.40.0
func NewListClustersWithDialerEligibilityParamsWithHTTPClient(client *http.Client) *ListClustersWithDialerEligibilityParams
NewListClustersWithDialerEligibilityParamsWithHTTPClient creates a new ListClustersWithDialerEligibilityParams object with the ability to set a custom HTTPClient for a request.
func NewListClustersWithDialerEligibilityParamsWithTimeout ¶ added in v0.40.0
func NewListClustersWithDialerEligibilityParamsWithTimeout(timeout time.Duration) *ListClustersWithDialerEligibilityParams
NewListClustersWithDialerEligibilityParamsWithTimeout creates a new ListClustersWithDialerEligibilityParams object with the ability to set a timeout on a request.
func (*ListClustersWithDialerEligibilityParams) SetAcceptorClusterID ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetAcceptorClusterID(acceptorClusterID *string)
SetAcceptorClusterID adds the acceptorClusterId to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) SetAcceptorClusterPartitionName ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetAcceptorClusterPartitionName(acceptorClusterPartitionName *string)
SetAcceptorClusterPartitionName adds the acceptorClusterPartitionName to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) SetContext ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetContext(ctx context.Context)
SetContext adds the context to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) SetDefaults ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetDefaults()
SetDefaults hydrates default values in the list clusters with dialer eligibility params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersWithDialerEligibilityParams) SetHTTPClient ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) SetLocationOrganizationID ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) SetLocationProjectID ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) SetLocationRegionProvider ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) SetLocationRegionRegion ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) SetTimeout ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithAcceptorClusterID ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithAcceptorClusterID(acceptorClusterID *string) *ListClustersWithDialerEligibilityParams
WithAcceptorClusterID adds the acceptorClusterID to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithAcceptorClusterPartitionName ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithAcceptorClusterPartitionName(acceptorClusterPartitionName *string) *ListClustersWithDialerEligibilityParams
WithAcceptorClusterPartitionName adds the acceptorClusterPartitionName to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithContext ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithContext(ctx context.Context) *ListClustersWithDialerEligibilityParams
WithContext adds the context to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithDefaults ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithDefaults() *ListClustersWithDialerEligibilityParams
WithDefaults hydrates default values in the list clusters with dialer eligibility params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersWithDialerEligibilityParams) WithHTTPClient ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithHTTPClient(client *http.Client) *ListClustersWithDialerEligibilityParams
WithHTTPClient adds the HTTPClient to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithLocationOrganizationID ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithLocationOrganizationID(locationOrganizationID string) *ListClustersWithDialerEligibilityParams
WithLocationOrganizationID adds the locationOrganizationID to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithLocationProjectID ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithLocationProjectID(locationProjectID string) *ListClustersWithDialerEligibilityParams
WithLocationProjectID adds the locationProjectID to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithLocationRegionProvider ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithLocationRegionProvider(locationRegionProvider *string) *ListClustersWithDialerEligibilityParams
WithLocationRegionProvider adds the locationRegionProvider to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithLocationRegionRegion ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithLocationRegionRegion(locationRegionRegion *string) *ListClustersWithDialerEligibilityParams
WithLocationRegionRegion adds the locationRegionRegion to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WithTimeout ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WithTimeout(timeout time.Duration) *ListClustersWithDialerEligibilityParams
WithTimeout adds the timeout to the list clusters with dialer eligibility params
func (*ListClustersWithDialerEligibilityParams) WriteToRequest ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClustersWithDialerEligibilityReader ¶ added in v0.40.0
type ListClustersWithDialerEligibilityReader struct {
// contains filtered or unexported fields
}
ListClustersWithDialerEligibilityReader is a Reader for the ListClustersWithDialerEligibility structure.
func (*ListClustersWithDialerEligibilityReader) ReadResponse ¶ added in v0.40.0
func (o *ListClustersWithDialerEligibilityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListConsulVersionsDefault ¶ added in v0.40.0
type ListConsulVersionsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListConsulVersionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListConsulVersionsDefault ¶ added in v0.40.0
func NewListConsulVersionsDefault(code int) *ListConsulVersionsDefault
NewListConsulVersionsDefault creates a ListConsulVersionsDefault with default headers values
func (*ListConsulVersionsDefault) Code ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) Code() int
Code gets the status code for the list consul versions default response
func (*ListConsulVersionsDefault) Error ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) Error() string
func (*ListConsulVersionsDefault) GetPayload ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListConsulVersionsDefault) IsClientError ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) IsClientError() bool
IsClientError returns true when this list consul versions default response has a 4xx status code
func (*ListConsulVersionsDefault) IsCode ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) IsCode(code int) bool
IsCode returns true when this list consul versions default response a status code equal to that given
func (*ListConsulVersionsDefault) IsRedirect ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) IsRedirect() bool
IsRedirect returns true when this list consul versions default response has a 3xx status code
func (*ListConsulVersionsDefault) IsServerError ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) IsServerError() bool
IsServerError returns true when this list consul versions default response has a 5xx status code
func (*ListConsulVersionsDefault) IsSuccess ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) IsSuccess() bool
IsSuccess returns true when this list consul versions default response has a 2xx status code
func (*ListConsulVersionsDefault) String ¶ added in v0.40.0
func (o *ListConsulVersionsDefault) String() string
type ListConsulVersionsOK ¶ added in v0.40.0
type ListConsulVersionsOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse
}
ListConsulVersionsOK describes a response with status code 200, with default header values.
A successful response.
func NewListConsulVersionsOK ¶ added in v0.40.0
func NewListConsulVersionsOK() *ListConsulVersionsOK
NewListConsulVersionsOK creates a ListConsulVersionsOK with default headers values
func (*ListConsulVersionsOK) Error ¶ added in v0.40.0
func (o *ListConsulVersionsOK) Error() string
func (*ListConsulVersionsOK) GetPayload ¶ added in v0.40.0
func (o *ListConsulVersionsOK) GetPayload() *models.HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse
func (*ListConsulVersionsOK) IsClientError ¶ added in v0.40.0
func (o *ListConsulVersionsOK) IsClientError() bool
IsClientError returns true when this list consul versions o k response has a 4xx status code
func (*ListConsulVersionsOK) IsCode ¶ added in v0.40.0
func (o *ListConsulVersionsOK) IsCode(code int) bool
IsCode returns true when this list consul versions o k response a status code equal to that given
func (*ListConsulVersionsOK) IsRedirect ¶ added in v0.40.0
func (o *ListConsulVersionsOK) IsRedirect() bool
IsRedirect returns true when this list consul versions o k response has a 3xx status code
func (*ListConsulVersionsOK) IsServerError ¶ added in v0.40.0
func (o *ListConsulVersionsOK) IsServerError() bool
IsServerError returns true when this list consul versions o k response has a 5xx status code
func (*ListConsulVersionsOK) IsSuccess ¶ added in v0.40.0
func (o *ListConsulVersionsOK) IsSuccess() bool
IsSuccess returns true when this list consul versions o k response has a 2xx status code
func (*ListConsulVersionsOK) String ¶ added in v0.40.0
func (o *ListConsulVersionsOK) String() string
type ListConsulVersionsParams ¶ added in v0.40.0
type ListConsulVersionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListConsulVersionsParams contains all the parameters to send to the API endpoint
for the list consul versions operation. Typically these are written to a http.Request.
func NewListConsulVersionsParams ¶ added in v0.40.0
func NewListConsulVersionsParams() *ListConsulVersionsParams
NewListConsulVersionsParams creates a new ListConsulVersionsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListConsulVersionsParamsWithContext ¶ added in v0.40.0
func NewListConsulVersionsParamsWithContext(ctx context.Context) *ListConsulVersionsParams
NewListConsulVersionsParamsWithContext creates a new ListConsulVersionsParams object with the ability to set a context for a request.
func NewListConsulVersionsParamsWithHTTPClient ¶ added in v0.40.0
func NewListConsulVersionsParamsWithHTTPClient(client *http.Client) *ListConsulVersionsParams
NewListConsulVersionsParamsWithHTTPClient creates a new ListConsulVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewListConsulVersionsParamsWithTimeout ¶ added in v0.40.0
func NewListConsulVersionsParamsWithTimeout(timeout time.Duration) *ListConsulVersionsParams
NewListConsulVersionsParamsWithTimeout creates a new ListConsulVersionsParams object with the ability to set a timeout on a request.
func (*ListConsulVersionsParams) SetContext ¶ added in v0.40.0
func (o *ListConsulVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list consul versions params
func (*ListConsulVersionsParams) SetDefaults ¶ added in v0.40.0
func (o *ListConsulVersionsParams) SetDefaults()
SetDefaults hydrates default values in the list consul versions params (not the query body).
All values with no default are reset to their zero value.
func (*ListConsulVersionsParams) SetHTTPClient ¶ added in v0.40.0
func (o *ListConsulVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list consul versions params
func (*ListConsulVersionsParams) SetTimeout ¶ added in v0.40.0
func (o *ListConsulVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list consul versions params
func (*ListConsulVersionsParams) WithContext ¶ added in v0.40.0
func (o *ListConsulVersionsParams) WithContext(ctx context.Context) *ListConsulVersionsParams
WithContext adds the context to the list consul versions params
func (*ListConsulVersionsParams) WithDefaults ¶ added in v0.40.0
func (o *ListConsulVersionsParams) WithDefaults() *ListConsulVersionsParams
WithDefaults hydrates default values in the list consul versions params (not the query body).
All values with no default are reset to their zero value.
func (*ListConsulVersionsParams) WithHTTPClient ¶ added in v0.40.0
func (o *ListConsulVersionsParams) WithHTTPClient(client *http.Client) *ListConsulVersionsParams
WithHTTPClient adds the HTTPClient to the list consul versions params
func (*ListConsulVersionsParams) WithTimeout ¶ added in v0.40.0
func (o *ListConsulVersionsParams) WithTimeout(timeout time.Duration) *ListConsulVersionsParams
WithTimeout adds the timeout to the list consul versions params
func (*ListConsulVersionsParams) WriteToRequest ¶ added in v0.40.0
func (o *ListConsulVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListConsulVersionsReader ¶ added in v0.40.0
type ListConsulVersionsReader struct {
// contains filtered or unexported fields
}
ListConsulVersionsReader is a Reader for the ListConsulVersions structure.
func (*ListConsulVersionsReader) ReadResponse ¶ added in v0.40.0
func (o *ListConsulVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPeersByClusterPartitionDefault ¶ added in v0.40.0
type ListPeersByClusterPartitionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListPeersByClusterPartitionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListPeersByClusterPartitionDefault ¶ added in v0.40.0
func NewListPeersByClusterPartitionDefault(code int) *ListPeersByClusterPartitionDefault
NewListPeersByClusterPartitionDefault creates a ListPeersByClusterPartitionDefault with default headers values
func (*ListPeersByClusterPartitionDefault) Code ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) Code() int
Code gets the status code for the list peers by cluster partition default response
func (*ListPeersByClusterPartitionDefault) Error ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) Error() string
func (*ListPeersByClusterPartitionDefault) GetPayload ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListPeersByClusterPartitionDefault) IsClientError ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) IsClientError() bool
IsClientError returns true when this list peers by cluster partition default response has a 4xx status code
func (*ListPeersByClusterPartitionDefault) IsCode ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) IsCode(code int) bool
IsCode returns true when this list peers by cluster partition default response a status code equal to that given
func (*ListPeersByClusterPartitionDefault) IsRedirect ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) IsRedirect() bool
IsRedirect returns true when this list peers by cluster partition default response has a 3xx status code
func (*ListPeersByClusterPartitionDefault) IsServerError ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) IsServerError() bool
IsServerError returns true when this list peers by cluster partition default response has a 5xx status code
func (*ListPeersByClusterPartitionDefault) IsSuccess ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) IsSuccess() bool
IsSuccess returns true when this list peers by cluster partition default response has a 2xx status code
func (*ListPeersByClusterPartitionDefault) String ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionDefault) String() string
type ListPeersByClusterPartitionOK ¶ added in v0.40.0
type ListPeersByClusterPartitionOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse
}
ListPeersByClusterPartitionOK describes a response with status code 200, with default header values.
A successful response.
func NewListPeersByClusterPartitionOK ¶ added in v0.40.0
func NewListPeersByClusterPartitionOK() *ListPeersByClusterPartitionOK
NewListPeersByClusterPartitionOK creates a ListPeersByClusterPartitionOK with default headers values
func (*ListPeersByClusterPartitionOK) Error ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionOK) Error() string
func (*ListPeersByClusterPartitionOK) GetPayload ¶ added in v0.40.0
func (*ListPeersByClusterPartitionOK) IsClientError ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionOK) IsClientError() bool
IsClientError returns true when this list peers by cluster partition o k response has a 4xx status code
func (*ListPeersByClusterPartitionOK) IsCode ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionOK) IsCode(code int) bool
IsCode returns true when this list peers by cluster partition o k response a status code equal to that given
func (*ListPeersByClusterPartitionOK) IsRedirect ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionOK) IsRedirect() bool
IsRedirect returns true when this list peers by cluster partition o k response has a 3xx status code
func (*ListPeersByClusterPartitionOK) IsServerError ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionOK) IsServerError() bool
IsServerError returns true when this list peers by cluster partition o k response has a 5xx status code
func (*ListPeersByClusterPartitionOK) IsSuccess ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionOK) IsSuccess() bool
IsSuccess returns true when this list peers by cluster partition o k response has a 2xx status code
func (*ListPeersByClusterPartitionOK) String ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionOK) String() string
type ListPeersByClusterPartitionParams ¶ added in v0.40.0
type ListPeersByClusterPartitionParams struct { /* ClusterID. cluster_id is the user settable GNM cluster name. If supplied, only peering connections belonging to the cluster in the specified location are returned. */ ClusterID *string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPeersByClusterPartitionParams contains all the parameters to send to the API endpoint
for the list peers by cluster partition operation. Typically these are written to a http.Request.
func NewListPeersByClusterPartitionParams ¶ added in v0.40.0
func NewListPeersByClusterPartitionParams() *ListPeersByClusterPartitionParams
NewListPeersByClusterPartitionParams creates a new ListPeersByClusterPartitionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListPeersByClusterPartitionParamsWithContext ¶ added in v0.40.0
func NewListPeersByClusterPartitionParamsWithContext(ctx context.Context) *ListPeersByClusterPartitionParams
NewListPeersByClusterPartitionParamsWithContext creates a new ListPeersByClusterPartitionParams object with the ability to set a context for a request.
func NewListPeersByClusterPartitionParamsWithHTTPClient ¶ added in v0.40.0
func NewListPeersByClusterPartitionParamsWithHTTPClient(client *http.Client) *ListPeersByClusterPartitionParams
NewListPeersByClusterPartitionParamsWithHTTPClient creates a new ListPeersByClusterPartitionParams object with the ability to set a custom HTTPClient for a request.
func NewListPeersByClusterPartitionParamsWithTimeout ¶ added in v0.40.0
func NewListPeersByClusterPartitionParamsWithTimeout(timeout time.Duration) *ListPeersByClusterPartitionParams
NewListPeersByClusterPartitionParamsWithTimeout creates a new ListPeersByClusterPartitionParams object with the ability to set a timeout on a request.
func (*ListPeersByClusterPartitionParams) SetClusterID ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetClusterID(clusterID *string)
SetClusterID adds the clusterId to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) SetContext ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetContext(ctx context.Context)
SetContext adds the context to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) SetDefaults ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetDefaults()
SetDefaults hydrates default values in the list peers by cluster partition params (not the query body).
All values with no default are reset to their zero value.
func (*ListPeersByClusterPartitionParams) SetHTTPClient ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) SetLocationOrganizationID ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) SetLocationProjectID ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) SetLocationRegionProvider ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) SetLocationRegionRegion ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) SetTimeout ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WithClusterID ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithClusterID(clusterID *string) *ListPeersByClusterPartitionParams
WithClusterID adds the clusterID to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WithContext ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithContext(ctx context.Context) *ListPeersByClusterPartitionParams
WithContext adds the context to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WithDefaults ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithDefaults() *ListPeersByClusterPartitionParams
WithDefaults hydrates default values in the list peers by cluster partition params (not the query body).
All values with no default are reset to their zero value.
func (*ListPeersByClusterPartitionParams) WithHTTPClient ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithHTTPClient(client *http.Client) *ListPeersByClusterPartitionParams
WithHTTPClient adds the HTTPClient to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WithLocationOrganizationID ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithLocationOrganizationID(locationOrganizationID string) *ListPeersByClusterPartitionParams
WithLocationOrganizationID adds the locationOrganizationID to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WithLocationProjectID ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithLocationProjectID(locationProjectID string) *ListPeersByClusterPartitionParams
WithLocationProjectID adds the locationProjectID to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WithLocationRegionProvider ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithLocationRegionProvider(locationRegionProvider *string) *ListPeersByClusterPartitionParams
WithLocationRegionProvider adds the locationRegionProvider to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WithLocationRegionRegion ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithLocationRegionRegion(locationRegionRegion *string) *ListPeersByClusterPartitionParams
WithLocationRegionRegion adds the locationRegionRegion to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WithTimeout ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WithTimeout(timeout time.Duration) *ListPeersByClusterPartitionParams
WithTimeout adds the timeout to the list peers by cluster partition params
func (*ListPeersByClusterPartitionParams) WriteToRequest ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPeersByClusterPartitionReader ¶ added in v0.40.0
type ListPeersByClusterPartitionReader struct {
// contains filtered or unexported fields
}
ListPeersByClusterPartitionReader is a Reader for the ListPeersByClusterPartition structure.
func (*ListPeersByClusterPartitionReader) ReadResponse ¶ added in v0.40.0
func (o *ListPeersByClusterPartitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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
- create_peering_connections_parameters.go
- create_peering_connections_responses.go
- delete_cluster_parameters.go
- delete_cluster_responses.go
- delete_peering_connection_parameters.go
- delete_peering_connection_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_partitions_parameters.go
- list_cluster_partitions_responses.go
- list_cluster_servers_parameters.go
- list_cluster_servers_responses.go
- list_clusters_parameters.go
- list_clusters_responses.go
- list_clusters_with_acceptor_eligibility_parameters.go
- list_clusters_with_acceptor_eligibility_responses.go
- list_clusters_with_dialer_eligibility_parameters.go
- list_clusters_with_dialer_eligibility_responses.go
- list_consul_versions_parameters.go
- list_consul_versions_responses.go
- list_peers_by_cluster_partition_parameters.go
- list_peers_by_cluster_partition_responses.go