vault_link_service

package
v0.107.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticateUserToClusterBody added in v0.59.0

type AuthenticateUserToClusterBody struct {

	// auth type
	AuthType *models.HashicorpCloudVaultLink20221107AuthenticateUserRequestAuthType `json:"auth_type,omitempty"`

	// For LDAP/USERPASS this credential is a password. For TOKEN, this is a token.
	Credential string `json:"credential,omitempty"`

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

	// Path where the auth mount is located
	MountPath string `json:"mount_path,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// Username is used for LDAP/USERPASS
	Username string `json:"username,omitempty"`
}

AuthenticateUserToClusterBody authenticate user to cluster body swagger:model AuthenticateUserToClusterBody

func (*AuthenticateUserToClusterBody) ContextValidate added in v0.59.0

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

ContextValidate validate this authenticate user to cluster body based on the context it is used

func (*AuthenticateUserToClusterBody) MarshalBinary added in v0.59.0

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

MarshalBinary interface implementation

func (*AuthenticateUserToClusterBody) UnmarshalBinary added in v0.59.0

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

UnmarshalBinary interface implementation

func (*AuthenticateUserToClusterBody) Validate added in v0.59.0

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

Validate validates this authenticate user to cluster body

type AuthenticateUserToClusterDefault added in v0.59.0

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

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

An unexpected error response.

func NewAuthenticateUserToClusterDefault added in v0.59.0

func NewAuthenticateUserToClusterDefault(code int) *AuthenticateUserToClusterDefault

NewAuthenticateUserToClusterDefault creates a AuthenticateUserToClusterDefault with default headers values

func (*AuthenticateUserToClusterDefault) Code added in v0.59.0

Code gets the status code for the authenticate user to cluster default response

func (*AuthenticateUserToClusterDefault) Error added in v0.59.0

func (*AuthenticateUserToClusterDefault) GetPayload added in v0.59.0

func (*AuthenticateUserToClusterDefault) IsClientError added in v0.59.0

func (o *AuthenticateUserToClusterDefault) IsClientError() bool

IsClientError returns true when this authenticate user to cluster default response has a 4xx status code

func (*AuthenticateUserToClusterDefault) IsCode added in v0.59.0

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

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

func (*AuthenticateUserToClusterDefault) IsRedirect added in v0.59.0

func (o *AuthenticateUserToClusterDefault) IsRedirect() bool

IsRedirect returns true when this authenticate user to cluster default response has a 3xx status code

func (*AuthenticateUserToClusterDefault) IsServerError added in v0.59.0

func (o *AuthenticateUserToClusterDefault) IsServerError() bool

IsServerError returns true when this authenticate user to cluster default response has a 5xx status code

func (*AuthenticateUserToClusterDefault) IsSuccess added in v0.59.0

func (o *AuthenticateUserToClusterDefault) IsSuccess() bool

IsSuccess returns true when this authenticate user to cluster default response has a 2xx status code

func (*AuthenticateUserToClusterDefault) String added in v0.59.0

type AuthenticateUserToClusterOK added in v0.59.0

type AuthenticateUserToClusterOK struct {
	Payload *models.HashicorpCloudVaultLink20221107AuthenticateUserResponse
}

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

A successful response.

func NewAuthenticateUserToClusterOK added in v0.59.0

func NewAuthenticateUserToClusterOK() *AuthenticateUserToClusterOK

NewAuthenticateUserToClusterOK creates a AuthenticateUserToClusterOK with default headers values

func (*AuthenticateUserToClusterOK) Error added in v0.59.0

func (*AuthenticateUserToClusterOK) GetPayload added in v0.59.0

func (*AuthenticateUserToClusterOK) IsClientError added in v0.59.0

func (o *AuthenticateUserToClusterOK) IsClientError() bool

IsClientError returns true when this authenticate user to cluster o k response has a 4xx status code

func (*AuthenticateUserToClusterOK) IsCode added in v0.59.0

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

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

func (*AuthenticateUserToClusterOK) IsRedirect added in v0.59.0

func (o *AuthenticateUserToClusterOK) IsRedirect() bool

IsRedirect returns true when this authenticate user to cluster o k response has a 3xx status code

func (*AuthenticateUserToClusterOK) IsServerError added in v0.59.0

func (o *AuthenticateUserToClusterOK) IsServerError() bool

IsServerError returns true when this authenticate user to cluster o k response has a 5xx status code

func (*AuthenticateUserToClusterOK) IsSuccess added in v0.59.0

func (o *AuthenticateUserToClusterOK) IsSuccess() bool

IsSuccess returns true when this authenticate user to cluster o k response has a 2xx status code

func (*AuthenticateUserToClusterOK) String added in v0.59.0

func (o *AuthenticateUserToClusterOK) String() string

type AuthenticateUserToClusterParams added in v0.59.0

type AuthenticateUserToClusterParams struct {

	// Body.
	Body AuthenticateUserToClusterBody

	// ClusterID.
	ClusterID 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
}

AuthenticateUserToClusterParams contains all the parameters to send to the API endpoint

for the authenticate user to cluster operation.

Typically these are written to a http.Request.

func NewAuthenticateUserToClusterParams added in v0.59.0

func NewAuthenticateUserToClusterParams() *AuthenticateUserToClusterParams

NewAuthenticateUserToClusterParams creates a new AuthenticateUserToClusterParams 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 NewAuthenticateUserToClusterParamsWithContext added in v0.59.0

func NewAuthenticateUserToClusterParamsWithContext(ctx context.Context) *AuthenticateUserToClusterParams

NewAuthenticateUserToClusterParamsWithContext creates a new AuthenticateUserToClusterParams object with the ability to set a context for a request.

func NewAuthenticateUserToClusterParamsWithHTTPClient added in v0.59.0

func NewAuthenticateUserToClusterParamsWithHTTPClient(client *http.Client) *AuthenticateUserToClusterParams

NewAuthenticateUserToClusterParamsWithHTTPClient creates a new AuthenticateUserToClusterParams object with the ability to set a custom HTTPClient for a request.

func NewAuthenticateUserToClusterParamsWithTimeout added in v0.59.0

func NewAuthenticateUserToClusterParamsWithTimeout(timeout time.Duration) *AuthenticateUserToClusterParams

NewAuthenticateUserToClusterParamsWithTimeout creates a new AuthenticateUserToClusterParams object with the ability to set a timeout on a request.

func (*AuthenticateUserToClusterParams) SetBody added in v0.59.0

SetBody adds the body to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) SetClusterID added in v0.59.0

func (o *AuthenticateUserToClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) SetContext added in v0.59.0

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

SetContext adds the context to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) SetDefaults added in v0.59.0

func (o *AuthenticateUserToClusterParams) SetDefaults()

SetDefaults hydrates default values in the authenticate user to cluster params (not the query body).

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

func (*AuthenticateUserToClusterParams) SetHTTPClient added in v0.59.0

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

SetHTTPClient adds the HTTPClient to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) SetLocationOrganizationID added in v0.59.0

func (o *AuthenticateUserToClusterParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) SetLocationProjectID added in v0.59.0

func (o *AuthenticateUserToClusterParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) SetTimeout added in v0.59.0

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

SetTimeout adds the timeout to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) WithBody added in v0.59.0

WithBody adds the body to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) WithClusterID added in v0.59.0

WithClusterID adds the clusterID to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) WithContext added in v0.59.0

WithContext adds the context to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) WithDefaults added in v0.59.0

WithDefaults hydrates default values in the authenticate user to cluster params (not the query body).

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

func (*AuthenticateUserToClusterParams) WithHTTPClient added in v0.59.0

WithHTTPClient adds the HTTPClient to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) WithLocationOrganizationID added in v0.59.0

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

WithLocationOrganizationID adds the locationOrganizationID to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) WithLocationProjectID added in v0.59.0

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

WithLocationProjectID adds the locationProjectID to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) WithTimeout added in v0.59.0

WithTimeout adds the timeout to the authenticate user to cluster params

func (*AuthenticateUserToClusterParams) WriteToRequest added in v0.59.0

WriteToRequest writes these params to a swagger request

type AuthenticateUserToClusterParamsBodyLocation added in v0.59.0

type AuthenticateUserToClusterParamsBodyLocation 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"`
}

