Documentation ¶
Index ¶
- type AuthenticateUserToClusterBody
- func (o *AuthenticateUserToClusterBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AuthenticateUserToClusterBody) MarshalBinary() ([]byte, error)
- func (o *AuthenticateUserToClusterBody) UnmarshalBinary(b []byte) error
- func (o *AuthenticateUserToClusterBody) Validate(formats strfmt.Registry) error
- type AuthenticateUserToClusterDefault
- func (o *AuthenticateUserToClusterDefault) Code() int
- func (o *AuthenticateUserToClusterDefault) Error() string
- func (o *AuthenticateUserToClusterDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *AuthenticateUserToClusterDefault) IsClientError() bool
- func (o *AuthenticateUserToClusterDefault) IsCode(code int) bool
- func (o *AuthenticateUserToClusterDefault) IsRedirect() bool
- func (o *AuthenticateUserToClusterDefault) IsServerError() bool
- func (o *AuthenticateUserToClusterDefault) IsSuccess() bool
- func (o *AuthenticateUserToClusterDefault) String() string
- type AuthenticateUserToClusterOK
- func (o *AuthenticateUserToClusterOK) Error() string
- func (o *AuthenticateUserToClusterOK) GetPayload() *models.HashicorpCloudVaultLink20221107AuthenticateUserResponse
- func (o *AuthenticateUserToClusterOK) IsClientError() bool
- func (o *AuthenticateUserToClusterOK) IsCode(code int) bool
- func (o *AuthenticateUserToClusterOK) IsRedirect() bool
- func (o *AuthenticateUserToClusterOK) IsServerError() bool
- func (o *AuthenticateUserToClusterOK) IsSuccess() bool
- func (o *AuthenticateUserToClusterOK) String() string
- type AuthenticateUserToClusterParams
- func NewAuthenticateUserToClusterParams() *AuthenticateUserToClusterParams
- func NewAuthenticateUserToClusterParamsWithContext(ctx context.Context) *AuthenticateUserToClusterParams
- func NewAuthenticateUserToClusterParamsWithHTTPClient(client *http.Client) *AuthenticateUserToClusterParams
- func NewAuthenticateUserToClusterParamsWithTimeout(timeout time.Duration) *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) SetBody(body AuthenticateUserToClusterBody)
- func (o *AuthenticateUserToClusterParams) SetClusterID(clusterID string)
- func (o *AuthenticateUserToClusterParams) SetContext(ctx context.Context)
- func (o *AuthenticateUserToClusterParams) SetDefaults()
- func (o *AuthenticateUserToClusterParams) SetHTTPClient(client *http.Client)
- func (o *AuthenticateUserToClusterParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *AuthenticateUserToClusterParams) SetLocationProjectID(locationProjectID string)
- func (o *AuthenticateUserToClusterParams) SetTimeout(timeout time.Duration)
- func (o *AuthenticateUserToClusterParams) WithBody(body AuthenticateUserToClusterBody) *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) WithClusterID(clusterID string) *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) WithContext(ctx context.Context) *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) WithDefaults() *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) WithHTTPClient(client *http.Client) *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) WithLocationOrganizationID(locationOrganizationID string) *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) WithLocationProjectID(locationProjectID string) *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) WithTimeout(timeout time.Duration) *AuthenticateUserToClusterParams
- func (o *AuthenticateUserToClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthenticateUserToClusterParamsBodyLocation
- func (o *AuthenticateUserToClusterParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AuthenticateUserToClusterParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *AuthenticateUserToClusterParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *AuthenticateUserToClusterParamsBodyLocation) Validate(formats strfmt.Registry) error
- type AuthenticateUserToClusterReader
- type Client
- func (a *Client) AuthenticateUserToCluster(params *AuthenticateUserToClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthenticateUserToClusterOK, error)
- func (a *Client) EnableDR(params *EnableDRParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnableDROK, error)
- 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) GetVaultPolicies(params *GetVaultPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetVaultPoliciesOK, error)
- func (a *Client) InspectRouter(params *InspectRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*InspectRouterOK, 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 EnableDRBody
- type EnableDRDefault
- func (o *EnableDRDefault) Code() int
- func (o *EnableDRDefault) Error() string
- func (o *EnableDRDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *EnableDRDefault) IsClientError() bool
- func (o *EnableDRDefault) IsCode(code int) bool
- func (o *EnableDRDefault) IsRedirect() bool
- func (o *EnableDRDefault) IsServerError() bool
- func (o *EnableDRDefault) IsSuccess() bool
- func (o *EnableDRDefault) String() string
- type EnableDROK
- func (o *EnableDROK) Error() string
- func (o *EnableDROK) GetPayload() models.HashicorpCloudVaultLink20221107APIResponse
- func (o *EnableDROK) IsClientError() bool
- func (o *EnableDROK) IsCode(code int) bool
- func (o *EnableDROK) IsRedirect() bool
- func (o *EnableDROK) IsServerError() bool
- func (o *EnableDROK) IsSuccess() bool
- func (o *EnableDROK) String() string
- type EnableDRParams
- func (o *EnableDRParams) SetBody(body EnableDRBody)
- func (o *EnableDRParams) SetClusterID(clusterID string)
- func (o *EnableDRParams) SetContext(ctx context.Context)
- func (o *EnableDRParams) SetDefaults()
- func (o *EnableDRParams) SetHTTPClient(client *http.Client)
- func (o *EnableDRParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *EnableDRParams) SetLocationProjectID(locationProjectID string)
- func (o *EnableDRParams) SetTimeout(timeout time.Duration)
- func (o *EnableDRParams) WithBody(body EnableDRBody) *EnableDRParams
- func (o *EnableDRParams) WithClusterID(clusterID string) *EnableDRParams
- func (o *EnableDRParams) WithContext(ctx context.Context) *EnableDRParams
- func (o *EnableDRParams) WithDefaults() *EnableDRParams
- func (o *EnableDRParams) WithHTTPClient(client *http.Client) *EnableDRParams
- func (o *EnableDRParams) WithLocationOrganizationID(locationOrganizationID string) *EnableDRParams
- func (o *EnableDRParams) WithLocationProjectID(locationProjectID string) *EnableDRParams
- func (o *EnableDRParams) WithTimeout(timeout time.Duration) *EnableDRParams
- func (o *EnableDRParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableDRParamsBodyLocation
- func (o *EnableDRParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *EnableDRParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *EnableDRParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *EnableDRParamsBodyLocation) Validate(formats strfmt.Registry) error
- type EnableDRReader
- type GetLinkedClusterDefault
- func (o *GetLinkedClusterDefault) Code() int
- func (o *GetLinkedClusterDefault) Error() string
- func (o *GetLinkedClusterDefault) GetPayload() *cloud.GoogleRPCStatus
- 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.HashicorpCloudVaultLink20221107GetLinkedClusterResponse
- 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() *cloud.GoogleRPCStatus
- 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.HashicorpCloudVaultLink20221107GetLinkedClusterPolicyResponse
- 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 GetVaultPoliciesDefault
- func (o *GetVaultPoliciesDefault) Code() int
- func (o *GetVaultPoliciesDefault) Error() string
- func (o *GetVaultPoliciesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GetVaultPoliciesDefault) IsClientError() bool
- func (o *GetVaultPoliciesDefault) IsCode(code int) bool
- func (o *GetVaultPoliciesDefault) IsRedirect() bool
- func (o *GetVaultPoliciesDefault) IsServerError() bool
- func (o *GetVaultPoliciesDefault) IsSuccess() bool
- func (o *GetVaultPoliciesDefault) String() string
- type GetVaultPoliciesOK
- func (o *GetVaultPoliciesOK) Error() string
- func (o *GetVaultPoliciesOK) GetPayload() *models.HashicorpCloudVaultLink20221107VaultPolicyResponse
- func (o *GetVaultPoliciesOK) IsClientError() bool
- func (o *GetVaultPoliciesOK) IsCode(code int) bool
- func (o *GetVaultPoliciesOK) IsRedirect() bool
- func (o *GetVaultPoliciesOK) IsServerError() bool
- func (o *GetVaultPoliciesOK) IsSuccess() bool
- func (o *GetVaultPoliciesOK) String() string
- type GetVaultPoliciesParams
- func NewGetVaultPoliciesParams() *GetVaultPoliciesParams
- func NewGetVaultPoliciesParamsWithContext(ctx context.Context) *GetVaultPoliciesParams
- func NewGetVaultPoliciesParamsWithHTTPClient(client *http.Client) *GetVaultPoliciesParams
- func NewGetVaultPoliciesParamsWithTimeout(timeout time.Duration) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) SetClusterID(clusterID string)
- func (o *GetVaultPoliciesParams) SetContext(ctx context.Context)
- func (o *GetVaultPoliciesParams) SetDefaults()
- func (o *GetVaultPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetVaultPoliciesParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetVaultPoliciesParams) SetLocationProjectID(locationProjectID string)
- func (o *GetVaultPoliciesParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetVaultPoliciesParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetVaultPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetVaultPoliciesParams) WithClusterID(clusterID string) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WithContext(ctx context.Context) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WithDefaults() *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WithHTTPClient(client *http.Client) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WithLocationOrganizationID(locationOrganizationID string) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WithLocationProjectID(locationProjectID string) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WithLocationRegionProvider(locationRegionProvider *string) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WithLocationRegionRegion(locationRegionRegion *string) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WithTimeout(timeout time.Duration) *GetVaultPoliciesParams
- func (o *GetVaultPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVaultPoliciesReader
- type InspectRouterDefault
- func (o *InspectRouterDefault) Code() int
- func (o *InspectRouterDefault) Error() string
- func (o *InspectRouterDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *InspectRouterDefault) IsClientError() bool
- func (o *InspectRouterDefault) IsCode(code int) bool
- func (o *InspectRouterDefault) IsRedirect() bool
- func (o *InspectRouterDefault) IsServerError() bool
- func (o *InspectRouterDefault) IsSuccess() bool
- func (o *InspectRouterDefault) String() string
- type InspectRouterOK
- func (o *InspectRouterOK) Error() string
- func (o *InspectRouterOK) GetPayload() *models.HashicorpCloudVaultLink20221107InspectRouterResponse
- func (o *InspectRouterOK) IsClientError() bool
- func (o *InspectRouterOK) IsCode(code int) bool
- func (o *InspectRouterOK) IsRedirect() bool
- func (o *InspectRouterOK) IsServerError() bool
- func (o *InspectRouterOK) IsSuccess() bool
- func (o *InspectRouterOK) String() string
- type InspectRouterParams
- func (o *InspectRouterParams) SetClusterID(clusterID string)
- func (o *InspectRouterParams) SetContext(ctx context.Context)
- func (o *InspectRouterParams) SetDefaults()
- func (o *InspectRouterParams) SetHTTPClient(client *http.Client)
- func (o *InspectRouterParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *InspectRouterParams) SetLocationProjectID(locationProjectID string)
- func (o *InspectRouterParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *InspectRouterParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *InspectRouterParams) SetTimeout(timeout time.Duration)
- func (o *InspectRouterParams) WithClusterID(clusterID string) *InspectRouterParams
- func (o *InspectRouterParams) WithContext(ctx context.Context) *InspectRouterParams
- func (o *InspectRouterParams) WithDefaults() *InspectRouterParams
- func (o *InspectRouterParams) WithHTTPClient(client *http.Client) *InspectRouterParams
- func (o *InspectRouterParams) WithLocationOrganizationID(locationOrganizationID string) *InspectRouterParams
- func (o *InspectRouterParams) WithLocationProjectID(locationProjectID string) *InspectRouterParams
- func (o *InspectRouterParams) WithLocationRegionProvider(locationRegionProvider *string) *InspectRouterParams
- func (o *InspectRouterParams) WithLocationRegionRegion(locationRegionRegion *string) *InspectRouterParams
- func (o *InspectRouterParams) WithTimeout(timeout time.Duration) *InspectRouterParams
- func (o *InspectRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InspectRouterReader
- type RevokeLinkedClusterCredentialsDefault
- func (o *RevokeLinkedClusterCredentialsDefault) Code() int
- func (o *RevokeLinkedClusterCredentialsDefault) Error() string
- func (o *RevokeLinkedClusterCredentialsDefault) GetPayload() *cloud.GoogleRPCStatus
- 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.HashicorpCloudVaultLink20221107RevokeLinkedClusterCredentialsResponse
- 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() *cloud.GoogleRPCStatus
- 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.HashicorpCloudVaultLink20221107RotateLinkedClusterCredentialsResponse
- 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) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *RotateLinkedClusterCredentialsParams) SetLocationRegionRegion(locationRegionRegion *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) WithLocationRegionProvider(locationRegionProvider *string) *RotateLinkedClusterCredentialsParams
- func (o *RotateLinkedClusterCredentialsParams) WithLocationRegionRegion(locationRegionRegion *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 AuthenticateUserToClusterBody ¶ added in v0.59.0
type AuthenticateUserToClusterBody struct { // auth type AuthType *models.HashicorpCloudVaultLink20221107AuthenticateUserRequestAuthType `json:"auth_type,omitempty"` // For LDAP/USERPASS this credential is a password. For TOKEN, this is a token. Credential string `json:"credential,omitempty"` // location Location *AuthenticateUserToClusterParamsBodyLocation `json:"location,omitempty"` // Path where the auth mount is located MountPath string `json:"mount_path,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // Username is used for LDAP/USERPASS Username string `json:"username,omitempty"` }
AuthenticateUserToClusterBody authenticate user to cluster body swagger:model AuthenticateUserToClusterBody
func (*AuthenticateUserToClusterBody) ContextValidate ¶ added in v0.59.0
func (o *AuthenticateUserToClusterBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this authenticate user to cluster body based on the context it is used
func (*AuthenticateUserToClusterBody) MarshalBinary ¶ added in v0.59.0
func (o *AuthenticateUserToClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthenticateUserToClusterBody) UnmarshalBinary ¶ added in v0.59.0
func (o *AuthenticateUserToClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthenticateUserToClusterDefault ¶ added in v0.59.0
type AuthenticateUserToClusterDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
AuthenticateUserToClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAuthenticateUserToClusterDefault ¶ added in v0.59.0
func NewAuthenticateUserToClusterDefault(code int) *AuthenticateUserToClusterDefault
NewAuthenticateUserToClusterDefault creates a AuthenticateUserToClusterDefault with default headers values
func (*AuthenticateUserToClusterDefault) Code ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) Code() int
Code gets the status code for the authenticate user to cluster default response
func (*AuthenticateUserToClusterDefault) Error ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) Error() string
func (*AuthenticateUserToClusterDefault) GetPayload ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) GetPayload() *cloud.GoogleRPCStatus
func (*AuthenticateUserToClusterDefault) IsClientError ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) IsClientError() bool
IsClientError returns true when this authenticate user to cluster default response has a 4xx status code
func (*AuthenticateUserToClusterDefault) IsCode ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) IsCode(code int) bool
IsCode returns true when this authenticate user to cluster default response a status code equal to that given
func (*AuthenticateUserToClusterDefault) IsRedirect ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) IsRedirect() bool
IsRedirect returns true when this authenticate user to cluster default response has a 3xx status code
func (*AuthenticateUserToClusterDefault) IsServerError ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) IsServerError() bool
IsServerError returns true when this authenticate user to cluster default response has a 5xx status code
func (*AuthenticateUserToClusterDefault) IsSuccess ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) IsSuccess() bool
IsSuccess returns true when this authenticate user to cluster default response has a 2xx status code
func (*AuthenticateUserToClusterDefault) String ¶ added in v0.59.0
func (o *AuthenticateUserToClusterDefault) String() string
type AuthenticateUserToClusterOK ¶ added in v0.59.0
type AuthenticateUserToClusterOK struct {
Payload *models.HashicorpCloudVaultLink20221107AuthenticateUserResponse
}
AuthenticateUserToClusterOK describes a response with status code 200, with default header values.
A successful response.
func NewAuthenticateUserToClusterOK ¶ added in v0.59.0
func NewAuthenticateUserToClusterOK() *AuthenticateUserToClusterOK
NewAuthenticateUserToClusterOK creates a AuthenticateUserToClusterOK with default headers values
func (*AuthenticateUserToClusterOK) Error ¶ added in v0.59.0
func (o *AuthenticateUserToClusterOK) Error() string
func (*AuthenticateUserToClusterOK) GetPayload ¶ added in v0.59.0
func (o *AuthenticateUserToClusterOK) GetPayload() *models.HashicorpCloudVaultLink20221107AuthenticateUserResponse
func (*AuthenticateUserToClusterOK) IsClientError ¶ added in v0.59.0
func (o *AuthenticateUserToClusterOK) IsClientError() bool
IsClientError returns true when this authenticate user to cluster o k response has a 4xx status code
func (*AuthenticateUserToClusterOK) IsCode ¶ added in v0.59.0
func (o *AuthenticateUserToClusterOK) IsCode(code int) bool
IsCode returns true when this authenticate user to cluster o k response a status code equal to that given
func (*AuthenticateUserToClusterOK) IsRedirect ¶ added in v0.59.0
func (o *AuthenticateUserToClusterOK) IsRedirect() bool
IsRedirect returns true when this authenticate user to cluster o k response has a 3xx status code
func (*AuthenticateUserToClusterOK) IsServerError ¶ added in v0.59.0
func (o *AuthenticateUserToClusterOK) IsServerError() bool
IsServerError returns true when this authenticate user to cluster o k response has a 5xx status code
func (*AuthenticateUserToClusterOK) IsSuccess ¶ added in v0.59.0
func (o *AuthenticateUserToClusterOK) IsSuccess() bool
IsSuccess returns true when this authenticate user to cluster o k response has a 2xx status code
func (*AuthenticateUserToClusterOK) String ¶ added in v0.59.0
func (o *AuthenticateUserToClusterOK) String() string
type AuthenticateUserToClusterParams ¶ added in v0.59.0
type AuthenticateUserToClusterParams struct { // Body. Body AuthenticateUserToClusterBody // ClusterID. ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthenticateUserToClusterParams contains all the parameters to send to the API endpoint
for the authenticate user to cluster operation. Typically these are written to a http.Request.
func NewAuthenticateUserToClusterParams ¶ added in v0.59.0
func NewAuthenticateUserToClusterParams() *AuthenticateUserToClusterParams
NewAuthenticateUserToClusterParams creates a new AuthenticateUserToClusterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAuthenticateUserToClusterParamsWithContext ¶ added in v0.59.0
func NewAuthenticateUserToClusterParamsWithContext(ctx context.Context) *AuthenticateUserToClusterParams
NewAuthenticateUserToClusterParamsWithContext creates a new AuthenticateUserToClusterParams object with the ability to set a context for a request.
func NewAuthenticateUserToClusterParamsWithHTTPClient ¶ added in v0.59.0
func NewAuthenticateUserToClusterParamsWithHTTPClient(client *http.Client) *AuthenticateUserToClusterParams
NewAuthenticateUserToClusterParamsWithHTTPClient creates a new AuthenticateUserToClusterParams object with the ability to set a custom HTTPClient for a request.
func NewAuthenticateUserToClusterParamsWithTimeout ¶ added in v0.59.0
func NewAuthenticateUserToClusterParamsWithTimeout(timeout time.Duration) *AuthenticateUserToClusterParams
NewAuthenticateUserToClusterParamsWithTimeout creates a new AuthenticateUserToClusterParams object with the ability to set a timeout on a request.
func (*AuthenticateUserToClusterParams) SetBody ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) SetBody(body AuthenticateUserToClusterBody)
SetBody adds the body to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) SetClusterID ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) SetContext ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) SetDefaults ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) SetDefaults()
SetDefaults hydrates default values in the authenticate user to cluster params (not the query body).
All values with no default are reset to their zero value.
func (*AuthenticateUserToClusterParams) SetHTTPClient ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) SetLocationOrganizationID ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) SetLocationProjectID ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) SetTimeout ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) WithBody ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WithBody(body AuthenticateUserToClusterBody) *AuthenticateUserToClusterParams
WithBody adds the body to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) WithClusterID ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WithClusterID(clusterID string) *AuthenticateUserToClusterParams
WithClusterID adds the clusterID to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) WithContext ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WithContext(ctx context.Context) *AuthenticateUserToClusterParams
WithContext adds the context to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) WithDefaults ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WithDefaults() *AuthenticateUserToClusterParams
WithDefaults hydrates default values in the authenticate user to cluster params (not the query body).
All values with no default are reset to their zero value.
func (*AuthenticateUserToClusterParams) WithHTTPClient ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WithHTTPClient(client *http.Client) *AuthenticateUserToClusterParams
WithHTTPClient adds the HTTPClient to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) WithLocationOrganizationID ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WithLocationOrganizationID(locationOrganizationID string) *AuthenticateUserToClusterParams
WithLocationOrganizationID adds the locationOrganizationID to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) WithLocationProjectID ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WithLocationProjectID(locationProjectID string) *AuthenticateUserToClusterParams
WithLocationProjectID adds the locationProjectID to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) WithTimeout ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WithTimeout(timeout time.Duration) *AuthenticateUserToClusterParams
WithTimeout adds the timeout to the authenticate user to cluster params
func (*AuthenticateUserToClusterParams) WriteToRequest ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthenticateUserToClusterParamsBodyLocation ¶ added in v0.59.0
type AuthenticateUserToClusterParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
AuthenticateUserToClusterParamsBodyLocation Location represents a target for an operation in HCP. swagger:model AuthenticateUserToClusterParamsBodyLocation
func (*AuthenticateUserToClusterParamsBodyLocation) ContextValidate ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this authenticate user to cluster params body location based on the context it is used
func (*AuthenticateUserToClusterParamsBodyLocation) MarshalBinary ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthenticateUserToClusterParamsBodyLocation) UnmarshalBinary ¶ added in v0.59.0
func (o *AuthenticateUserToClusterParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthenticateUserToClusterReader ¶ added in v0.59.0
type AuthenticateUserToClusterReader struct {
// contains filtered or unexported fields
}
AuthenticateUserToClusterReader is a Reader for the AuthenticateUserToCluster structure.
func (*AuthenticateUserToClusterReader) ReadResponse ¶ added in v0.59.0
func (o *AuthenticateUserToClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for vault link service API
func (*Client) AuthenticateUserToCluster ¶ added in v0.59.0
func (a *Client) AuthenticateUserToCluster(params *AuthenticateUserToClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthenticateUserToClusterOK, error)
AuthenticateUserToCluster authenticate user to cluster API
func (*Client) EnableDR ¶ added in v0.59.0
func (a *Client) EnableDR(params *EnableDRParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableDROK, error)
EnableDR this is a p o c method and should not be used in production
func (*Client) GetLinkedCluster ¶
func (a *Client) GetLinkedCluster(params *GetLinkedClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterOK, error)
GetLinkedCluster get linked cluster API
func (*Client) GetLinkedClusterPolicy ¶
func (a *Client) GetLinkedClusterPolicy(params *GetLinkedClusterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterPolicyOK, error)
GetLinkedClusterPolicy get linked cluster policy API
func (*Client) GetVaultPolicies ¶ added in v0.59.0
func (a *Client) GetVaultPolicies(params *GetVaultPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultPoliciesOK, error)
GetVaultPolicies this is a p o c method and should not be used in production
func (*Client) InspectRouter ¶ added in v0.59.0
func (a *Client) InspectRouter(params *InspectRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InspectRouterOK, error)
InspectRouter this is a p o c method and should not be used in production
func (*Client) RevokeLinkedClusterCredentials ¶
func (a *Client) RevokeLinkedClusterCredentials(params *RevokeLinkedClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeLinkedClusterCredentialsOK, error)
RevokeLinkedClusterCredentials revoke linked cluster credentials API
func (*Client) RotateLinkedClusterCredentials ¶
func (a *Client) RotateLinkedClusterCredentials(params *RotateLinkedClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateLinkedClusterCredentialsOK, error)
RotateLinkedClusterCredentials rotate linked cluster credentials API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AuthenticateUserToCluster(params *AuthenticateUserToClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthenticateUserToClusterOK, error) EnableDR(params *EnableDRParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableDROK, error) GetLinkedCluster(params *GetLinkedClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterOK, error) GetLinkedClusterPolicy(params *GetLinkedClusterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLinkedClusterPolicyOK, error) GetVaultPolicies(params *GetVaultPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVaultPoliciesOK, error) InspectRouter(params *InspectRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InspectRouterOK, error) RevokeLinkedClusterCredentials(params *RevokeLinkedClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeLinkedClusterCredentialsOK, error) RotateLinkedClusterCredentials(params *RotateLinkedClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateLinkedClusterCredentialsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new vault link service API client.
type EnableDRBody ¶ added in v0.59.0
type EnableDRBody struct { // location Location *EnableDRParamsBodyLocation `json:"location,omitempty"` }
EnableDRBody enable d r body swagger:model EnableDRBody
func (*EnableDRBody) ContextValidate ¶ added in v0.59.0
ContextValidate validate this enable d r body based on the context it is used
func (*EnableDRBody) MarshalBinary ¶ added in v0.59.0
func (o *EnableDRBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnableDRBody) UnmarshalBinary ¶ added in v0.59.0
func (o *EnableDRBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnableDRDefault ¶ added in v0.59.0
type EnableDRDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
EnableDRDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewEnableDRDefault ¶ added in v0.59.0
func NewEnableDRDefault(code int) *EnableDRDefault
NewEnableDRDefault creates a EnableDRDefault with default headers values
func (*EnableDRDefault) Code ¶ added in v0.59.0
func (o *EnableDRDefault) Code() int
Code gets the status code for the enable d r default response
func (*EnableDRDefault) Error ¶ added in v0.59.0
func (o *EnableDRDefault) Error() string
func (*EnableDRDefault) GetPayload ¶ added in v0.59.0
func (o *EnableDRDefault) GetPayload() *cloud.GoogleRPCStatus
func (*EnableDRDefault) IsClientError ¶ added in v0.59.0
func (o *EnableDRDefault) IsClientError() bool
IsClientError returns true when this enable d r default response has a 4xx status code
func (*EnableDRDefault) IsCode ¶ added in v0.59.0
func (o *EnableDRDefault) IsCode(code int) bool
IsCode returns true when this enable d r default response a status code equal to that given
func (*EnableDRDefault) IsRedirect ¶ added in v0.59.0
func (o *EnableDRDefault) IsRedirect() bool
IsRedirect returns true when this enable d r default response has a 3xx status code
func (*EnableDRDefault) IsServerError ¶ added in v0.59.0
func (o *EnableDRDefault) IsServerError() bool
IsServerError returns true when this enable d r default response has a 5xx status code
func (*EnableDRDefault) IsSuccess ¶ added in v0.59.0
func (o *EnableDRDefault) IsSuccess() bool
IsSuccess returns true when this enable d r default response has a 2xx status code
func (*EnableDRDefault) String ¶ added in v0.59.0
func (o *EnableDRDefault) String() string
type EnableDROK ¶ added in v0.59.0
type EnableDROK struct {
Payload models.HashicorpCloudVaultLink20221107APIResponse
}
EnableDROK describes a response with status code 200, with default header values.
A successful response.
func NewEnableDROK ¶ added in v0.59.0
func NewEnableDROK() *EnableDROK
NewEnableDROK creates a EnableDROK with default headers values
func (*EnableDROK) Error ¶ added in v0.59.0
func (o *EnableDROK) Error() string
func (*EnableDROK) GetPayload ¶ added in v0.59.0
func (o *EnableDROK) GetPayload() models.HashicorpCloudVaultLink20221107APIResponse
func (*EnableDROK) IsClientError ¶ added in v0.59.0
func (o *EnableDROK) IsClientError() bool
IsClientError returns true when this enable d r o k response has a 4xx status code
func (*EnableDROK) IsCode ¶ added in v0.59.0
func (o *EnableDROK) IsCode(code int) bool
IsCode returns true when this enable d r o k response a status code equal to that given
func (*EnableDROK) IsRedirect ¶ added in v0.59.0
func (o *EnableDROK) IsRedirect() bool
IsRedirect returns true when this enable d r o k response has a 3xx status code
func (*EnableDROK) IsServerError ¶ added in v0.59.0
func (o *EnableDROK) IsServerError() bool
IsServerError returns true when this enable d r o k response has a 5xx status code
func (*EnableDROK) IsSuccess ¶ added in v0.59.0
func (o *EnableDROK) IsSuccess() bool
IsSuccess returns true when this enable d r o k response has a 2xx status code
func (*EnableDROK) String ¶ added in v0.59.0
func (o *EnableDROK) String() string
type EnableDRParams ¶ added in v0.59.0
type EnableDRParams struct { // Body. Body EnableDRBody // ClusterID. ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnableDRParams contains all the parameters to send to the API endpoint
for the enable d r operation. Typically these are written to a http.Request.
func NewEnableDRParams ¶ added in v0.59.0
func NewEnableDRParams() *EnableDRParams
NewEnableDRParams creates a new EnableDRParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnableDRParamsWithContext ¶ added in v0.59.0
func NewEnableDRParamsWithContext(ctx context.Context) *EnableDRParams
NewEnableDRParamsWithContext creates a new EnableDRParams object with the ability to set a context for a request.
func NewEnableDRParamsWithHTTPClient ¶ added in v0.59.0
func NewEnableDRParamsWithHTTPClient(client *http.Client) *EnableDRParams
NewEnableDRParamsWithHTTPClient creates a new EnableDRParams object with the ability to set a custom HTTPClient for a request.
func NewEnableDRParamsWithTimeout ¶ added in v0.59.0
func NewEnableDRParamsWithTimeout(timeout time.Duration) *EnableDRParams
NewEnableDRParamsWithTimeout creates a new EnableDRParams object with the ability to set a timeout on a request.
func (*EnableDRParams) SetBody ¶ added in v0.59.0
func (o *EnableDRParams) SetBody(body EnableDRBody)
SetBody adds the body to the enable d r params
func (*EnableDRParams) SetClusterID ¶ added in v0.59.0
func (o *EnableDRParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the enable d r params
func (*EnableDRParams) SetContext ¶ added in v0.59.0
func (o *EnableDRParams) SetContext(ctx context.Context)
SetContext adds the context to the enable d r params
func (*EnableDRParams) SetDefaults ¶ added in v0.59.0
func (o *EnableDRParams) SetDefaults()
SetDefaults hydrates default values in the enable d r params (not the query body).
All values with no default are reset to their zero value.
func (*EnableDRParams) SetHTTPClient ¶ added in v0.59.0
func (o *EnableDRParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable d r params
func (*EnableDRParams) SetLocationOrganizationID ¶ added in v0.59.0
func (o *EnableDRParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the enable d r params
func (*EnableDRParams) SetLocationProjectID ¶ added in v0.59.0
func (o *EnableDRParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the enable d r params
func (*EnableDRParams) SetTimeout ¶ added in v0.59.0
func (o *EnableDRParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable d r params
func (*EnableDRParams) WithBody ¶ added in v0.59.0
func (o *EnableDRParams) WithBody(body EnableDRBody) *EnableDRParams
WithBody adds the body to the enable d r params
func (*EnableDRParams) WithClusterID ¶ added in v0.59.0
func (o *EnableDRParams) WithClusterID(clusterID string) *EnableDRParams
WithClusterID adds the clusterID to the enable d r params
func (*EnableDRParams) WithContext ¶ added in v0.59.0
func (o *EnableDRParams) WithContext(ctx context.Context) *EnableDRParams
WithContext adds the context to the enable d r params
func (*EnableDRParams) WithDefaults ¶ added in v0.59.0
func (o *EnableDRParams) WithDefaults() *EnableDRParams
WithDefaults hydrates default values in the enable d r params (not the query body).
All values with no default are reset to their zero value.
func (*EnableDRParams) WithHTTPClient ¶ added in v0.59.0
func (o *EnableDRParams) WithHTTPClient(client *http.Client) *EnableDRParams
WithHTTPClient adds the HTTPClient to the enable d r params
func (*EnableDRParams) WithLocationOrganizationID ¶ added in v0.59.0
func (o *EnableDRParams) WithLocationOrganizationID(locationOrganizationID string) *EnableDRParams
WithLocationOrganizationID adds the locationOrganizationID to the enable d r params
func (*EnableDRParams) WithLocationProjectID ¶ added in v0.59.0
func (o *EnableDRParams) WithLocationProjectID(locationProjectID string) *EnableDRParams
WithLocationProjectID adds the locationProjectID to the enable d r params
func (*EnableDRParams) WithTimeout ¶ added in v0.59.0
func (o *EnableDRParams) WithTimeout(timeout time.Duration) *EnableDRParams
WithTimeout adds the timeout to the enable d r params
func (*EnableDRParams) WriteToRequest ¶ added in v0.59.0
func (o *EnableDRParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnableDRParamsBodyLocation ¶ added in v0.59.0
type EnableDRParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
EnableDRParamsBodyLocation Location represents a target for an operation in HCP. swagger:model EnableDRParamsBodyLocation
func (*EnableDRParamsBodyLocation) ContextValidate ¶ added in v0.59.0
func (o *EnableDRParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this enable d r params body location based on the context it is used
func (*EnableDRParamsBodyLocation) MarshalBinary ¶ added in v0.59.0
func (o *EnableDRParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnableDRParamsBodyLocation) UnmarshalBinary ¶ added in v0.59.0
func (o *EnableDRParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnableDRReader ¶ added in v0.59.0
type EnableDRReader struct {
// contains filtered or unexported fields
}
EnableDRReader is a Reader for the EnableDR structure.
func (*EnableDRReader) ReadResponse ¶ added in v0.59.0
func (o *EnableDRReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLinkedClusterDefault ¶
type GetLinkedClusterDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetLinkedClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetLinkedClusterDefault ¶
func NewGetLinkedClusterDefault(code int) *GetLinkedClusterDefault
NewGetLinkedClusterDefault creates a GetLinkedClusterDefault with default headers values
func (*GetLinkedClusterDefault) Code ¶
func (o *GetLinkedClusterDefault) Code() int
Code gets the status code for the get linked cluster default response
func (*GetLinkedClusterDefault) Error ¶
func (o *GetLinkedClusterDefault) Error() string
func (*GetLinkedClusterDefault) GetPayload ¶
func (o *GetLinkedClusterDefault) GetPayload() *cloud.GoogleRPCStatus
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) GetPayload ¶
func (o *GetLinkedClusterOK) GetPayload() *models.HashicorpCloudVaultLink20221107GetLinkedClusterResponse
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 *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 ¶
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() *cloud.GoogleRPCStatus
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.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) GetPayload ¶
func (o *GetLinkedClusterPolicyOK) GetPayload() *models.HashicorpCloudVaultLink20221107GetLinkedClusterPolicyResponse
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 GetVaultPoliciesDefault ¶ added in v0.59.0
type GetVaultPoliciesDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetVaultPoliciesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetVaultPoliciesDefault ¶ added in v0.59.0
func NewGetVaultPoliciesDefault(code int) *GetVaultPoliciesDefault
NewGetVaultPoliciesDefault creates a GetVaultPoliciesDefault with default headers values
func (*GetVaultPoliciesDefault) Code ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) Code() int
Code gets the status code for the get vault policies default response
func (*GetVaultPoliciesDefault) Error ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) Error() string
func (*GetVaultPoliciesDefault) GetPayload ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetVaultPoliciesDefault) IsClientError ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) IsClientError() bool
IsClientError returns true when this get vault policies default response has a 4xx status code
func (*GetVaultPoliciesDefault) IsCode ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) IsCode(code int) bool
IsCode returns true when this get vault policies default response a status code equal to that given
func (*GetVaultPoliciesDefault) IsRedirect ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) IsRedirect() bool
IsRedirect returns true when this get vault policies default response has a 3xx status code
func (*GetVaultPoliciesDefault) IsServerError ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) IsServerError() bool
IsServerError returns true when this get vault policies default response has a 5xx status code
func (*GetVaultPoliciesDefault) IsSuccess ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) IsSuccess() bool
IsSuccess returns true when this get vault policies default response has a 2xx status code
func (*GetVaultPoliciesDefault) String ¶ added in v0.59.0
func (o *GetVaultPoliciesDefault) String() string
type GetVaultPoliciesOK ¶ added in v0.59.0
type GetVaultPoliciesOK struct {
Payload *models.HashicorpCloudVaultLink20221107VaultPolicyResponse
}
GetVaultPoliciesOK describes a response with status code 200, with default header values.
A successful response.
func NewGetVaultPoliciesOK ¶ added in v0.59.0
func NewGetVaultPoliciesOK() *GetVaultPoliciesOK
NewGetVaultPoliciesOK creates a GetVaultPoliciesOK with default headers values
func (*GetVaultPoliciesOK) Error ¶ added in v0.59.0
func (o *GetVaultPoliciesOK) Error() string
func (*GetVaultPoliciesOK) GetPayload ¶ added in v0.59.0
func (o *GetVaultPoliciesOK) GetPayload() *models.HashicorpCloudVaultLink20221107VaultPolicyResponse
func (*GetVaultPoliciesOK) IsClientError ¶ added in v0.59.0
func (o *GetVaultPoliciesOK) IsClientError() bool
IsClientError returns true when this get vault policies o k response has a 4xx status code
func (*GetVaultPoliciesOK) IsCode ¶ added in v0.59.0
func (o *GetVaultPoliciesOK) IsCode(code int) bool
IsCode returns true when this get vault policies o k response a status code equal to that given
func (*GetVaultPoliciesOK) IsRedirect ¶ added in v0.59.0
func (o *GetVaultPoliciesOK) IsRedirect() bool
IsRedirect returns true when this get vault policies o k response has a 3xx status code
func (*GetVaultPoliciesOK) IsServerError ¶ added in v0.59.0
func (o *GetVaultPoliciesOK) IsServerError() bool
IsServerError returns true when this get vault policies o k response has a 5xx status code
func (*GetVaultPoliciesOK) IsSuccess ¶ added in v0.59.0
func (o *GetVaultPoliciesOK) IsSuccess() bool
IsSuccess returns true when this get vault policies o k response has a 2xx status code
func (*GetVaultPoliciesOK) String ¶ added in v0.59.0
func (o *GetVaultPoliciesOK) String() string
type GetVaultPoliciesParams ¶ added in v0.59.0
type GetVaultPoliciesParams struct { // ClusterID. ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVaultPoliciesParams contains all the parameters to send to the API endpoint
for the get vault policies operation. Typically these are written to a http.Request.
func NewGetVaultPoliciesParams ¶ added in v0.59.0
func NewGetVaultPoliciesParams() *GetVaultPoliciesParams
NewGetVaultPoliciesParams creates a new GetVaultPoliciesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVaultPoliciesParamsWithContext ¶ added in v0.59.0
func NewGetVaultPoliciesParamsWithContext(ctx context.Context) *GetVaultPoliciesParams
NewGetVaultPoliciesParamsWithContext creates a new GetVaultPoliciesParams object with the ability to set a context for a request.
func NewGetVaultPoliciesParamsWithHTTPClient ¶ added in v0.59.0
func NewGetVaultPoliciesParamsWithHTTPClient(client *http.Client) *GetVaultPoliciesParams
NewGetVaultPoliciesParamsWithHTTPClient creates a new GetVaultPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewGetVaultPoliciesParamsWithTimeout ¶ added in v0.59.0
func NewGetVaultPoliciesParamsWithTimeout(timeout time.Duration) *GetVaultPoliciesParams
NewGetVaultPoliciesParamsWithTimeout creates a new GetVaultPoliciesParams object with the ability to set a timeout on a request.
func (*GetVaultPoliciesParams) SetClusterID ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get vault policies params
func (*GetVaultPoliciesParams) SetContext ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get vault policies params
func (*GetVaultPoliciesParams) SetDefaults ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the get vault policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetVaultPoliciesParams) SetHTTPClient ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vault policies params
func (*GetVaultPoliciesParams) SetLocationOrganizationID ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the get vault policies params
func (*GetVaultPoliciesParams) SetLocationProjectID ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the get vault policies params
func (*GetVaultPoliciesParams) SetLocationRegionProvider ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the get vault policies params
func (*GetVaultPoliciesParams) SetLocationRegionRegion ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the get vault policies params
func (*GetVaultPoliciesParams) SetTimeout ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vault policies params
func (*GetVaultPoliciesParams) WithClusterID ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithClusterID(clusterID string) *GetVaultPoliciesParams
WithClusterID adds the clusterID to the get vault policies params
func (*GetVaultPoliciesParams) WithContext ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithContext(ctx context.Context) *GetVaultPoliciesParams
WithContext adds the context to the get vault policies params
func (*GetVaultPoliciesParams) WithDefaults ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithDefaults() *GetVaultPoliciesParams
WithDefaults hydrates default values in the get vault policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetVaultPoliciesParams) WithHTTPClient ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithHTTPClient(client *http.Client) *GetVaultPoliciesParams
WithHTTPClient adds the HTTPClient to the get vault policies params
func (*GetVaultPoliciesParams) WithLocationOrganizationID ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithLocationOrganizationID(locationOrganizationID string) *GetVaultPoliciesParams
WithLocationOrganizationID adds the locationOrganizationID to the get vault policies params
func (*GetVaultPoliciesParams) WithLocationProjectID ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithLocationProjectID(locationProjectID string) *GetVaultPoliciesParams
WithLocationProjectID adds the locationProjectID to the get vault policies params
func (*GetVaultPoliciesParams) WithLocationRegionProvider ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithLocationRegionProvider(locationRegionProvider *string) *GetVaultPoliciesParams
WithLocationRegionProvider adds the locationRegionProvider to the get vault policies params
func (*GetVaultPoliciesParams) WithLocationRegionRegion ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithLocationRegionRegion(locationRegionRegion *string) *GetVaultPoliciesParams
WithLocationRegionRegion adds the locationRegionRegion to the get vault policies params
func (*GetVaultPoliciesParams) WithTimeout ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WithTimeout(timeout time.Duration) *GetVaultPoliciesParams
WithTimeout adds the timeout to the get vault policies params
func (*GetVaultPoliciesParams) WriteToRequest ¶ added in v0.59.0
func (o *GetVaultPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVaultPoliciesReader ¶ added in v0.59.0
type GetVaultPoliciesReader struct {
// contains filtered or unexported fields
}
GetVaultPoliciesReader is a Reader for the GetVaultPolicies structure.
func (*GetVaultPoliciesReader) ReadResponse ¶ added in v0.59.0
func (o *GetVaultPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InspectRouterDefault ¶ added in v0.59.0
type InspectRouterDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
InspectRouterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewInspectRouterDefault ¶ added in v0.59.0
func NewInspectRouterDefault(code int) *InspectRouterDefault
NewInspectRouterDefault creates a InspectRouterDefault with default headers values
func (*InspectRouterDefault) Code ¶ added in v0.59.0
func (o *InspectRouterDefault) Code() int
Code gets the status code for the inspect router default response
func (*InspectRouterDefault) Error ¶ added in v0.59.0
func (o *InspectRouterDefault) Error() string
func (*InspectRouterDefault) GetPayload ¶ added in v0.59.0
func (o *InspectRouterDefault) GetPayload() *cloud.GoogleRPCStatus
func (*InspectRouterDefault) IsClientError ¶ added in v0.59.0
func (o *InspectRouterDefault) IsClientError() bool
IsClientError returns true when this inspect router default response has a 4xx status code
func (*InspectRouterDefault) IsCode ¶ added in v0.59.0
func (o *InspectRouterDefault) IsCode(code int) bool
IsCode returns true when this inspect router default response a status code equal to that given
func (*InspectRouterDefault) IsRedirect ¶ added in v0.59.0
func (o *InspectRouterDefault) IsRedirect() bool
IsRedirect returns true when this inspect router default response has a 3xx status code
func (*InspectRouterDefault) IsServerError ¶ added in v0.59.0
func (o *InspectRouterDefault) IsServerError() bool
IsServerError returns true when this inspect router default response has a 5xx status code
func (*InspectRouterDefault) IsSuccess ¶ added in v0.59.0
func (o *InspectRouterDefault) IsSuccess() bool
IsSuccess returns true when this inspect router default response has a 2xx status code
func (*InspectRouterDefault) String ¶ added in v0.59.0
func (o *InspectRouterDefault) String() string
type InspectRouterOK ¶ added in v0.59.0
type InspectRouterOK struct {
Payload *models.HashicorpCloudVaultLink20221107InspectRouterResponse
}
InspectRouterOK describes a response with status code 200, with default header values.
A successful response.
func NewInspectRouterOK ¶ added in v0.59.0
func NewInspectRouterOK() *InspectRouterOK
NewInspectRouterOK creates a InspectRouterOK with default headers values
func (*InspectRouterOK) Error ¶ added in v0.59.0
func (o *InspectRouterOK) Error() string
func (*InspectRouterOK) GetPayload ¶ added in v0.59.0
func (o *InspectRouterOK) GetPayload() *models.HashicorpCloudVaultLink20221107InspectRouterResponse
func (*InspectRouterOK) IsClientError ¶ added in v0.59.0
func (o *InspectRouterOK) IsClientError() bool
IsClientError returns true when this inspect router o k response has a 4xx status code
func (*InspectRouterOK) IsCode ¶ added in v0.59.0
func (o *InspectRouterOK) IsCode(code int) bool
IsCode returns true when this inspect router o k response a status code equal to that given
func (*InspectRouterOK) IsRedirect ¶ added in v0.59.0
func (o *InspectRouterOK) IsRedirect() bool
IsRedirect returns true when this inspect router o k response has a 3xx status code
func (*InspectRouterOK) IsServerError ¶ added in v0.59.0
func (o *InspectRouterOK) IsServerError() bool
IsServerError returns true when this inspect router o k response has a 5xx status code
func (*InspectRouterOK) IsSuccess ¶ added in v0.59.0
func (o *InspectRouterOK) IsSuccess() bool
IsSuccess returns true when this inspect router o k response has a 2xx status code
func (*InspectRouterOK) String ¶ added in v0.59.0
func (o *InspectRouterOK) String() string
type InspectRouterParams ¶ added in v0.59.0
type InspectRouterParams struct { // ClusterID. ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InspectRouterParams contains all the parameters to send to the API endpoint
for the inspect router operation. Typically these are written to a http.Request.
func NewInspectRouterParams ¶ added in v0.59.0
func NewInspectRouterParams() *InspectRouterParams
NewInspectRouterParams creates a new InspectRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInspectRouterParamsWithContext ¶ added in v0.59.0
func NewInspectRouterParamsWithContext(ctx context.Context) *InspectRouterParams
NewInspectRouterParamsWithContext creates a new InspectRouterParams object with the ability to set a context for a request.
func NewInspectRouterParamsWithHTTPClient ¶ added in v0.59.0
func NewInspectRouterParamsWithHTTPClient(client *http.Client) *InspectRouterParams
NewInspectRouterParamsWithHTTPClient creates a new InspectRouterParams object with the ability to set a custom HTTPClient for a request.
func NewInspectRouterParamsWithTimeout ¶ added in v0.59.0
func NewInspectRouterParamsWithTimeout(timeout time.Duration) *InspectRouterParams
NewInspectRouterParamsWithTimeout creates a new InspectRouterParams object with the ability to set a timeout on a request.
func (*InspectRouterParams) SetClusterID ¶ added in v0.59.0
func (o *InspectRouterParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the inspect router params
func (*InspectRouterParams) SetContext ¶ added in v0.59.0
func (o *InspectRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the inspect router params
func (*InspectRouterParams) SetDefaults ¶ added in v0.59.0
func (o *InspectRouterParams) SetDefaults()
SetDefaults hydrates default values in the inspect router params (not the query body).
All values with no default are reset to their zero value.
func (*InspectRouterParams) SetHTTPClient ¶ added in v0.59.0
func (o *InspectRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inspect router params
func (*InspectRouterParams) SetLocationOrganizationID ¶ added in v0.59.0
func (o *InspectRouterParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the inspect router params
func (*InspectRouterParams) SetLocationProjectID ¶ added in v0.59.0
func (o *InspectRouterParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the inspect router params
func (*InspectRouterParams) SetLocationRegionProvider ¶ added in v0.59.0
func (o *InspectRouterParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the inspect router params
func (*InspectRouterParams) SetLocationRegionRegion ¶ added in v0.59.0
func (o *InspectRouterParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the inspect router params
func (*InspectRouterParams) SetTimeout ¶ added in v0.59.0
func (o *InspectRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inspect router params
func (*InspectRouterParams) WithClusterID ¶ added in v0.59.0
func (o *InspectRouterParams) WithClusterID(clusterID string) *InspectRouterParams
WithClusterID adds the clusterID to the inspect router params
func (*InspectRouterParams) WithContext ¶ added in v0.59.0
func (o *InspectRouterParams) WithContext(ctx context.Context) *InspectRouterParams
WithContext adds the context to the inspect router params
func (*InspectRouterParams) WithDefaults ¶ added in v0.59.0
func (o *InspectRouterParams) WithDefaults() *InspectRouterParams
WithDefaults hydrates default values in the inspect router params (not the query body).
All values with no default are reset to their zero value.
func (*InspectRouterParams) WithHTTPClient ¶ added in v0.59.0
func (o *InspectRouterParams) WithHTTPClient(client *http.Client) *InspectRouterParams
WithHTTPClient adds the HTTPClient to the inspect router params
func (*InspectRouterParams) WithLocationOrganizationID ¶ added in v0.59.0
func (o *InspectRouterParams) WithLocationOrganizationID(locationOrganizationID string) *InspectRouterParams
WithLocationOrganizationID adds the locationOrganizationID to the inspect router params
func (*InspectRouterParams) WithLocationProjectID ¶ added in v0.59.0
func (o *InspectRouterParams) WithLocationProjectID(locationProjectID string) *InspectRouterParams
WithLocationProjectID adds the locationProjectID to the inspect router params
func (*InspectRouterParams) WithLocationRegionProvider ¶ added in v0.59.0
func (o *InspectRouterParams) WithLocationRegionProvider(locationRegionProvider *string) *InspectRouterParams
WithLocationRegionProvider adds the locationRegionProvider to the inspect router params
func (*InspectRouterParams) WithLocationRegionRegion ¶ added in v0.59.0
func (o *InspectRouterParams) WithLocationRegionRegion(locationRegionRegion *string) *InspectRouterParams
WithLocationRegionRegion adds the locationRegionRegion to the inspect router params
func (*InspectRouterParams) WithTimeout ¶ added in v0.59.0
func (o *InspectRouterParams) WithTimeout(timeout time.Duration) *InspectRouterParams
WithTimeout adds the timeout to the inspect router params
func (*InspectRouterParams) WriteToRequest ¶ added in v0.59.0
func (o *InspectRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InspectRouterReader ¶ added in v0.59.0
type InspectRouterReader struct {
// contains filtered or unexported fields
}
InspectRouterReader is a Reader for the InspectRouter structure.
func (*InspectRouterReader) ReadResponse ¶ added in v0.59.0
func (o *InspectRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeLinkedClusterCredentialsDefault ¶
type RevokeLinkedClusterCredentialsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
RevokeLinkedClusterCredentialsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewRevokeLinkedClusterCredentialsDefault ¶
func NewRevokeLinkedClusterCredentialsDefault(code int) *RevokeLinkedClusterCredentialsDefault
NewRevokeLinkedClusterCredentialsDefault creates a RevokeLinkedClusterCredentialsDefault with default headers values
func (*RevokeLinkedClusterCredentialsDefault) Code ¶
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() *cloud.GoogleRPCStatus
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.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 (o *RevokeLinkedClusterCredentialsOK) Error() string
func (*RevokeLinkedClusterCredentialsOK) GetPayload ¶
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 *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 ¶
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() *cloud.GoogleRPCStatus
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.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 (o *RotateLinkedClusterCredentialsOK) Error() string
func (*RotateLinkedClusterCredentialsOK) GetPayload ¶
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 /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RotateLinkedClusterCredentialsParams contains all the parameters to send to the API endpoint
for the rotate linked cluster credentials operation. Typically these are written to a http.Request.
func NewRotateLinkedClusterCredentialsParams ¶
func NewRotateLinkedClusterCredentialsParams() *RotateLinkedClusterCredentialsParams
NewRotateLinkedClusterCredentialsParams creates a new RotateLinkedClusterCredentialsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRotateLinkedClusterCredentialsParamsWithContext ¶
func NewRotateLinkedClusterCredentialsParamsWithContext(ctx context.Context) *RotateLinkedClusterCredentialsParams
NewRotateLinkedClusterCredentialsParamsWithContext creates a new RotateLinkedClusterCredentialsParams object with the ability to set a context for a request.
func NewRotateLinkedClusterCredentialsParamsWithHTTPClient ¶
func NewRotateLinkedClusterCredentialsParamsWithHTTPClient(client *http.Client) *RotateLinkedClusterCredentialsParams
NewRotateLinkedClusterCredentialsParamsWithHTTPClient creates a new RotateLinkedClusterCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewRotateLinkedClusterCredentialsParamsWithTimeout ¶
func NewRotateLinkedClusterCredentialsParamsWithTimeout(timeout time.Duration) *RotateLinkedClusterCredentialsParams
NewRotateLinkedClusterCredentialsParamsWithTimeout creates a new RotateLinkedClusterCredentialsParams object with the ability to set a timeout on a request.
func (*RotateLinkedClusterCredentialsParams) SetClusterID ¶
func (o *RotateLinkedClusterCredentialsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) SetContext ¶
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) SetLocationRegionProvider ¶ added in v0.59.0
func (o *RotateLinkedClusterCredentialsParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) SetLocationRegionRegion ¶ added in v0.59.0
func (o *RotateLinkedClusterCredentialsParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) SetTimeout ¶
func (o *RotateLinkedClusterCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) WithClusterID ¶
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) WithLocationRegionProvider ¶ added in v0.59.0
func (o *RotateLinkedClusterCredentialsParams) WithLocationRegionProvider(locationRegionProvider *string) *RotateLinkedClusterCredentialsParams
WithLocationRegionProvider adds the locationRegionProvider to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) WithLocationRegionRegion ¶ added in v0.59.0
func (o *RotateLinkedClusterCredentialsParams) WithLocationRegionRegion(locationRegionRegion *string) *RotateLinkedClusterCredentialsParams
WithLocationRegionRegion adds the locationRegionRegion to the rotate linked cluster credentials params
func (*RotateLinkedClusterCredentialsParams) WithTimeout ¶
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 ¶
- authenticate_user_to_cluster_parameters.go
- authenticate_user_to_cluster_responses.go
- enable_d_r_parameters.go
- enable_d_r_responses.go
- get_linked_cluster_parameters.go
- get_linked_cluster_policy_parameters.go
- get_linked_cluster_policy_responses.go
- get_linked_cluster_responses.go
- get_vault_policies_parameters.go
- get_vault_policies_responses.go
- inspect_router_parameters.go
- inspect_router_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