credential_rotation

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PutCredentialRotationsRotationIDBadRequestBodyTypeBadRequest captures enum value "bad_request"
	PutCredentialRotationsRotationIDBadRequestBodyTypeBadRequest string = "bad_request"
	// PutCredentialRotationsRotationIDBadRequestBodyTypeUnauthorized captures enum value "unauthorized"
	PutCredentialRotationsRotationIDBadRequestBodyTypeUnauthorized string = "unauthorized"
	// PutCredentialRotationsRotationIDBadRequestBodyTypeNotFound captures enum value "not_found"
	PutCredentialRotationsRotationIDBadRequestBodyTypeNotFound string = "not_found"
	// PutCredentialRotationsRotationIDBadRequestBodyTypeMethodNotAllowed captures enum value "method_not_allowed"
	PutCredentialRotationsRotationIDBadRequestBodyTypeMethodNotAllowed string = "method_not_allowed"
	// PutCredentialRotationsRotationIDBadRequestBodyTypeInternal captures enum value "internal"
	PutCredentialRotationsRotationIDBadRequestBodyTypeInternal string = "internal"
	// PutCredentialRotationsRotationIDBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant"
	PutCredentialRotationsRotationIDBadRequestBodyTypeInvalidGrant string = "invalid_grant"
	// PutCredentialRotationsRotationIDBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type"
	PutCredentialRotationsRotationIDBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type"
)
View Source
const (
	// PutCredentialRotationsRotationIDInternalServerErrorBodyTypeBadRequest captures enum value "bad_request"
	PutCredentialRotationsRotationIDInternalServerErrorBodyTypeBadRequest string = "bad_request"
	// PutCredentialRotationsRotationIDInternalServerErrorBodyTypeUnauthorized captures enum value "unauthorized"
	PutCredentialRotationsRotationIDInternalServerErrorBodyTypeUnauthorized string = "unauthorized"
	// PutCredentialRotationsRotationIDInternalServerErrorBodyTypeNotFound captures enum value "not_found"
	PutCredentialRotationsRotationIDInternalServerErrorBodyTypeNotFound string = "not_found"
	// PutCredentialRotationsRotationIDInternalServerErrorBodyTypeMethodNotAllowed captures enum value "method_not_allowed"
	PutCredentialRotationsRotationIDInternalServerErrorBodyTypeMethodNotAllowed string = "method_not_allowed"
	// PutCredentialRotationsRotationIDInternalServerErrorBodyTypeInternal captures enum value "internal"
	PutCredentialRotationsRotationIDInternalServerErrorBodyTypeInternal string = "internal"
	// PutCredentialRotationsRotationIDInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant"
	PutCredentialRotationsRotationIDInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant"
	// PutCredentialRotationsRotationIDInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type"
	PutCredentialRotationsRotationIDInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type"
)
View Source
const (
	// PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeBadRequest captures enum value "bad_request"
	PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeBadRequest string = "bad_request"
	// PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeUnauthorized captures enum value "unauthorized"
	PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeUnauthorized string = "unauthorized"
	// PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeNotFound captures enum value "not_found"
	PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeNotFound string = "not_found"
	// PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeMethodNotAllowed captures enum value "method_not_allowed"
	PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeMethodNotAllowed string = "method_not_allowed"
	// PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeInternal captures enum value "internal"
	PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeInternal string = "internal"
	// PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeInvalidGrant captures enum value "invalid_grant"
	PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeInvalidGrant string = "invalid_grant"
	// PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type"
	PutCredentialRotationsRotationIDMethodNotAllowedBodyTypeUnsupportedGrantType string = "unsupported_grant_type"
)
View Source
const (
	// PutCredentialRotationsRotationIDNotFoundBodyTypeBadRequest captures enum value "bad_request"
	PutCredentialRotationsRotationIDNotFoundBodyTypeBadRequest string = "bad_request"
	// PutCredentialRotationsRotationIDNotFoundBodyTypeUnauthorized captures enum value "unauthorized"
	PutCredentialRotationsRotationIDNotFoundBodyTypeUnauthorized string = "unauthorized"
	// PutCredentialRotationsRotationIDNotFoundBodyTypeNotFound captures enum value "not_found"
	PutCredentialRotationsRotationIDNotFoundBodyTypeNotFound string = "not_found"
	// PutCredentialRotationsRotationIDNotFoundBodyTypeMethodNotAllowed captures enum value "method_not_allowed"
	PutCredentialRotationsRotationIDNotFoundBodyTypeMethodNotAllowed string = "method_not_allowed"
	// PutCredentialRotationsRotationIDNotFoundBodyTypeInternal captures enum value "internal"
	PutCredentialRotationsRotationIDNotFoundBodyTypeInternal string = "internal"
	// PutCredentialRotationsRotationIDNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant"
	PutCredentialRotationsRotationIDNotFoundBodyTypeInvalidGrant string = "invalid_grant"
	// PutCredentialRotationsRotationIDNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type"
	PutCredentialRotationsRotationIDNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type"
)
View Source
const (
	// PutCredentialRotationsRotationIDUnauthorizedBodyTypeBadRequest captures enum value "bad_request"
	PutCredentialRotationsRotationIDUnauthorizedBodyTypeBadRequest string = "bad_request"
	// PutCredentialRotationsRotationIDUnauthorizedBodyTypeUnauthorized captures enum value "unauthorized"
	PutCredentialRotationsRotationIDUnauthorizedBodyTypeUnauthorized string = "unauthorized"
	// PutCredentialRotationsRotationIDUnauthorizedBodyTypeNotFound captures enum value "not_found"
	PutCredentialRotationsRotationIDUnauthorizedBodyTypeNotFound string = "not_found"
	// PutCredentialRotationsRotationIDUnauthorizedBodyTypeMethodNotAllowed captures enum value "method_not_allowed"
	PutCredentialRotationsRotationIDUnauthorizedBodyTypeMethodNotAllowed string = "method_not_allowed"
	// PutCredentialRotationsRotationIDUnauthorizedBodyTypeInternal captures enum value "internal"
	PutCredentialRotationsRotationIDUnauthorizedBodyTypeInternal string = "internal"
	// PutCredentialRotationsRotationIDUnauthorizedBodyTypeInvalidGrant captures enum value "invalid_grant"
	PutCredentialRotationsRotationIDUnauthorizedBodyTypeInvalidGrant string = "invalid_grant"
	// PutCredentialRotationsRotationIDUnauthorizedBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type"
	PutCredentialRotationsRotationIDUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for credential rotation API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new credential rotation API client.

func (*Client) PutCredentialRotationsRotationID

PutCredentialRotationsRotationID as l p h a start a credential rotation

**ALPHA** A provider can call this endpoint to trigger a credential rotation for a specific credential. This route supports being called multiple times with the same payload.

In the case of network or other unexpected errors (such as a `500 Internal Server Error`), the provider may issue a request more than once with the same payload and `rotation_id` to be guaranteed that the operation will run exactly once.

**Building a `rotation_id`**

Different rotations must have a different `rotation_id`. A good way to achieve uniqueness would be to make these ids a uuid (Universally unique identifier). Also make sure to reuse the `rotation_id` when retrying the same rotation to not trigger duplicate rotations.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PutCredentialRotationsRotationIDAccepted

type PutCredentialRotationsRotationIDAccepted struct {
}

PutCredentialRotationsRotationIDAccepted handles this case with default header values.

Acknowledgement of the credential rotation request.

Manifold will start proccessing the request asynchronously.

func NewPutCredentialRotationsRotationIDAccepted

func NewPutCredentialRotationsRotationIDAccepted() *PutCredentialRotationsRotationIDAccepted

NewPutCredentialRotationsRotationIDAccepted creates a PutCredentialRotationsRotationIDAccepted with default headers values

func (*PutCredentialRotationsRotationIDAccepted) Error

type PutCredentialRotationsRotationIDBadRequest

type PutCredentialRotationsRotationIDBadRequest struct {
	Payload PutCredentialRotationsRotationIDBadRequestBody
}

PutCredentialRotationsRotationIDBadRequest handles this case with default header values.

Request denied due to invalid request body, path, or headers.

func NewPutCredentialRotationsRotationIDBadRequest

func NewPutCredentialRotationsRotationIDBadRequest() *PutCredentialRotationsRotationIDBadRequest

NewPutCredentialRotationsRotationIDBadRequest creates a PutCredentialRotationsRotationIDBadRequest with default headers values

func (*PutCredentialRotationsRotationIDBadRequest) Error

type PutCredentialRotationsRotationIDBadRequestBody

type PutCredentialRotationsRotationIDBadRequestBody struct {

	// Explanation of the errors
	// Required: true
	Message []string `json:"message"`

	// The error type
	// Required: true
	Type *string `json:"type"`
}

PutCredentialRotationsRotationIDBadRequestBody put credential rotations rotation ID bad request body swagger:model PutCredentialRotationsRotationIDBadRequestBody

func (*PutCredentialRotationsRotationIDBadRequestBody) Validate

Validate validates this put credential rotations rotation ID bad request body

type PutCredentialRotationsRotationIDInternalServerError

type PutCredentialRotationsRotationIDInternalServerError struct {
	Payload PutCredentialRotationsRotationIDInternalServerErrorBody
}

PutCredentialRotationsRotationIDInternalServerError handles this case with default header values.

Request failed due to an internal server error.

func NewPutCredentialRotationsRotationIDInternalServerError

func NewPutCredentialRotationsRotationIDInternalServerError() *PutCredentialRotationsRotationIDInternalServerError

NewPutCredentialRotationsRotationIDInternalServerError creates a PutCredentialRotationsRotationIDInternalServerError with default headers values

func (*PutCredentialRotationsRotationIDInternalServerError) Error

type PutCredentialRotationsRotationIDInternalServerErrorBody

type PutCredentialRotationsRotationIDInternalServerErrorBody struct {

	// Explanation of the errors
	// Required: true
	Message []string `json:"message"`

	// The error type
	// Required: true
	Type *string `json:"type"`
}

PutCredentialRotationsRotationIDInternalServerErrorBody put credential rotations rotation ID internal server error body swagger:model PutCredentialRotationsRotationIDInternalServerErrorBody

func (*PutCredentialRotationsRotationIDInternalServerErrorBody) Validate

Validate validates this put credential rotations rotation ID internal server error body

type PutCredentialRotationsRotationIDMethodNotAllowed added in v0.15.2

type PutCredentialRotationsRotationIDMethodNotAllowed struct {
	Payload PutCredentialRotationsRotationIDMethodNotAllowedBody
}

PutCredentialRotationsRotationIDMethodNotAllowed handles this case with default header values.

Request method is known by the server but is not supported by the target resource.

func NewPutCredentialRotationsRotationIDMethodNotAllowed added in v0.15.2

func NewPutCredentialRotationsRotationIDMethodNotAllowed() *PutCredentialRotationsRotationIDMethodNotAllowed

NewPutCredentialRotationsRotationIDMethodNotAllowed creates a PutCredentialRotationsRotationIDMethodNotAllowed with default headers values

func (*PutCredentialRotationsRotationIDMethodNotAllowed) Error added in v0.15.2

type PutCredentialRotationsRotationIDMethodNotAllowedBody added in v0.15.2

type PutCredentialRotationsRotationIDMethodNotAllowedBody struct {

	// Explanation of the errors
	// Required: true
	Message []string `json:"message"`

	// The error type
	// Required: true
	Type *string `json:"type"`
}

PutCredentialRotationsRotationIDMethodNotAllowedBody put credential rotations rotation ID method not allowed body swagger:model PutCredentialRotationsRotationIDMethodNotAllowedBody

func (*PutCredentialRotationsRotationIDMethodNotAllowedBody) Validate added in v0.15.2

Validate validates this put credential rotations rotation ID method not allowed body

type PutCredentialRotationsRotationIDNotFound

type PutCredentialRotationsRotationIDNotFound struct {
	Payload PutCredentialRotationsRotationIDNotFoundBody
}

PutCredentialRotationsRotationIDNotFound handles this case with default header values.

Request denied as the requested resource does not exist.

func NewPutCredentialRotationsRotationIDNotFound

func NewPutCredentialRotationsRotationIDNotFound() *PutCredentialRotationsRotationIDNotFound

NewPutCredentialRotationsRotationIDNotFound creates a PutCredentialRotationsRotationIDNotFound with default headers values

func (*PutCredentialRotationsRotationIDNotFound) Error

type PutCredentialRotationsRotationIDNotFoundBody

type PutCredentialRotationsRotationIDNotFoundBody struct {

	// Explanation of the errors
	// Required: true
	Message []string `json:"message"`

	// The error type
	// Required: true
	Type *string `json:"type"`
}

PutCredentialRotationsRotationIDNotFoundBody put credential rotations rotation ID not found body swagger:model PutCredentialRotationsRotationIDNotFoundBody

func (*PutCredentialRotationsRotationIDNotFoundBody) Validate

Validate validates this put credential rotations rotation ID not found body

type PutCredentialRotationsRotationIDParams

type PutCredentialRotationsRotationIDParams struct {

	/*Body
	  Resource Provisioning Request

	*/
	Body *models.CredentialRotationRequest
	/*RotationID
	  ID of a the credential-rotations, stored as a base32 encoded 18 byte identifier.


	*/
	RotationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutCredentialRotationsRotationIDParams contains all the parameters to send to the API endpoint for the put credential rotations rotation ID operation typically these are written to a http.Request

func NewPutCredentialRotationsRotationIDParams

func NewPutCredentialRotationsRotationIDParams() *PutCredentialRotationsRotationIDParams

NewPutCredentialRotationsRotationIDParams creates a new PutCredentialRotationsRotationIDParams object with the default values initialized.

func NewPutCredentialRotationsRotationIDParamsWithContext

func NewPutCredentialRotationsRotationIDParamsWithContext(ctx context.Context) *PutCredentialRotationsRotationIDParams

NewPutCredentialRotationsRotationIDParamsWithContext creates a new PutCredentialRotationsRotationIDParams object with the default values initialized, and the ability to set a context for a request

func NewPutCredentialRotationsRotationIDParamsWithHTTPClient

func NewPutCredentialRotationsRotationIDParamsWithHTTPClient(client *http.Client) *PutCredentialRotationsRotationIDParams

NewPutCredentialRotationsRotationIDParamsWithHTTPClient creates a new PutCredentialRotationsRotationIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutCredentialRotationsRotationIDParamsWithTimeout

func NewPutCredentialRotationsRotationIDParamsWithTimeout(timeout time.Duration) *PutCredentialRotationsRotationIDParams

NewPutCredentialRotationsRotationIDParamsWithTimeout creates a new PutCredentialRotationsRotationIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutCredentialRotationsRotationIDParams) SetBody

SetBody adds the body to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) SetContext