AuthenticateUserToClusterParamsBodyLocation Location represents a target for an operation in HCP. swagger:model AuthenticateUserToClusterParamsBodyLocation

func (*AuthenticateUserToClusterParamsBodyLocation) ContextValidate added in v0.59.0

ContextValidate validate this authenticate user to cluster params body location based on the context it is used

func (*AuthenticateUserToClusterParamsBodyLocation) MarshalBinary added in v0.59.0

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

MarshalBinary interface implementation

func (*AuthenticateUserToClusterParamsBodyLocation) UnmarshalBinary added in v0.59.0

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

UnmarshalBinary interface implementation

func (*AuthenticateUserToClusterParamsBodyLocation) Validate added in v0.59.0

Validate validates this authenticate user to cluster params body location

type AuthenticateUserToClusterReader added in v0.59.0

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

AuthenticateUserToClusterReader is a Reader for the AuthenticateUserToCluster structure.

func (*AuthenticateUserToClusterReader) ReadResponse added in v0.59.0

func (o *AuthenticateUserToClusterReader) 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 vault link service API

func (*Client) AuthenticateUserToCluster added in v0.59.0

func (a *Client) AuthenticateUserToCluster(params *AuthenticateUserToClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthenticateUserToClusterOK, error)

AuthenticateUserToCluster authenticate user to cluster API

func (*Client) EnableDR added in v0.59.0

func (a *Client) EnableDR(params *EnableDRParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableDROK, error)

EnableDR this is a p o c method and should not be used in production

func (*Client) GetLinkedCluster

func (a *Client) GetLinkedCluster(params *GetLinkedClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterOK, error)

GetLinkedCluster get linked cluster API

func (*Client) GetLinkedClusterPolicy

func (a *Client) GetLinkedClusterPolicy(params *GetLinkedClusterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterPolicyOK, error)

GetLinkedClusterPolicy get linked cluster policy API

func (*Client) GetVaultPolicies added in v0.59.0

func (a *Client) GetVaultPolicies(params *GetVaultPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultPoliciesOK, error)

GetVaultPolicies this is a p o c method and should not be used in production

func (*Client) InspectRouter added in v0.59.0

func (a *Client) InspectRouter(params *InspectRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InspectRouterOK, error)

InspectRouter this is a p o c method and should not be used in production

func (*Client) RevokeLinkedClusterCredentials

func (a *Client) RevokeLinkedClusterCredentials(params *RevokeLinkedClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeLinkedClusterCredentialsOK, error)

RevokeLinkedClusterCredentials revoke linked cluster credentials API

func (*Client) RotateLinkedClusterCredentials

func (a *Client) RotateLinkedClusterCredentials(params *RotateLinkedClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateLinkedClusterCredentialsOK, error)

