Documentation ¶
Index ¶
- type Client
- func (a *Client) GetLinkedCluster(params *GetLinkedClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLinkedClusterOK, error)
- func (a *Client) GetLinkedClusterPolicy(params *GetLinkedClusterPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLinkedClusterPolicyOK, error)
- func (a *Client) RevokeLinkedClusterCredentials(params *RevokeLinkedClusterCredentialsParams, ...) (*RevokeLinkedClusterCredentialsOK, error)
- func (a *Client) RotateLinkedClusterCredentials(params *RotateLinkedClusterCredentialsParams, ...) (*RotateLinkedClusterCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetLinkedClusterDefault
- func (o *GetLinkedClusterDefault) Code() int
- func (o *GetLinkedClusterDefault) Error() string
- func (o *GetLinkedClusterDefault) GetPayload() *models.RPCStatus
- func (o *GetLinkedClusterDefault) IsClientError() bool
- func (o *GetLinkedClusterDefault) IsCode(code int) bool
- func (o *GetLinkedClusterDefault) IsRedirect() bool
- func (o *GetLinkedClusterDefault) IsServerError() bool
- func (o *GetLinkedClusterDefault) IsSuccess() bool
- func (o *GetLinkedClusterDefault) String() string
- type GetLinkedClusterOK
- func (o *GetLinkedClusterOK) Error() string
- func (o *GetLinkedClusterOK) GetPayload() *models.VaultLink20221107GetLinkedClusterResponse
- func (o *GetLinkedClusterOK) IsClientError() bool
- func (o *GetLinkedClusterOK) IsCode(code int) bool
- func (o *GetLinkedClusterOK) IsRedirect() bool
- func (o *GetLinkedClusterOK) IsServerError() bool
- func (o *GetLinkedClusterOK) IsSuccess() bool
- func (o *GetLinkedClusterOK) String() string
- type GetLinkedClusterParams
- func NewGetLinkedClusterParams() *GetLinkedClusterParams
- func NewGetLinkedClusterParamsWithContext(ctx context.Context) *GetLinkedClusterParams
- func NewGetLinkedClusterParamsWithHTTPClient(client *http.Client) *GetLinkedClusterParams
- func NewGetLinkedClusterParamsWithTimeout(timeout time.Duration) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) SetClusterID(clusterID string)
- func (o *GetLinkedClusterParams) SetContext(ctx context.Context)
- func (o *GetLinkedClusterParams) SetDefaults()
- func (o *GetLinkedClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetLinkedClusterParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetLinkedClusterParams) SetLocationProjectID(locationProjectID string)
- func (o *GetLinkedClusterParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetLinkedClusterParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetLinkedClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetLinkedClusterParams) WithClusterID(clusterID string) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WithContext(ctx context.Context) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WithDefaults() *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WithHTTPClient(client *http.Client) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WithLocationOrganizationID(locationOrganizationID string) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WithLocationProjectID(locationProjectID string) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WithLocationRegionProvider(locationRegionProvider *string) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WithLocationRegionRegion(locationRegionRegion *string) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WithTimeout(timeout time.Duration) *GetLinkedClusterParams
- func (o *GetLinkedClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLinkedClusterPolicyDefault
- func (o *GetLinkedClusterPolicyDefault) Code() int
- func (o *GetLinkedClusterPolicyDefault) Error() string
- func (o *GetLinkedClusterPolicyDefault) GetPayload() *models.RPCStatus
- func (o *GetLinkedClusterPolicyDefault) IsClientError() bool
- func (o *GetLinkedClusterPolicyDefault) IsCode(code int) bool
- func (o *GetLinkedClusterPolicyDefault) IsRedirect() bool
- func (o *GetLinkedClusterPolicyDefault) IsServerError() bool
- func (o *GetLinkedClusterPolicyDefault) IsSuccess() bool
- func (o *GetLinkedClusterPolicyDefault) String() string
- type GetLinkedClusterPolicyOK
- func (o *GetLinkedClusterPolicyOK) Error() string
- func (o *GetLinkedClusterPolicyOK) GetPayload() *models.VaultLink20221107GetLinkedClusterPolicyResponse
- func (o *GetLinkedClusterPolicyOK) IsClientError() bool
- func (o *GetLinkedClusterPolicyOK) IsCode(code int) bool
- func (o *GetLinkedClusterPolicyOK) IsRedirect() bool
- func (o *GetLinkedClusterPolicyOK) IsServerError() bool
- func (o *GetLinkedClusterPolicyOK) IsSuccess() bool
- func (o *GetLinkedClusterPolicyOK) String() string
- type GetLinkedClusterPolicyParams
- func NewGetLinkedClusterPolicyParams() *GetLinkedClusterPolicyParams
- func NewGetLinkedClusterPolicyParamsWithContext(ctx context.Context) *GetLinkedClusterPolicyParams
- func NewGetLinkedClusterPolicyParamsWithHTTPClient(client *http.Client) *GetLinkedClusterPolicyParams
- func NewGetLinkedClusterPolicyParamsWithTimeout(timeout time.Duration) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) SetClusterID(clusterID *string)
- func (o *GetLinkedClusterPolicyParams) SetContext(ctx context.Context)
- func (o *GetLinkedClusterPolicyParams) SetDefaults()
- func (o *GetLinkedClusterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetLinkedClusterPolicyParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetLinkedClusterPolicyParams) SetLocationProjectID(locationProjectID string)
- func (o *GetLinkedClusterPolicyParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetLinkedClusterPolicyParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetLinkedClusterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetLinkedClusterPolicyParams) WithClusterID(clusterID *string) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WithContext(ctx context.Context) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WithDefaults() *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WithHTTPClient(client *http.Client) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WithLocationOrganizationID(locationOrganizationID string) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WithLocationProjectID(locationProjectID string) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WithLocationRegionProvider(locationRegionProvider *string) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WithLocationRegionRegion(locationRegionRegion *string) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WithTimeout(timeout time.Duration) *GetLinkedClusterPolicyParams
- func (o *GetLinkedClusterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLinkedClusterPolicyReader
- type GetLinkedClusterReader
- type RevokeLinkedClusterCredentialsDefault
- func (o *RevokeLinkedClusterCredentialsDefault) Code() int
- func (o *RevokeLinkedClusterCredentialsDefault) Error() string
- func (o *RevokeLinkedClusterCredentialsDefault) GetPayload() *models.RPCStatus
- func (o *RevokeLinkedClusterCredentialsDefault) IsClientError() bool
- func (o *RevokeLinkedClusterCredentialsDefault) IsCode(code int) bool
- func (o *RevokeLinkedClusterCredentialsDefault) IsRedirect() bool
- func (o *RevokeLinkedClusterCredentialsDefault) IsServerError() bool
- func (o *RevokeLinkedClusterCredentialsDefault) IsSuccess() bool
- func (o *RevokeLinkedClusterCredentialsDefault) String() string
- type RevokeLinkedClusterCredentialsOK
- func (o *RevokeLinkedClusterCredentialsOK) Error() string
- func (o *RevokeLinkedClusterCredentialsOK) GetPayload() models.VaultLink20221107RevokeLinkedClusterCredentialsResponse
- func (o *RevokeLinkedClusterCredentialsOK) IsClientError() bool
- func (o *RevokeLinkedClusterCredentialsOK) IsCode(code int) bool
- func (o *RevokeLinkedClusterCredentialsOK) IsRedirect() bool
- func (o *RevokeLinkedClusterCredentialsOK) IsServerError() bool
- func (o *RevokeLinkedClusterCredentialsOK) IsSuccess() bool
- func (o *RevokeLinkedClusterCredentialsOK) String() string
- type RevokeLinkedClusterCredentialsParams
- func NewRevokeLinkedClusterCredentialsParams() *RevokeLinkedClusterCredentialsParams
- func NewRevokeLinkedClusterCredentialsParamsWithContext(ctx context.Context) *RevokeLinkedClusterCredentialsParams
- func NewRevokeLinkedClusterCredentialsParamsWithHTTPClient(client *http.Client) *RevokeLinkedClusterCredentialsParams
- func NewRevokeLinkedClusterCredentialsParamsWithTimeout(timeout time.Duration) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) SetClusterID(clusterID string)
- func (o *RevokeLinkedClusterCredentialsParams) SetContext(ctx context.Context)
- func (o *RevokeLinkedClusterCredentialsParams) SetDefaults()
- func (o *RevokeLinkedClusterCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *RevokeLinkedClusterCredentialsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *RevokeLinkedClusterCredentialsParams) SetLocationProjectID(locationProjectID string)
- func (o *RevokeLinkedClusterCredentialsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *RevokeLinkedClusterCredentialsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *RevokeLinkedClusterCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *RevokeLinkedClusterCredentialsParams) WithClusterID(clusterID string) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WithContext(ctx context.Context) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WithDefaults() *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WithHTTPClient(client *http.Client) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WithLocationOrganizationID(locationOrganizationID string) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WithLocationProjectID(locationProjectID string) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WithLocationRegionProvider(locationRegionProvider *string) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WithLocationRegionRegion(locationRegionRegion *string) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WithTimeout(timeout time.Duration) *RevokeLinkedClusterCredentialsParams
- func (o *RevokeLinkedClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeLinkedClusterCredentialsReader
- type RotateLinkedClusterCredentialsDefault
- func (o *RotateLinkedClusterCredentialsDefault) Code() int
- func (o *RotateLinkedClusterCredentialsDefault) Error() string
- func (o *RotateLinkedClusterCredentialsDefault) GetPayload() *models.RPCStatus
- func (o *RotateLinkedClusterCredentialsDefault) IsClientError() bool
- func (o *RotateLinkedClusterCredentialsDefault) IsCode(code int) bool
- func (o *RotateLinkedClusterCredentialsDefault) IsRedirect() bool
- func (o *RotateLinkedClusterCredentialsDefault) IsServerError() bool
- func (o *RotateLinkedClusterCredentialsDefault) IsSuccess() bool
- func (o *RotateLinkedClusterCredentialsDefault) String() string
- type RotateLinkedClusterCredentialsOK
- func (o *RotateLinkedClusterCredentialsOK) Error() string
- func (o *RotateLinkedClusterCredentialsOK) GetPayload() *models.VaultLink20221107RotateLinkedClusterCredentialsResponse
- func (o *RotateLinkedClusterCredentialsOK) IsClientError() bool
- func (o *RotateLinkedClusterCredentialsOK) IsCode(code int) bool
- func (o *RotateLinkedClusterCredentialsOK) IsRedirect() bool
- func (o *RotateLinkedClusterCredentialsOK) IsServerError() bool
- func (o *RotateLinkedClusterCredentialsOK) IsSuccess() bool
- func (o *RotateLinkedClusterCredentialsOK) String() string
- type RotateLinkedClusterCredentialsParams
- func NewRotateLinkedClusterCredentialsParams() *RotateLinkedClusterCredentialsParams
- func NewRotateLinkedClusterCredentialsParamsWithContext(ctx context.Context) *RotateLinkedClusterCredentialsParams
- func NewRotateLinkedClusterCredentialsParamsWithHTTPClient(client *http.Client) *RotateLinkedClusterCredentialsParams
- func NewRotateLinkedClusterCredentialsParamsWithTimeout(timeout time.Duration) *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) SetClusterID(clusterID string)
- func (o *RotateLinkedClusterCredentialsParams) SetContext(ctx context.Context)
- func (o *RotateLinkedClusterCredentialsParams) SetDefaults()
- func (o *RotateLinkedClusterCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *RotateLinkedClusterCredentialsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *RotateLinkedClusterCredentialsParams) SetLocationProjectID(locationProjectID string)
- func (o *RotateLinkedClusterCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *RotateLinkedClusterCredentialsParams) WithClusterID(clusterID string) *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) WithContext(ctx context.Context) *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) WithDefaults() *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) WithHTTPClient(client *http.Client) *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) WithLocationOrganizationID(locationOrganizationID string) *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) WithLocationProjectID(locationProjectID string) *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) WithTimeout(timeout time.Duration) *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RotateLinkedClusterCredentialsReader
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 *models.RPCStatus // 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 (o *GetLinkedClusterDefault) GetPayload() *models.RPCStatus
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.VaultLink20221107GetLinkedClusterResponse
}
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) GetPayload ¶
func (o *GetLinkedClusterOK) GetPayload() *models.VaultLink20221107GetLinkedClusterResponse
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 ¶
func (o *GetLinkedClusterParams) WithContext(ctx context.Context) *GetLinkedClusterParams
WithContext adds the context to the get linked cluster params
func (*GetLinkedClusterParams) WithDefaults ¶
func (o *GetLinkedClusterParams) WithDefaults() *GetLinkedClusterParams
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 ¶
func (o *GetLinkedClusterParams) WithTimeout(timeout time.Duration) *GetLinkedClusterParams
WithTimeout adds the timeout to the get linked cluster params
func (*GetLinkedClusterParams) WriteToRequest ¶
func (o *GetLinkedClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLinkedClusterPolicyDefault ¶
type GetLinkedClusterPolicyDefault struct { Payload *models.RPCStatus // 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 ¶
func (o *GetLinkedClusterPolicyDefault) Code() int
Code gets the status code for the get linked cluster policy default response
func (*GetLinkedClusterPolicyDefault) Error ¶
func (o *GetLinkedClusterPolicyDefault) Error() string
func (*GetLinkedClusterPolicyDefault) GetPayload ¶
func (o *GetLinkedClusterPolicyDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *GetLinkedClusterPolicyDefault) String() string
type GetLinkedClusterPolicyOK ¶
type GetLinkedClusterPolicyOK struct {
Payload *models.VaultLink20221107GetLinkedClusterPolicyResponse
}
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) GetPayload ¶
func (o *GetLinkedClusterPolicyOK) GetPayload() *models.VaultLink20221107GetLinkedClusterPolicyResponse
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 ¶
func (o *GetLinkedClusterPolicyParams) WithClusterID(clusterID *string) *GetLinkedClusterPolicyParams
WithClusterID adds the clusterID to the get linked cluster policy params
func (*GetLinkedClusterPolicyParams) WithContext ¶
func (o *GetLinkedClusterPolicyParams) WithContext(ctx context.Context) *GetLinkedClusterPolicyParams
WithContext adds the context to the get linked cluster policy params
func (*GetLinkedClusterPolicyParams) WithDefaults ¶
func (o *GetLinkedClusterPolicyParams) WithDefaults() *GetLinkedClusterPolicyParams
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 ¶
func (o *GetLinkedClusterPolicyParams) WithHTTPClient(client *http.Client) *GetLinkedClusterPolicyParams
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 ¶
func (o *GetLinkedClusterPolicyParams) WithTimeout(timeout time.Duration) *GetLinkedClusterPolicyParams
WithTimeout adds the timeout to the get linked cluster policy params
func (*GetLinkedClusterPolicyParams) WriteToRequest ¶
func (o *GetLinkedClusterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 *models.RPCStatus // 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 ¶
func (o *RevokeLinkedClusterCredentialsDefault) Code() int
Code gets the status code for the revoke linked cluster credentials default response
func (*RevokeLinkedClusterCredentialsDefault) Error ¶
func (o *RevokeLinkedClusterCredentialsDefault) Error() string
func (*RevokeLinkedClusterCredentialsDefault) GetPayload ¶
func (o *RevokeLinkedClusterCredentialsDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RevokeLinkedClusterCredentialsDefault) IsCode(code int) bool
IsCode returns true when this revoke linked cluster credentials default response a status code equal to that given
func (*RevokeLinkedClusterCredentialsDefault) IsRedirect ¶
func (o *RevokeLinkedClusterCredentialsDefault) IsRedirect() bool
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 ¶
func (o *RevokeLinkedClusterCredentialsDefault) IsSuccess() bool
IsSuccess returns true when this revoke linked cluster credentials default response has a 2xx status code
func (*RevokeLinkedClusterCredentialsDefault) String ¶
func (o *RevokeLinkedClusterCredentialsDefault) String() string
type RevokeLinkedClusterCredentialsOK ¶
type RevokeLinkedClusterCredentialsOK struct {
Payload models.VaultLink20221107RevokeLinkedClusterCredentialsResponse
}
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 (o *RevokeLinkedClusterCredentialsOK) Error() string
func (*RevokeLinkedClusterCredentialsOK) GetPayload ¶
func (o *RevokeLinkedClusterCredentialsOK) GetPayload() models.VaultLink20221107RevokeLinkedClusterCredentialsResponse
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 ¶
func (o *RevokeLinkedClusterCredentialsOK) String() 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 ¶
func (o *RevokeLinkedClusterCredentialsParams) SetContext(ctx context.Context)
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 ¶
func (o *RevokeLinkedClusterCredentialsParams) WithClusterID(clusterID string) *RevokeLinkedClusterCredentialsParams
WithClusterID adds the clusterID to the revoke linked cluster credentials params
func (*RevokeLinkedClusterCredentialsParams) WithContext ¶
func (o *RevokeLinkedClusterCredentialsParams) WithContext(ctx context.Context) *RevokeLinkedClusterCredentialsParams
WithContext adds the context to the revoke linked cluster credentials params
func (*RevokeLinkedClusterCredentialsParams) WithDefaults ¶
func (o *RevokeLinkedClusterCredentialsParams) WithDefaults() *RevokeLinkedClusterCredentialsParams
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 ¶
func (o *RevokeLinkedClusterCredentialsParams) WithHTTPClient(client *http.Client) *RevokeLinkedClusterCredentialsParams
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 ¶
func (o *RevokeLinkedClusterCredentialsParams) WithTimeout(timeout time.Duration) *RevokeLinkedClusterCredentialsParams
WithTimeout adds the timeout to the revoke linked cluster credentials params
func (*RevokeLinkedClusterCredentialsParams) WriteToRequest ¶
func (o *RevokeLinkedClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 *models.RPCStatus // 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 ¶
func (o *RotateLinkedClusterCredentialsDefault) Code() int
Code gets the status code for the rotate linked cluster credentials default response
func (*RotateLinkedClusterCredentialsDefault) Error ¶
func (o *RotateLinkedClusterCredentialsDefault) Error() string
func (*RotateLinkedClusterCredentialsDefault) GetPayload ¶
func (o *RotateLinkedClusterCredentialsDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *RotateLinkedClusterCredentialsDefault) IsCode(code int) bool
IsCode returns true when this rotate linked cluster credentials default response a status code equal to that given
func (*RotateLinkedClusterCredentialsDefault) IsRedirect ¶
func (o *RotateLinkedClusterCredentialsDefault) IsRedirect() bool
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 ¶
func (o *RotateLinkedClusterCredentialsDefault) IsSuccess() bool
IsSuccess returns true when this rotate linked cluster credentials default response has a 2xx status code
func (*RotateLinkedClusterCredentialsDefault) String ¶
func (o *RotateLinkedClusterCredentialsDefault) String() string
type RotateLinkedClusterCredentialsOK ¶
type RotateLinkedClusterCredentialsOK struct {
Payload *models.VaultLink20221107RotateLinkedClusterCredentialsResponse
}
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 (o *RotateLinkedClusterCredentialsOK) Error() string
func (*RotateLinkedClusterCredentialsOK) GetPayload ¶
func (o *RotateLinkedClusterCredentialsOK) GetPayload() *models.VaultLink20221107RotateLinkedClusterCredentialsResponse
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 ¶
func (o *RotateLinkedClusterCredentialsOK) String() 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 ¶
func (o *RotateLinkedClusterCredentialsParams) SetContext(ctx context.Context)
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 ¶
func (o *RotateLinkedClusterCredentialsParams) WithClusterID(clusterID string) *RotateLinkedClusterCredentialsParams
WithClusterID adds the clusterID to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) WithContext ¶
func (o *RotateLinkedClusterCredentialsParams) WithContext(ctx context.Context) *RotateLinkedClusterCredentialsParams
WithContext adds the context to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) WithDefaults ¶
func (o *RotateLinkedClusterCredentialsParams) WithDefaults() *RotateLinkedClusterCredentialsParams
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 ¶
func (o *RotateLinkedClusterCredentialsParams) WithHTTPClient(client *http.Client) *RotateLinkedClusterCredentialsParams
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 ¶
func (o *RotateLinkedClusterCredentialsParams) WithTimeout(timeout time.Duration) *RotateLinkedClusterCredentialsParams
WithTimeout adds the timeout to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) WriteToRequest ¶
func (o *RotateLinkedClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- get_linked_cluster_parameters.go
- get_linked_cluster_policy_parameters.go
- get_linked_cluster_policy_responses.go
- get_linked_cluster_responses.go
- revoke_linked_cluster_credentials_parameters.go
- revoke_linked_cluster_credentials_responses.go
- rotate_linked_cluster_credentials_parameters.go
- rotate_linked_cluster_credentials_responses.go
- vault_link_service_client.go