SetContext adds the context to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) SetRotationID

func (o *PutCredentialRotationsRotationIDParams) SetRotationID(rotationID string)

SetRotationID adds the rotationId to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) SetTimeout

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

SetTimeout adds the timeout to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) WithBody

WithBody adds the body to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) WithContext

WithContext adds the context to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) WithRotationID

WithRotationID adds the rotationID to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) WithTimeout

WithTimeout adds the timeout to the put credential rotations rotation ID params

func (*PutCredentialRotationsRotationIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutCredentialRotationsRotationIDReader

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

PutCredentialRotationsRotationIDReader is a Reader for the PutCredentialRotationsRotationID structure.

func (*PutCredentialRotationsRotationIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutCredentialRotationsRotationIDUnauthorized

type PutCredentialRotationsRotationIDUnauthorized struct {
	Payload PutCredentialRotationsRotationIDUnauthorizedBody
}

PutCredentialRotationsRotationIDUnauthorized handles this case with default header values.

Request denied as the provided credentials are no longer valid.

func NewPutCredentialRotationsRotationIDUnauthorized

func NewPutCredentialRotationsRotationIDUnauthorized() *PutCredentialRotationsRotationIDUnauthorized

NewPutCredentialRotationsRotationIDUnauthorized creates a PutCredentialRotationsRotationIDUnauthorized with default headers values

func (*PutCredentialRotationsRotationIDUnauthorized) Error

type PutCredentialRotationsRotationIDUnauthorizedBody

type PutCredentialRotationsRotationIDUnauthorizedBody struct {

	// Explanation of the errors
	// Required: true
	Message []string `json:"message"`

	// The error type
	// Required: true
	Type *string `json:"type"`
}

PutCredentialRotationsRotationIDUnauthorizedBody put credential rotations rotation ID unauthorized body swagger:model PutCredentialRotationsRotationIDUnauthorizedBody

func (*PutCredentialRotationsRotationIDUnauthorizedBody) Validate

Validate validates this put credential rotations rotation ID unauthorized body

Jump to

Keyboard shortcuts

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