RotateLinkedClusterCredentials rotate linked cluster credentials API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AuthenticateUserToCluster(params *AuthenticateUserToClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthenticateUserToClusterOK, error)

	EnableDR(params *EnableDRParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableDROK, error)

	GetLinkedCluster(params *GetLinkedClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterOK, error)

	GetLinkedClusterPolicy(params *GetLinkedClusterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterPolicyOK, error)

	GetVaultPolicies(params *GetVaultPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultPoliciesOK, error)

	InspectRouter(params *InspectRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InspectRouterOK, error)

	RevokeLinkedClusterCredentials(params *RevokeLinkedClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeLinkedClusterCredentialsOK, error)

	RotateLinkedClusterCredentials(params *RotateLinkedClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateLinkedClusterCredentialsOK, 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 vault link service API client.

type EnableDRBody added in v0.59.0

type EnableDRBody struct {

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

EnableDRBody enable d r body swagger:model EnableDRBody

func (*EnableDRBody) ContextValidate added in v0.59.0

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

ContextValidate validate this enable d r body based on the context it is used

func (*EnableDRBody) MarshalBinary added in v0.59.0

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

MarshalBinary interface implementation

func (*EnableDRBody) UnmarshalBinary added in v0.59.0

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

UnmarshalBinary interface implementation

func (*EnableDRBody) Validate added in v0.59.0

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

Validate validates this enable d r body

type EnableDRDefault added in v0.59.0

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

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

An unexpected error response.

func NewEnableDRDefault added in v0.59.0

func NewEnableDRDefault(code int) *EnableDRDefault

NewEnableDRDefault creates a EnableDRDefault with default headers values

func (*EnableDRDefault) Code added in v0.59.0

func (o *EnableDRDefault) Code() int

Code gets the status code for the enable d r default response

func (*EnableDRDefault) Error added in v0.59.0

func (o *EnableDRDefault) Error() string

func (*EnableDRDefault) GetPayload added in v0.59.0

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

func (*EnableDRDefault) IsClientError added in v0.59.0

func (o *EnableDRDefault) IsClientError() bool

IsClientError returns true when this enable d r default response has a 4xx status code

func (*EnableDRDefault) IsCode added in v0.59.0

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

IsCode returns true when this enable d r default response a status code equal to that given

func (*EnableDRDefault) IsRedirect added in v0.59.0

func (o *EnableDRDefault) IsRedirect() bool

IsRedirect returns true when this enable d r default response has a 3xx status code

func (*EnableDRDefault) IsServerError added in v0.59.0

func (o *EnableDRDefault) IsServerError() bool

IsServerError returns true when this enable d r default response has a 5xx status code

func (*EnableDRDefault) IsSuccess added in v0.59.0

func (o *EnableDRDefault) IsSuccess() bool

IsSuccess returns true when this enable d r default response has a 2xx status code

func (*EnableDRDefault) String added in v0.59.0

func (o *EnableDRDefault) String() string

type EnableDROK added in v0.59.0

type EnableDROK struct {
	Payload models.HashicorpCloudVaultLink20221107APIResponse
}

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

A successful response.

func NewEnableDROK added in v0.59.0

func NewEnableDROK() *EnableDROK

NewEnableDROK creates a EnableDROK with default headers values

func (*EnableDROK) Error added in v0.59.0

func (o *EnableDROK) Error() string

func (*EnableDROK) GetPayload added in v0.59.0

func (*EnableDROK) IsClientError added in v0.59.0

func (o *EnableDROK) IsClientError() bool

IsClientError returns true when this enable d r o k response has a 4xx status code

func (*EnableDROK) IsCode added in v0.59.0

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

IsCode returns true when this enable d r o k response a status code equal to that given

func (*EnableDROK) IsRedirect added in v0.59.0

func (o *EnableDROK) IsRedirect() bool

IsRedirect returns true when this enable d r o k response has a 3xx status code

func (*EnableDROK) IsServerError added in v0.59.0

func (o *EnableDROK) IsServerError() bool

IsServerError returns true when this enable d r o k response has a 5xx status code

func (*EnableDROK) IsSuccess added in v0.59.0

func (o *EnableDROK) IsSuccess() bool

IsSuccess returns true when this enable d r o k response has a 2xx status code

func (*EnableDROK) String added in v0.59.0

func (o *EnableDROK) String() string

type EnableDRParams added in v0.59.0

type EnableDRParams struct {

	// Body.
	Body EnableDRBody

	// ClusterID.
	ClusterID 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
}

EnableDRParams contains all the parameters to send to the API endpoint

for the enable d r operation.

Typically these are written to a http.Request.

func NewEnableDRParams added in v0.59.0

func NewEnableDRParams() *EnableDRParams

NewEnableDRParams creates a new EnableDRParams 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 NewEnableDRParamsWithContext added in v0.59.0

func NewEnableDRParamsWithContext(ctx context.Context) *EnableDRParams

NewEnableDRParamsWithContext creates a new EnableDRParams object with the ability to set a context for a request.

func NewEnableDRParamsWithHTTPClient added in v0.59.0

func NewEnableDRParamsWithHTTPClient(client *http.Client) *EnableDRParams

NewEnableDRParamsWithHTTPClient creates a new EnableDRParams object with the ability to set a custom HTTPClient for a request.

func NewEnableDRParamsWithTimeout added in v0.59.0

func NewEnableDRParamsWithTimeout(timeout time.Duration) *EnableDRParams

NewEnableDRParamsWithTimeout creates a new EnableDRParams object with the ability to set a timeout on a request.

func (*EnableDRParams) SetBody added in v0.59.0

func (o *EnableDRParams) SetBody(body EnableDRBody)

SetBody adds the body to the enable d r params

func (*EnableDRParams) SetClusterID added in v0.59.0

func (o *EnableDRParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the enable d r params

func (*EnableDRParams) SetContext added in v0.59.0

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

SetContext adds the context to the enable d r params

func (*EnableDRParams) SetDefaults added in v0.59.0

func (o *EnableDRParams) SetDefaults()

SetDefaults hydrates default values in the enable d r params (not the query body).

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

func (*EnableDRParams) SetHTTPClient added in v0.59.0

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

SetHTTPClient adds the HTTPClient to the enable d r params

func (*EnableDRParams) SetLocationOrganizationID added in v0.59.0

func (o *EnableDRParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the enable d r params

func (*EnableDRParams) SetLocationProjectID added in v0.59.0

func (o *EnableDRParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the enable d r params

func (*EnableDRParams) SetTimeout added in v0.59.0

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

SetTimeout adds the timeout to the enable d r params

func (*EnableDRParams) WithBody added in v0.59.0

func (o *EnableDRParams) WithBody(body EnableDRBody) *EnableDRParams

WithBody adds the body to the enable d r params

func (*EnableDRParams) WithClusterID added in v0.59.0

func (o *EnableDRParams) WithClusterID(clusterID string) *EnableDRParams

WithClusterID adds the clusterID to the enable d r params

func (*EnableDRParams) WithContext added in v0.59.0

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

WithContext adds the context to the enable d r params

func (*EnableDRParams) WithDefaults added in v0.59.0

func (o *EnableDRParams) WithDefaults() *EnableDRParams

WithDefaults hydrates default values in the enable d r params (not the query body).

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

func (*EnableDRParams) WithHTTPClient added in v0.59.0

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

WithHTTPClient adds the HTTPClient to the enable d r params

func (*EnableDRParams) WithLocationOrganizationID added in v0.59.0

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

WithLocationOrganizationID adds the locationOrganizationID to the enable d r params

func (*EnableDRParams) WithLocationProjectID added in v0.59.0

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

WithLocationProjectID adds the locationProjectID to the enable d r params

func (*EnableDRParams) WithTimeout added in v0.59.0

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

WithTimeout adds the timeout to the enable d r params

func (*EnableDRParams) WriteToRequest added in v0.59.0

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

WriteToRequest writes these params to a swagger request

type EnableDRParamsBodyLocation added in v0.59.0

type EnableDRParamsBodyLocation 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"`
}

EnableDRParamsBodyLocation Location represents a target for an operation in HCP. swagger:model EnableDRParamsBodyLocation

func (*EnableDRParamsBodyLocation) ContextValidate added in v0.59.0

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

ContextValidate validate this enable d r params body location based on the context it is used

func (*EnableDRParamsBodyLocation) MarshalBinary added in v0.59.0

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

MarshalBinary interface implementation

func (*EnableDRParamsBodyLocation) UnmarshalBinary added in v0.59.0

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

UnmarshalBinary interface implementation

func (*EnableDRParamsBodyLocation) Validate added in v0.59.0

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

Validate validates this enable d r params body location

type EnableDRReader added in v0.59.0

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

EnableDRReader is a Reader for the EnableDR structure.

func (*EnableDRReader) ReadResponse added in v0.59.0

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

ReadResponse reads a server response into the received o.

type GetLinkedClusterDefault

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

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

An unexpected error response.

func NewGetLinkedClusterDefault

func NewGetLinkedClusterDefault(code int) *GetLinkedClusterDefault

NewGetLinkedClusterDefault creates a GetLinkedClusterDefault with default headers values

func (*GetLinkedClusterDefault) Code

func (o *GetLinkedClusterDefault) Code() int

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

func (*GetLinkedClusterDefault) Error

func (o *GetLinkedClusterDefault) Error() string

func (*GetLinkedClusterDefault) GetPayload

func (*GetLinkedClusterDefault) IsClientError

func (o *GetLinkedClusterDefault) IsClientError() bool

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

func (*GetLinkedClusterDefault) IsCode

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

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

func (*GetLinkedClusterDefault) IsRedirect

func (o *GetLinkedClusterDefault) IsRedirect() bool

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

func (*GetLinkedClusterDefault) IsServerError

func (o *GetLinkedClusterDefault) IsServerError() bool

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

func (*GetLinkedClusterDefault) IsSuccess

func (o *GetLinkedClusterDefault) IsSuccess() bool

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

func (*GetLinkedClusterDefault) String

func (o *GetLinkedClusterDefault) String() string

type GetLinkedClusterOK

type GetLinkedClusterOK struct {
	Payload *models.HashicorpCloudVaultLink20221107GetLinkedClusterResponse
}

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

A successful response.

func NewGetLinkedClusterOK

func NewGetLinkedClusterOK() *GetLinkedClusterOK

NewGetLinkedClusterOK creates a GetLinkedClusterOK with default headers values

func (*GetLinkedClusterOK) Error

func (o *GetLinkedClusterOK) Error() string

func (*GetLinkedClusterOK) IsClientError

func (o *GetLinkedClusterOK) IsClientError() bool

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

func (*GetLinkedClusterOK) IsCode

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

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

func (*GetLinkedClusterOK) IsRedirect

func (o *GetLinkedClusterOK) IsRedirect() bool

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

func (*GetLinkedClusterOK) IsServerError

func (o *GetLinkedClusterOK) IsServerError() bool

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

func (*GetLinkedClusterOK) IsSuccess

func (o *GetLinkedClusterOK) IsSuccess() bool

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

func (*GetLinkedClusterOK) String

func (o *GetLinkedClusterOK) String() string

type GetLinkedClusterParams

type GetLinkedClusterParams struct {

	// ClusterID.
	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
}

GetLinkedClusterParams contains all the parameters to send to the API endpoint

for the get linked cluster operation.

Typically these are written to a http.Request.

func NewGetLinkedClusterParams

func NewGetLinkedClusterParams() *GetLinkedClusterParams

NewGetLinkedClusterParams creates a new GetLinkedClusterParams 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 NewGetLinkedClusterParamsWithContext

func NewGetLinkedClusterParamsWithContext(ctx context.Context) *GetLinkedClusterParams

NewGetLinkedClusterParamsWithContext creates a new GetLinkedClusterParams object with the ability to set a context for a request.

func NewGetLinkedClusterParamsWithHTTPClient

func NewGetLinkedClusterParamsWithHTTPClient(client *http.Client) *GetLinkedClusterParams

NewGetLinkedClusterParamsWithHTTPClient creates a new GetLinkedClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetLinkedClusterParamsWithTimeout

func NewGetLinkedClusterParamsWithTimeout(timeout time.Duration) *GetLinkedClusterParams

NewGetLinkedClusterParamsWithTimeout creates a new GetLinkedClusterParams object with the ability to set a timeout on a request.

func (*GetLinkedClusterParams) SetClusterID

func (o *GetLinkedClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get linked cluster params

func (*GetLinkedClusterParams) SetContext

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

SetContext adds the context to the get linked cluster params

func (*GetLinkedClusterParams) SetDefaults

func (o *GetLinkedClusterParams) SetDefaults()

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

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

func (*GetLinkedClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get linked cluster params

func (*GetLinkedClusterParams) SetLocationOrganizationID

func (o *GetLinkedClusterParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get linked cluster params

func (*GetLinkedClusterParams) SetLocationProjectID

func (o *GetLinkedClusterParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get linked cluster params

func (*GetLinkedClusterParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the get linked cluster params

func (*GetLinkedClusterParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the get linked cluster params

func (*GetLinkedClusterParams) SetTimeout

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

SetTimeout adds the timeout to the get linked cluster params

func (*GetLinkedClusterParams) WithClusterID

func (o *GetLinkedClusterParams) WithClusterID(clusterID string) *GetLinkedClusterParams

WithClusterID adds the clusterID to the get linked cluster params

func (*GetLinkedClusterParams) WithContext

WithContext adds the context to the get linked cluster params

func (*GetLinkedClusterParams) WithDefaults

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

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

func (*GetLinkedClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get linked cluster params

func (*GetLinkedClusterParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the get linked cluster params

func (*GetLinkedClusterParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the get linked cluster params

func (*GetLinkedClusterParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the get linked cluster params

func (*GetLinkedClusterParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the get linked cluster params

func (*GetLinkedClusterParams) WithTimeout

WithTimeout adds the timeout to the get linked cluster params

func (*GetLinkedClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLinkedClusterPolicyDefault

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

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

An unexpected error response.

func NewGetLinkedClusterPolicyDefault

func NewGetLinkedClusterPolicyDefault(code int) *GetLinkedClusterPolicyDefault

NewGetLinkedClusterPolicyDefault creates a GetLinkedClusterPolicyDefault with default headers values

func (*GetLinkedClusterPolicyDefault) Code

Code gets the status code for the get linked cluster policy default response

func (*GetLinkedClusterPolicyDefault) Error

func (*GetLinkedClusterPolicyDefault) GetPayload

func (*GetLinkedClusterPolicyDefault) IsClientError

func (o *GetLinkedClusterPolicyDefault) IsClientError() bool

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

func (*GetLinkedClusterPolicyDefault) IsCode

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

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

func (*GetLinkedClusterPolicyDefault) IsRedirect

func (o *GetLinkedClusterPolicyDefault) IsRedirect() bool

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

func (*GetLinkedClusterPolicyDefault) IsServerError

func (o *GetLinkedClusterPolicyDefault) IsServerError() bool

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

func (*GetLinkedClusterPolicyDefault) IsSuccess

func (o *GetLinkedClusterPolicyDefault) IsSuccess() bool

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

func (*GetLinkedClusterPolicyDefault) String

type GetLinkedClusterPolicyOK

type GetLinkedClusterPolicyOK struct {
	Payload *models.HashicorpCloudVaultLink20221107GetLinkedClusterPolicyResponse
}

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

A successful response.

func NewGetLinkedClusterPolicyOK

func NewGetLinkedClusterPolicyOK() *GetLinkedClusterPolicyOK

NewGetLinkedClusterPolicyOK creates a GetLinkedClusterPolicyOK with default headers values

func (*GetLinkedClusterPolicyOK) Error

func (o *GetLinkedClusterPolicyOK) Error() string

func (*GetLinkedClusterPolicyOK) IsClientError

func (o *GetLinkedClusterPolicyOK) IsClientError() bool

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

func (*GetLinkedClusterPolicyOK) IsCode

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

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

func (*GetLinkedClusterPolicyOK) IsRedirect

func (o *GetLinkedClusterPolicyOK) IsRedirect() bool

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

func (*GetLinkedClusterPolicyOK) IsServerError

func (o *GetLinkedClusterPolicyOK) IsServerError() bool

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

func (*GetLinkedClusterPolicyOK) IsSuccess

func (o *GetLinkedClusterPolicyOK) IsSuccess() bool

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

func (*GetLinkedClusterPolicyOK) String

func (o *GetLinkedClusterPolicyOK) String() string

type GetLinkedClusterPolicyParams

type GetLinkedClusterPolicyParams struct {

	// ClusterID.
	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
}

GetLinkedClusterPolicyParams contains all the parameters to send to the API endpoint

for the get linked cluster policy operation.

Typically these are written to a http.Request.

func NewGetLinkedClusterPolicyParams

func NewGetLinkedClusterPolicyParams() *GetLinkedClusterPolicyParams

NewGetLinkedClusterPolicyParams creates a new GetLinkedClusterPolicyParams 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 NewGetLinkedClusterPolicyParamsWithContext

func NewGetLinkedClusterPolicyParamsWithContext(ctx context.Context) *GetLinkedClusterPolicyParams

NewGetLinkedClusterPolicyParamsWithContext creates a new GetLinkedClusterPolicyParams object with the ability to set a context for a request.

func NewGetLinkedClusterPolicyParamsWithHTTPClient

func NewGetLinkedClusterPolicyParamsWithHTTPClient(client *http.Client) *GetLinkedClusterPolicyParams

NewGetLinkedClusterPolicyParamsWithHTTPClient creates a new GetLinkedClusterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetLinkedClusterPolicyParamsWithTimeout

func NewGetLinkedClusterPolicyParamsWithTimeout(timeout time.Duration) *GetLinkedClusterPolicyParams

NewGetLinkedClusterPolicyParamsWithTimeout creates a new GetLinkedClusterPolicyParams object with the ability to set a timeout on a request.

func (*GetLinkedClusterPolicyParams) SetClusterID

func (o *GetLinkedClusterPolicyParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) SetContext

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

SetContext adds the context to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) SetDefaults

func (o *GetLinkedClusterPolicyParams) SetDefaults()

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

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

func (*GetLinkedClusterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) SetLocationOrganizationID

func (o *GetLinkedClusterPolicyParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) SetLocationProjectID

func (o *GetLinkedClusterPolicyParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WithClusterID

WithClusterID adds the clusterID to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WithContext

WithContext adds the context to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WithDefaults

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

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

func (*GetLinkedClusterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WithTimeout

WithTimeout adds the timeout to the get linked cluster policy params

func (*GetLinkedClusterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLinkedClusterPolicyReader

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

GetLinkedClusterPolicyReader is a Reader for the GetLinkedClusterPolicy structure.

func (*GetLinkedClusterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLinkedClusterReader

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

GetLinkedClusterReader is a Reader for the GetLinkedCluster structure.

func (*GetLinkedClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVaultPoliciesDefault added in v0.59.0

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

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

An unexpected error response.

func NewGetVaultPoliciesDefault added in v0.59.0

func NewGetVaultPoliciesDefault(code int) *GetVaultPoliciesDefault

NewGetVaultPoliciesDefault creates a GetVaultPoliciesDefault with default headers values

func (*GetVaultPoliciesDefault) Code added in v0.59.0

func (o *GetVaultPoliciesDefault) Code() int

Code gets the status code for the get vault policies default response

func (*GetVaultPoliciesDefault) Error added in v0.59.0

func (o *GetVaultPoliciesDefault) Error() string

func (*GetVaultPoliciesDefault) GetPayload added in v0.59.0

func (*GetVaultPoliciesDefault) IsClientError added in v0.59.0

func (o *GetVaultPoliciesDefault) IsClientError() bool

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

func (*GetVaultPoliciesDefault) IsCode added in v0.59.0

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

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

func (*GetVaultPoliciesDefault) IsRedirect added in v0.59.0

func (o *GetVaultPoliciesDefault) IsRedirect() bool

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

func (*GetVaultPoliciesDefault) IsServerError added in v0.59.0

func (o *GetVaultPoliciesDefault) IsServerError() bool

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

func (*GetVaultPoliciesDefault) IsSuccess added in v0.59.0

func (o *GetVaultPoliciesDefault) IsSuccess() bool

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

func (*GetVaultPoliciesDefault) String added in v0.59.0

func (o *GetVaultPoliciesDefault) String() string

type GetVaultPoliciesOK added in v0.59.0

type GetVaultPoliciesOK struct {
	Payload *models.HashicorpCloudVaultLink20221107VaultPolicyResponse
}

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

A successful response.

func NewGetVaultPoliciesOK added in v0.59.0

func NewGetVaultPoliciesOK() *GetVaultPoliciesOK

NewGetVaultPoliciesOK creates a GetVaultPoliciesOK with default headers values

func (*GetVaultPoliciesOK) Error added in v0.59.0

func (o *GetVaultPoliciesOK) Error() string

func (*GetVaultPoliciesOK) GetPayload added in v0.59.0

func (*GetVaultPoliciesOK) IsClientError added in v0.59.0

func (o *GetVaultPoliciesOK) IsClientError() bool

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

func (*GetVaultPoliciesOK) IsCode added in v0.59.0

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

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

func (*GetVaultPoliciesOK) IsRedirect added in v0.59.0

func (o *GetVaultPoliciesOK) IsRedirect() bool

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

func (*GetVaultPoliciesOK) IsServerError added in v0.59.0

func (o *GetVaultPoliciesOK) IsServerError() bool

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

func (*GetVaultPoliciesOK) IsSuccess added in v0.59.0

func (o *GetVaultPoliciesOK) IsSuccess() bool

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

func (*GetVaultPoliciesOK) String added in v0.59.0

func (o *GetVaultPoliciesOK) String() string

type GetVaultPoliciesParams added in v0.59.0

type GetVaultPoliciesParams struct {

	// ClusterID.
	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
}

GetVaultPoliciesParams contains all the parameters to send to the API endpoint

for the get vault policies operation.

Typically these are written to a http.Request.

func NewGetVaultPoliciesParams added in v0.59.0

func NewGetVaultPoliciesParams() *GetVaultPoliciesParams

NewGetVaultPoliciesParams creates a new GetVaultPoliciesParams 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 NewGetVaultPoliciesParamsWithContext added in v0.59.0

func NewGetVaultPoliciesParamsWithContext(ctx context.Context) *GetVaultPoliciesParams

NewGetVaultPoliciesParamsWithContext creates a new GetVaultPoliciesParams object with the ability to set a context for a request.

func NewGetVaultPoliciesParamsWithHTTPClient added in v0.59.0

func NewGetVaultPoliciesParamsWithHTTPClient(client *http.Client) *GetVaultPoliciesParams

NewGetVaultPoliciesParamsWithHTTPClient creates a new GetVaultPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVaultPoliciesParamsWithTimeout added in v0.59.0

func NewGetVaultPoliciesParamsWithTimeout(timeout time.Duration) *GetVaultPoliciesParams

NewGetVaultPoliciesParamsWithTimeout creates a new GetVaultPoliciesParams object with the ability to set a timeout on a request.

func (*GetVaultPoliciesParams) SetClusterID added in v0.59.0

func (o *GetVaultPoliciesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get vault policies params

func (*GetVaultPoliciesParams) SetContext added in v0.59.0

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

SetContext adds the context to the get vault policies params

func (*GetVaultPoliciesParams) SetDefaults added in v0.59.0

func (o *GetVaultPoliciesParams) SetDefaults()

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

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

func (*GetVaultPoliciesParams) SetHTTPClient added in v0.59.0

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

SetHTTPClient adds the HTTPClient to the get vault policies params

func (*GetVaultPoliciesParams) SetLocationOrganizationID added in v0.59.0

func (o *GetVaultPoliciesParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the get vault policies params

func (*GetVaultPoliciesParams) SetLocationProjectID added in v0.59.0

func (o *GetVaultPoliciesParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get vault policies params

func (*GetVaultPoliciesParams) SetLocationRegionProvider added in v0.59.0

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

SetLocationRegionProvider adds the locationRegionProvider to the get vault policies params

func (*GetVaultPoliciesParams) SetLocationRegionRegion added in v0.59.0

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

SetLocationRegionRegion adds the locationRegionRegion to the get vault policies params

func (*GetVaultPoliciesParams) SetTimeout added in v0.59.0

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

SetTimeout adds the timeout to the get vault policies params

func (*GetVaultPoliciesParams) WithClusterID added in v0.59.0

func (o *GetVaultPoliciesParams) WithClusterID(clusterID string) *GetVaultPoliciesParams

WithClusterID adds the clusterID to the get vault policies params

func (*GetVaultPoliciesParams) WithContext added in v0.59.0

WithContext adds the context to the get vault policies params

func (*GetVaultPoliciesParams) WithDefaults added in v0.59.0

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

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

func (*GetVaultPoliciesParams) WithHTTPClient added in v0.59.0

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

WithHTTPClient adds the HTTPClient to the get vault policies params

func (*GetVaultPoliciesParams) WithLocationOrganizationID added in v0.59.0

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

WithLocationOrganizationID adds the locationOrganizationID to the get vault policies params

func (*GetVaultPoliciesParams) WithLocationProjectID added in v0.59.0

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

WithLocationProjectID adds the locationProjectID to the get vault policies params

func (*GetVaultPoliciesParams) WithLocationRegionProvider added in v0.59.0

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

WithLocationRegionProvider adds the locationRegionProvider to the get vault policies params

func (*GetVaultPoliciesParams) WithLocationRegionRegion added in v0.59.0

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

WithLocationRegionRegion adds the locationRegionRegion to the get vault policies params

func (*GetVaultPoliciesParams) WithTimeout added in v0.59.0

WithTimeout adds the timeout to the get vault policies params

func (*GetVaultPoliciesParams) WriteToRequest added in v0.59.0

WriteToRequest writes these params to a swagger request

type GetVaultPoliciesReader added in v0.59.0

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

GetVaultPoliciesReader is a Reader for the GetVaultPolicies structure.

func (*GetVaultPoliciesReader) ReadResponse added in v0.59.0

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

ReadResponse reads a server response into the received o.

type InspectRouterDefault added in v0.59.0

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

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

An unexpected error response.

func NewInspectRouterDefault added in v0.59.0

func NewInspectRouterDefault(code int) *InspectRouterDefault

NewInspectRouterDefault creates a InspectRouterDefault with default headers values

func (*InspectRouterDefault) Code added in v0.59.0

func (o *InspectRouterDefault) Code() int

Code gets the status code for the inspect router default response

func (*InspectRouterDefault) Error added in v0.59.0

func (o *InspectRouterDefault) Error() string

func (*InspectRouterDefault) GetPayload added in v0.59.0

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

func (*InspectRouterDefault) IsClientError added in v0.59.0

func (o *InspectRouterDefault) IsClientError() bool

IsClientError returns true when this inspect router default response has a 4xx status code

func (*InspectRouterDefault) IsCode added in v0.59.0

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

IsCode returns true when this inspect router default response a status code equal to that given

func (*InspectRouterDefault) IsRedirect added in v0.59.0

func (o *InspectRouterDefault) IsRedirect() bool

IsRedirect returns true when this inspect router default response has a 3xx status code

func (*InspectRouterDefault) IsServerError added in v0.59.0

func (o *InspectRouterDefault) IsServerError() bool

IsServerError returns true when this inspect router default response has a 5xx status code

func (*InspectRouterDefault) IsSuccess added in v0.59.0

func (o *InspectRouterDefault) IsSuccess() bool

IsSuccess returns true when this inspect router default response has a 2xx status code

func (*InspectRouterDefault) String added in v0.59.0

func (o *InspectRouterDefault) String() string

type InspectRouterOK added in v0.59.0

type InspectRouterOK struct {
	Payload *models.HashicorpCloudVaultLink20221107InspectRouterResponse
}

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

A successful response.

func NewInspectRouterOK added in v0.59.0

func NewInspectRouterOK() *InspectRouterOK

NewInspectRouterOK creates a InspectRouterOK with default headers values

func (*InspectRouterOK) Error added in v0.59.0

func (o *InspectRouterOK) Error() string

func (*InspectRouterOK) GetPayload added in v0.59.0

func (*InspectRouterOK) IsClientError added in v0.59.0

func (o *InspectRouterOK) IsClientError() bool

IsClientError returns true when this inspect router o k response has a 4xx status code

func (*InspectRouterOK) IsCode added in v0.59.0

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

IsCode returns true when this inspect router o k response a status code equal to that given

func (*InspectRouterOK) IsRedirect added in v0.59.0

func (o *InspectRouterOK) IsRedirect() bool

IsRedirect returns true when this inspect router o k response has a 3xx status code

func (*InspectRouterOK) IsServerError added in v0.59.0

func (o *InspectRouterOK) IsServerError() bool

IsServerError returns true when this inspect router o k response has a 5xx status code

func (*InspectRouterOK) IsSuccess added in v0.59.0

func (o *InspectRouterOK) IsSuccess() bool

IsSuccess returns true when this inspect router o k response has a 2xx status code

func (*InspectRouterOK) String added in v0.59.0

func (o *InspectRouterOK) String() string

type InspectRouterParams added in v0.59.0

type InspectRouterParams struct {

	// ClusterID.
	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
}

InspectRouterParams contains all the parameters to send to the API endpoint

for the inspect router operation.

Typically these are written to a http.Request.

func NewInspectRouterParams added in v0.59.0

func NewInspectRouterParams() *InspectRouterParams

NewInspectRouterParams creates a new InspectRouterParams 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 NewInspectRouterParamsWithContext added in v0.59.0

func NewInspectRouterParamsWithContext(ctx context.Context) *InspectRouterParams

NewInspectRouterParamsWithContext creates a new InspectRouterParams object with the ability to set a context for a request.

func NewInspectRouterParamsWithHTTPClient added in v0.59.0

func NewInspectRouterParamsWithHTTPClient(client *http.Client) *InspectRouterParams

NewInspectRouterParamsWithHTTPClient creates a new InspectRouterParams object with the ability to set a custom HTTPClient for a request.

func NewInspectRouterParamsWithTimeout added in v0.59.0

func NewInspectRouterParamsWithTimeout(timeout time.Duration) *InspectRouterParams

NewInspectRouterParamsWithTimeout creates a new InspectRouterParams object with the ability to set a timeout on a request.

func (*InspectRouterParams) SetClusterID added in v0.59.0

func (o *InspectRouterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the inspect router params

func (*InspectRouterParams) SetContext added in v0.59.0

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

SetContext adds the context to the inspect router params

func (*InspectRouterParams) SetDefaults added in v0.59.0

func (o *InspectRouterParams) SetDefaults()

SetDefaults hydrates default values in the inspect router params (not the query body).

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

func (*InspectRouterParams) SetHTTPClient added in v0.59.0

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

SetHTTPClient adds the HTTPClient to the inspect router params

func (*InspectRouterParams) SetLocationOrganizationID added in v0.59.0

func (o *InspectRouterParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the inspect router params

func (*InspectRouterParams) SetLocationProjectID added in v0.59.0

func (o *InspectRouterParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the inspect router params

func (*InspectRouterParams) SetLocationRegionProvider added in v0.59.0

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

SetLocationRegionProvider adds the locationRegionProvider to the inspect router params

func (*InspectRouterParams) SetLocationRegionRegion added in v0.59.0

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

SetLocationRegionRegion adds the locationRegionRegion to the inspect router params

func (*InspectRouterParams) SetTimeout added in v0.59.0

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

SetTimeout adds the timeout to the inspect router params

func (*InspectRouterParams) WithClusterID added in v0.59.0

func (o *InspectRouterParams) WithClusterID(clusterID string) *InspectRouterParams

WithClusterID adds the clusterID to the inspect router params

func (*InspectRouterParams) WithContext added in v0.59.0

WithContext adds the context to the inspect router params

func (*InspectRouterParams) WithDefaults added in v0.59.0

func (o *InspectRouterParams) WithDefaults() *InspectRouterParams

WithDefaults hydrates default values in the inspect router params (not the query body).

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

func (*InspectRouterParams) WithHTTPClient added in v0.59.0

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

WithHTTPClient adds the HTTPClient to the inspect router params

func (*InspectRouterParams) WithLocationOrganizationID added in v0.59.0

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

WithLocationOrganizationID adds the locationOrganizationID to the inspect router params

func (*InspectRouterParams) WithLocationProjectID added in v0.59.0

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

WithLocationProjectID adds the locationProjectID to the inspect router params

func (*InspectRouterParams) WithLocationRegionProvider added in v0.59.0

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

WithLocationRegionProvider adds the locationRegionProvider to the inspect router params

func (*InspectRouterParams) WithLocationRegionRegion added in v0.59.0

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

WithLocationRegionRegion adds the locationRegionRegion to the inspect router params

func (*InspectRouterParams) WithTimeout added in v0.59.0

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

WithTimeout adds the timeout to the inspect router params

func (*InspectRouterParams) WriteToRequest added in v0.59.0

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

WriteToRequest writes these params to a swagger request

type InspectRouterReader added in v0.59.0

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

InspectRouterReader is a Reader for the InspectRouter structure.

func (*InspectRouterReader) ReadResponse added in v0.59.0

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

ReadResponse reads a server response into the received o.

type RevokeLinkedClusterCredentialsDefault

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

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

An unexpected error response.

func NewRevokeLinkedClusterCredentialsDefault

func NewRevokeLinkedClusterCredentialsDefault(code int) *RevokeLinkedClusterCredentialsDefault

NewRevokeLinkedClusterCredentialsDefault creates a RevokeLinkedClusterCredentialsDefault with default headers values

func (*RevokeLinkedClusterCredentialsDefault) Code

Code gets the status code for the revoke linked cluster credentials default response

func (*RevokeLinkedClusterCredentialsDefault) Error

func (*RevokeLinkedClusterCredentialsDefault) GetPayload

func (*RevokeLinkedClusterCredentialsDefault) IsClientError

func (o *RevokeLinkedClusterCredentialsDefault) IsClientError() bool

IsClientError returns true when this revoke linked cluster credentials default response has a 4xx status code

func (*RevokeLinkedClusterCredentialsDefault) IsCode

IsCode returns true when this revoke linked cluster credentials default response a status code equal to that given

func (*RevokeLinkedClusterCredentialsDefault) IsRedirect

IsRedirect returns true when this revoke linked cluster credentials default response has a 3xx status code

func (*RevokeLinkedClusterCredentialsDefault) IsServerError

func (o *RevokeLinkedClusterCredentialsDefault) IsServerError() bool

IsServerError returns true when this revoke linked cluster credentials default response has a 5xx status code

func (*RevokeLinkedClusterCredentialsDefault) IsSuccess

IsSuccess returns true when this revoke linked cluster credentials default response has a 2xx status code

func (*RevokeLinkedClusterCredentialsDefault) String

type RevokeLinkedClusterCredentialsOK

type RevokeLinkedClusterCredentialsOK struct {
	Payload models.HashicorpCloudVaultLink20221107RevokeLinkedClusterCredentialsResponse
}

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

A successful response.

func NewRevokeLinkedClusterCredentialsOK

func NewRevokeLinkedClusterCredentialsOK() *RevokeLinkedClusterCredentialsOK

NewRevokeLinkedClusterCredentialsOK creates a RevokeLinkedClusterCredentialsOK with default headers values

func (*RevokeLinkedClusterCredentialsOK) Error

func (*RevokeLinkedClusterCredentialsOK) IsClientError

func (o *RevokeLinkedClusterCredentialsOK) IsClientError() bool

IsClientError returns true when this revoke linked cluster credentials o k response has a 4xx status code

func (*RevokeLinkedClusterCredentialsOK) IsCode

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

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

func (*RevokeLinkedClusterCredentialsOK) IsRedirect

func (o *RevokeLinkedClusterCredentialsOK) IsRedirect() bool

IsRedirect returns true when this revoke linked cluster credentials o k response has a 3xx status code

func (*RevokeLinkedClusterCredentialsOK) IsServerError

func (o *RevokeLinkedClusterCredentialsOK) IsServerError() bool

IsServerError returns true when this revoke linked cluster credentials o k response has a 5xx status code

func (*RevokeLinkedClusterCredentialsOK) IsSuccess

func (o *RevokeLinkedClusterCredentialsOK) IsSuccess() bool

IsSuccess returns true when this revoke linked cluster credentials o k response has a 2xx status code

func (*RevokeLinkedClusterCredentialsOK) String

type RevokeLinkedClusterCredentialsParams

type RevokeLinkedClusterCredentialsParams struct {

	// ClusterID.
	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
}

RevokeLinkedClusterCredentialsParams contains all the parameters to send to the API endpoint

for the revoke linked cluster credentials operation.

Typically these are written to a http.Request.

func NewRevokeLinkedClusterCredentialsParams

func NewRevokeLinkedClusterCredentialsParams() *RevokeLinkedClusterCredentialsParams

NewRevokeLinkedClusterCredentialsParams creates a new RevokeLinkedClusterCredentialsParams 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 NewRevokeLinkedClusterCredentialsParamsWithContext

func NewRevokeLinkedClusterCredentialsParamsWithContext(ctx context.Context) *RevokeLinkedClusterCredentialsParams

NewRevokeLinkedClusterCredentialsParamsWithContext creates a new RevokeLinkedClusterCredentialsParams object with the ability to set a context for a request.

func NewRevokeLinkedClusterCredentialsParamsWithHTTPClient

func NewRevokeLinkedClusterCredentialsParamsWithHTTPClient(client *http.Client) *RevokeLinkedClusterCredentialsParams

NewRevokeLinkedClusterCredentialsParamsWithHTTPClient creates a new RevokeLinkedClusterCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeLinkedClusterCredentialsParamsWithTimeout

func NewRevokeLinkedClusterCredentialsParamsWithTimeout(timeout time.Duration) *RevokeLinkedClusterCredentialsParams

NewRevokeLinkedClusterCredentialsParamsWithTimeout creates a new RevokeLinkedClusterCredentialsParams object with the ability to set a timeout on a request.

func (*RevokeLinkedClusterCredentialsParams) SetClusterID

func (o *RevokeLinkedClusterCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) SetContext

SetContext adds the context to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) SetDefaults

func (o *RevokeLinkedClusterCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the revoke linked cluster credentials params (not the query body).

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

func (*RevokeLinkedClusterCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) SetLocationOrganizationID

func (o *RevokeLinkedClusterCredentialsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) SetLocationProjectID

func (o *RevokeLinkedClusterCredentialsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WithContext

WithContext adds the context to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WithDefaults

WithDefaults hydrates default values in the revoke linked cluster credentials params (not the query body).

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

func (*RevokeLinkedClusterCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WithTimeout

WithTimeout adds the timeout to the revoke linked cluster credentials params

func (*RevokeLinkedClusterCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeLinkedClusterCredentialsReader

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

RevokeLinkedClusterCredentialsReader is a Reader for the RevokeLinkedClusterCredentials structure.

func (*RevokeLinkedClusterCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RotateLinkedClusterCredentialsDefault

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

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

An unexpected error response.

func NewRotateLinkedClusterCredentialsDefault

func NewRotateLinkedClusterCredentialsDefault(code int) *RotateLinkedClusterCredentialsDefault

NewRotateLinkedClusterCredentialsDefault creates a RotateLinkedClusterCredentialsDefault with default headers values

func (*RotateLinkedClusterCredentialsDefault) Code

Code gets the status code for the rotate linked cluster credentials default response

func (*RotateLinkedClusterCredentialsDefault) Error

func (*RotateLinkedClusterCredentialsDefault) GetPayload

func (*RotateLinkedClusterCredentialsDefault) IsClientError

func (o *RotateLinkedClusterCredentialsDefault) IsClientError() bool

IsClientError returns true when this rotate linked cluster credentials default response has a 4xx status code

func (*RotateLinkedClusterCredentialsDefault) IsCode

IsCode returns true when this rotate linked cluster credentials default response a status code equal to that given

func (*RotateLinkedClusterCredentialsDefault) IsRedirect

IsRedirect returns true when this rotate linked cluster credentials default response has a 3xx status code

func (*RotateLinkedClusterCredentialsDefault) IsServerError

func (o *RotateLinkedClusterCredentialsDefault) IsServerError() bool

IsServerError returns true when this rotate linked cluster credentials default response has a 5xx status code

func (*RotateLinkedClusterCredentialsDefault) IsSuccess

IsSuccess returns true when this rotate linked cluster credentials default response has a 2xx status code

func (*RotateLinkedClusterCredentialsDefault) String

type RotateLinkedClusterCredentialsOK

type RotateLinkedClusterCredentialsOK struct {
	Payload *models.HashicorpCloudVaultLink20221107RotateLinkedClusterCredentialsResponse
}

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

A successful response.

func NewRotateLinkedClusterCredentialsOK

func NewRotateLinkedClusterCredentialsOK() *RotateLinkedClusterCredentialsOK

NewRotateLinkedClusterCredentialsOK creates a RotateLinkedClusterCredentialsOK with default headers values

func (*RotateLinkedClusterCredentialsOK) Error

func (*RotateLinkedClusterCredentialsOK) IsClientError

func (o *RotateLinkedClusterCredentialsOK) IsClientError() bool

IsClientError returns true when this rotate linked cluster credentials o k response has a 4xx status code

func (*RotateLinkedClusterCredentialsOK) IsCode

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

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

func (*RotateLinkedClusterCredentialsOK) IsRedirect

func (o *RotateLinkedClusterCredentialsOK) IsRedirect() bool

IsRedirect returns true when this rotate linked cluster credentials o k response has a 3xx status code

func (*RotateLinkedClusterCredentialsOK) IsServerError

func (o *RotateLinkedClusterCredentialsOK) IsServerError() bool

IsServerError returns true when this rotate linked cluster credentials o k response has a 5xx status code

func (*RotateLinkedClusterCredentialsOK) IsSuccess

func (o *RotateLinkedClusterCredentialsOK) IsSuccess() bool

IsSuccess returns true when this rotate linked cluster credentials o k response has a 2xx status code

func (*RotateLinkedClusterCredentialsOK) String

type RotateLinkedClusterCredentialsParams

type RotateLinkedClusterCredentialsParams struct {

	// ClusterID.
	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
}

RotateLinkedClusterCredentialsParams contains all the parameters to send to the API endpoint

for the rotate linked cluster credentials operation.

Typically these are written to a http.Request.

func NewRotateLinkedClusterCredentialsParams

func NewRotateLinkedClusterCredentialsParams() *RotateLinkedClusterCredentialsParams

NewRotateLinkedClusterCredentialsParams creates a new RotateLinkedClusterCredentialsParams 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 NewRotateLinkedClusterCredentialsParamsWithContext

func NewRotateLinkedClusterCredentialsParamsWithContext(ctx context.Context) *RotateLinkedClusterCredentialsParams

NewRotateLinkedClusterCredentialsParamsWithContext creates a new RotateLinkedClusterCredentialsParams object with the ability to set a context for a request.

func NewRotateLinkedClusterCredentialsParamsWithHTTPClient

func NewRotateLinkedClusterCredentialsParamsWithHTTPClient(client *http.Client) *RotateLinkedClusterCredentialsParams

NewRotateLinkedClusterCredentialsParamsWithHTTPClient creates a new RotateLinkedClusterCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewRotateLinkedClusterCredentialsParamsWithTimeout

func NewRotateLinkedClusterCredentialsParamsWithTimeout(timeout time.Duration) *RotateLinkedClusterCredentialsParams

NewRotateLinkedClusterCredentialsParamsWithTimeout creates a new RotateLinkedClusterCredentialsParams object with the ability to set a timeout on a request.

func (*RotateLinkedClusterCredentialsParams) SetClusterID

func (o *RotateLinkedClusterCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) SetContext

SetContext adds the context to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) SetDefaults

func (o *RotateLinkedClusterCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the rotate linked cluster credentials params (not the query body).

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

func (*RotateLinkedClusterCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) SetLocationOrganizationID

func (o *RotateLinkedClusterCredentialsParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) SetLocationProjectID

func (o *RotateLinkedClusterCredentialsParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) SetLocationRegionProvider added in v0.59.0

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

SetLocationRegionProvider adds the locationRegionProvider to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) SetLocationRegionRegion added in v0.59.0

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

SetLocationRegionRegion adds the locationRegionRegion to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WithContext

WithContext adds the context to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WithDefaults

WithDefaults hydrates default values in the rotate linked cluster credentials params (not the query body).

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

func (*RotateLinkedClusterCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WithLocationRegionProvider added in v0.59.0

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

WithLocationRegionProvider adds the locationRegionProvider to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WithLocationRegionRegion added in v0.59.0

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

WithLocationRegionRegion adds the locationRegionRegion to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WithTimeout

WithTimeout adds the timeout to the rotate linked cluster credentials params

func (*RotateLinkedClusterCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RotateLinkedClusterCredentialsReader

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

RotateLinkedClusterCredentialsReader is a Reader for the RotateLinkedClusterCredentials structure.

func (*RotateLinkedClusterCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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