vault_link_service

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for vault link service API

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) 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 {
	GetLinkedCluster(params *GetLinkedClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterOK, error)

	GetLinkedClusterPolicy(params *GetLinkedClusterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterPolicyOK, 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 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 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

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