key_group

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListKeysACQUIREDConstant = "ACQUIRED"
	ListKeysACTIVEConstant   = "ACTIVE"
)

Get the enum in ListKeysParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for key group API

func (*Client) CreateKeyGroup

CreateKeyGroup creates key group

Create key group.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=1 (CREATE)</li><li><i>Returns</i>: created key group</li></ul>

func (*Client) CreateKeyGroupShort added in v0.8.0

func (a *Client) CreateKeyGroupShort(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, error)

func (*Client) GetKeyGroup

GetKeyGroup gets key group

Get key group.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)</li><li><i>Returns</i>: key group info</li></ul>

func (*Client) GetKeyGroupDynamic

GetKeyGroupDynamic gets key group dynamic

Get key group dynamic.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)</li><li><i>Returns</i>: key group info</li></ul>

func (*Client) GetKeyGroupDynamicShort added in v0.8.0

func (a *Client) GetKeyGroupDynamicShort(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, error)

func (*Client) GetKeyGroupShort added in v0.8.0

func (a *Client) GetKeyGroupShort(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, error)

func (*Client) ListKeys

func (a *Client) ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)

ListKeys lists keys of a key group

This API is used to list keys of a key group.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)</li><li><i>Returns</i>: keys</li></ul>

func (*Client) ListKeysShort added in v0.8.0

func (a *Client) ListKeysShort(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)

func (*Client) QueryKeyGroups

func (a *Client) QueryKeyGroups(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)

QueryKeyGroups queries key groups

Query key groups, if name is presented, it's fuzzy match.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)</li><li><i>Returns</i>: slice of key group</li></ul>

func (*Client) QueryKeyGroupsShort added in v0.8.0

func (a *Client) QueryKeyGroupsShort(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateKeyGroup

UpdateKeyGroup updates key group

Update key group.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=4 (UPDATE)</li><li><i>Returns</i>: updated key group</li></ul>

func (*Client) UpdateKeyGroupShort added in v0.8.0

func (a *Client) UpdateKeyGroupShort(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, error)

func (*Client) UploadKeys

UploadKeys uploads keys to key group

This API is used to upload keys with csv format to a key group.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=4 (UPDATE)</li><li><i>Returns</i>: item data</li></ul>

func (*Client) UploadKeysShort added in v0.8.0

func (a *Client) UploadKeysShort(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, error)

type ClientService

type ClientService interface {
	CreateKeyGroup(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, *CreateKeyGroupConflict, *CreateKeyGroupUnprocessableEntity, error)
	CreateKeyGroupShort(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, error)
	GetKeyGroup(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, *GetKeyGroupNotFound, error)
	GetKeyGroupShort(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, error)
	GetKeyGroupDynamic(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, *GetKeyGroupDynamicNotFound, error)
	GetKeyGroupDynamicShort(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, error)
	ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)
	ListKeysShort(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)
	QueryKeyGroups(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)
	QueryKeyGroupsShort(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)
	UpdateKeyGroup(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, *UpdateKeyGroupNotFound, *UpdateKeyGroupConflict, *UpdateKeyGroupUnprocessableEntity, error)
	UpdateKeyGroupShort(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, error)
	UploadKeys(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, *UploadKeysBadRequest, *UploadKeysNotFound, error)
	UploadKeysShort(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, 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 key group API client.

type CreateKeyGroupConflict

type CreateKeyGroupConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateKeyGroupConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37271</td><td>Key group [{name}] already exists in namespace [{namespace}]</td></tr></table>

func NewCreateKeyGroupConflict

func NewCreateKeyGroupConflict() *CreateKeyGroupConflict

NewCreateKeyGroupConflict creates a CreateKeyGroupConflict with default headers values

func (*CreateKeyGroupConflict) Error

func (o *CreateKeyGroupConflict) Error() string

func (*CreateKeyGroupConflict) GetPayload

type CreateKeyGroupCreated

type CreateKeyGroupCreated struct {
	Payload *platformclientmodels.KeyGroupInfo
}

CreateKeyGroupCreated handles this case with default header values.

successful operation

func NewCreateKeyGroupCreated

func NewCreateKeyGroupCreated() *CreateKeyGroupCreated

NewCreateKeyGroupCreated creates a CreateKeyGroupCreated with default headers values

func (*CreateKeyGroupCreated) Error

func (o *CreateKeyGroupCreated) Error() string

func (*CreateKeyGroupCreated) GetPayload

type CreateKeyGroupParams

type CreateKeyGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.KeyGroupCreate
	/*Namespace*/
	Namespace string

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

CreateKeyGroupParams contains all the parameters to send to the API endpoint for the create key group operation typically these are written to a http.Request

func NewCreateKeyGroupParams

func NewCreateKeyGroupParams() *CreateKeyGroupParams

NewCreateKeyGroupParams creates a new CreateKeyGroupParams object with the default values initialized.

func NewCreateKeyGroupParamsWithContext

func NewCreateKeyGroupParamsWithContext(ctx context.Context) *CreateKeyGroupParams

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

func NewCreateKeyGroupParamsWithHTTPClient

func NewCreateKeyGroupParamsWithHTTPClient(client *http.Client) *CreateKeyGroupParams

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

func NewCreateKeyGroupParamsWithTimeout

func NewCreateKeyGroupParamsWithTimeout(timeout time.Duration) *CreateKeyGroupParams

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

func (*CreateKeyGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *CreateKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create key group params

func (*CreateKeyGroupParams) SetBody

SetBody adds the body to the create key group params

func (*CreateKeyGroupParams) SetContext

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

SetContext adds the context to the create key group params

func (*CreateKeyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create key group params

func (*CreateKeyGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *CreateKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create key group params

func (*CreateKeyGroupParams) SetNamespace

func (o *CreateKeyGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create key group params

func (*CreateKeyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create key group params

func (*CreateKeyGroupParams) WithBody

WithBody adds the body to the create key group params

func (*CreateKeyGroupParams) WithContext

WithContext adds the context to the create key group params

func (*CreateKeyGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create key group params

func (*CreateKeyGroupParams) WithNamespace

func (o *CreateKeyGroupParams) WithNamespace(namespace string) *CreateKeyGroupParams

WithNamespace adds the namespace to the create key group params

func (*CreateKeyGroupParams) WithTimeout

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

WithTimeout adds the timeout to the create key group params

func (*CreateKeyGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateKeyGroupReader

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

CreateKeyGroupReader is a Reader for the CreateKeyGroup structure.

func (*CreateKeyGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateKeyGroupUnprocessableEntity

type CreateKeyGroupUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreateKeyGroupUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreateKeyGroupUnprocessableEntity

func NewCreateKeyGroupUnprocessableEntity() *CreateKeyGroupUnprocessableEntity

NewCreateKeyGroupUnprocessableEntity creates a CreateKeyGroupUnprocessableEntity with default headers values

func (*CreateKeyGroupUnprocessableEntity) Error

func (*CreateKeyGroupUnprocessableEntity) GetPayload

type GetKeyGroupDynamicNotFound

type GetKeyGroupDynamicNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetKeyGroupDynamicNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetKeyGroupDynamicNotFound

func NewGetKeyGroupDynamicNotFound() *GetKeyGroupDynamicNotFound

NewGetKeyGroupDynamicNotFound creates a GetKeyGroupDynamicNotFound with default headers values

func (*GetKeyGroupDynamicNotFound) Error

func (*GetKeyGroupDynamicNotFound) GetPayload

type GetKeyGroupDynamicOK

type GetKeyGroupDynamicOK struct {
	Payload *platformclientmodels.KeyGroupDynamicInfo
}

GetKeyGroupDynamicOK handles this case with default header values.

successful operation

func NewGetKeyGroupDynamicOK

func NewGetKeyGroupDynamicOK() *GetKeyGroupDynamicOK

NewGetKeyGroupDynamicOK creates a GetKeyGroupDynamicOK with default headers values

func (*GetKeyGroupDynamicOK) Error

func (o *GetKeyGroupDynamicOK) Error() string

func (*GetKeyGroupDynamicOK) GetPayload

type GetKeyGroupDynamicParams

type GetKeyGroupDynamicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace*/
	Namespace string

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

GetKeyGroupDynamicParams contains all the parameters to send to the API endpoint for the get key group dynamic operation typically these are written to a http.Request

func NewGetKeyGroupDynamicParams

func NewGetKeyGroupDynamicParams() *GetKeyGroupDynamicParams

NewGetKeyGroupDynamicParams creates a new GetKeyGroupDynamicParams object with the default values initialized.

func NewGetKeyGroupDynamicParamsWithContext

func NewGetKeyGroupDynamicParamsWithContext(ctx context.Context) *GetKeyGroupDynamicParams

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

func NewGetKeyGroupDynamicParamsWithHTTPClient

func NewGetKeyGroupDynamicParamsWithHTTPClient(client *http.Client) *GetKeyGroupDynamicParams

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

func NewGetKeyGroupDynamicParamsWithTimeout

func NewGetKeyGroupDynamicParamsWithTimeout(timeout time.Duration) *GetKeyGroupDynamicParams

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

func (*GetKeyGroupDynamicParams) SetAuthInfoWriter added in v0.17.0

func (o *GetKeyGroupDynamicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetContext

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

SetContext adds the context to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetHTTPClientTransport added in v0.19.0

func (o *GetKeyGroupDynamicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetKeyGroupID

func (o *GetKeyGroupDynamicParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetNamespace

func (o *GetKeyGroupDynamicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetTimeout

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

SetTimeout adds the timeout to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithContext

WithContext adds the context to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithKeyGroupID

func (o *GetKeyGroupDynamicParams) WithKeyGroupID(keyGroupID string) *GetKeyGroupDynamicParams

WithKeyGroupID adds the keyGroupID to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithNamespace

func (o *GetKeyGroupDynamicParams) WithNamespace(namespace string) *GetKeyGroupDynamicParams

WithNamespace adds the namespace to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithTimeout

WithTimeout adds the timeout to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKeyGroupDynamicReader

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

GetKeyGroupDynamicReader is a Reader for the GetKeyGroupDynamic structure.

func (*GetKeyGroupDynamicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKeyGroupNotFound

type GetKeyGroupNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetKeyGroupNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetKeyGroupNotFound

func NewGetKeyGroupNotFound() *GetKeyGroupNotFound

NewGetKeyGroupNotFound creates a GetKeyGroupNotFound with default headers values

func (*GetKeyGroupNotFound) Error

func (o *GetKeyGroupNotFound) Error() string

func (*GetKeyGroupNotFound) GetPayload

type GetKeyGroupOK

type GetKeyGroupOK struct {
	Payload *platformclientmodels.KeyGroupInfo
}

GetKeyGroupOK handles this case with default header values.

successful operation

func NewGetKeyGroupOK

func NewGetKeyGroupOK() *GetKeyGroupOK

NewGetKeyGroupOK creates a GetKeyGroupOK with default headers values

func (*GetKeyGroupOK) Error

func (o *GetKeyGroupOK) Error() string

func (*GetKeyGroupOK) GetPayload

type GetKeyGroupParams

type GetKeyGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace*/
	Namespace string

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

GetKeyGroupParams contains all the parameters to send to the API endpoint for the get key group operation typically these are written to a http.Request

func NewGetKeyGroupParams

func NewGetKeyGroupParams() *GetKeyGroupParams

NewGetKeyGroupParams creates a new GetKeyGroupParams object with the default values initialized.

func NewGetKeyGroupParamsWithContext

func NewGetKeyGroupParamsWithContext(ctx context.Context) *GetKeyGroupParams

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

func NewGetKeyGroupParamsWithHTTPClient

func NewGetKeyGroupParamsWithHTTPClient(client *http.Client) *GetKeyGroupParams

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

func NewGetKeyGroupParamsWithTimeout

func NewGetKeyGroupParamsWithTimeout(timeout time.Duration) *GetKeyGroupParams

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

func (*GetKeyGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *GetKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get key group params

func (*GetKeyGroupParams) SetContext

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

SetContext adds the context to the get key group params

func (*GetKeyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get key group params

func (*GetKeyGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *GetKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get key group params

func (*GetKeyGroupParams) SetKeyGroupID

func (o *GetKeyGroupParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the get key group params

func (*GetKeyGroupParams) SetNamespace

func (o *GetKeyGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get key group params

func (*GetKeyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get key group params

func (*GetKeyGroupParams) WithContext

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

WithContext adds the context to the get key group params

func (*GetKeyGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get key group params

func (*GetKeyGroupParams) WithKeyGroupID

func (o *GetKeyGroupParams) WithKeyGroupID(keyGroupID string) *GetKeyGroupParams

WithKeyGroupID adds the keyGroupID to the get key group params

func (*GetKeyGroupParams) WithNamespace

func (o *GetKeyGroupParams) WithNamespace(namespace string) *GetKeyGroupParams

WithNamespace adds the namespace to the get key group params

func (*GetKeyGroupParams) WithTimeout

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

WithTimeout adds the timeout to the get key group params

func (*GetKeyGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetKeyGroupReader

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

GetKeyGroupReader is a Reader for the GetKeyGroup structure.

func (*GetKeyGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListKeysOK

type ListKeysOK struct {
	Payload *platformclientmodels.KeyPagingSliceResult
}

ListKeysOK handles this case with default header values.

successful operation

func NewListKeysOK

func NewListKeysOK() *ListKeysOK

NewListKeysOK creates a ListKeysOK with default headers values

func (*ListKeysOK) Error

func (o *ListKeysOK) Error() string

func (*ListKeysOK) GetPayload

type ListKeysParams

type ListKeysParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*KeyGroupID*/
	KeyGroupID string
	/*Limit*/
	Limit *int32
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*Status*/
	Status *string

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

ListKeysParams contains all the parameters to send to the API endpoint for the list keys operation typically these are written to a http.Request

func NewListKeysParams

func NewListKeysParams() *ListKeysParams

NewListKeysParams creates a new ListKeysParams object with the default values initialized.

func NewListKeysParamsWithContext

func NewListKeysParamsWithContext(ctx context.Context) *ListKeysParams

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

func NewListKeysParamsWithHTTPClient

func NewListKeysParamsWithHTTPClient(client *http.Client) *ListKeysParams

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

func NewListKeysParamsWithTimeout

func NewListKeysParamsWithTimeout(timeout time.Duration) *ListKeysParams

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

func (*ListKeysParams) SetAuthInfoWriter added in v0.17.0

func (o *ListKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the list keys params

func (*ListKeysParams) SetContext

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

SetContext adds the context to the list keys params

func (*ListKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list keys params

func (*ListKeysParams) SetHTTPClientTransport added in v0.19.0

func (o *ListKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the list keys params

func (*ListKeysParams) SetKeyGroupID

func (o *ListKeysParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the list keys params

func (*ListKeysParams) SetLimit

func (o *ListKeysParams) SetLimit(limit *int32)

SetLimit adds the limit to the list keys params

func (*ListKeysParams) SetNamespace

func (o *ListKeysParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list keys params

func (*ListKeysParams) SetOffset

func (o *ListKeysParams) SetOffset(offset *int32)

SetOffset adds the offset to the list keys params

func (*ListKeysParams) SetStatus

func (o *ListKeysParams) SetStatus(status *string)

SetStatus adds the status to the list keys params

func (*ListKeysParams) SetTimeout

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

SetTimeout adds the timeout to the list keys params

func (*ListKeysParams) WithContext

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

WithContext adds the context to the list keys params

func (*ListKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list keys params

func (*ListKeysParams) WithKeyGroupID

func (o *ListKeysParams) WithKeyGroupID(keyGroupID string) *ListKeysParams

WithKeyGroupID adds the keyGroupID to the list keys params

func (*ListKeysParams) WithLimit

func (o *ListKeysParams) WithLimit(limit *int32) *ListKeysParams

WithLimit adds the limit to the list keys params

func (*ListKeysParams) WithNamespace

func (o *ListKeysParams) WithNamespace(namespace string) *ListKeysParams

WithNamespace adds the namespace to the list keys params

func (*ListKeysParams) WithOffset

func (o *ListKeysParams) WithOffset(offset *int32) *ListKeysParams

WithOffset adds the offset to the list keys params

func (*ListKeysParams) WithStatus

func (o *ListKeysParams) WithStatus(status *string) *ListKeysParams

WithStatus adds the status to the list keys params

func (*ListKeysParams) WithTimeout

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

WithTimeout adds the timeout to the list keys params

func (*ListKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListKeysReader

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

ListKeysReader is a Reader for the ListKeys structure.

func (*ListKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryKeyGroupsOK

type QueryKeyGroupsOK struct {
	Payload *platformclientmodels.KeyGroupPagingSlicedResult
}

QueryKeyGroupsOK handles this case with default header values.

successful operation

func NewQueryKeyGroupsOK

func NewQueryKeyGroupsOK() *QueryKeyGroupsOK

NewQueryKeyGroupsOK creates a QueryKeyGroupsOK with default headers values

func (*QueryKeyGroupsOK) Error

func (o *QueryKeyGroupsOK) Error() string

func (*QueryKeyGroupsOK) GetPayload

type QueryKeyGroupsParams

type QueryKeyGroupsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit*/
	Limit *int32
	/*Name*/
	Name *string
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*Tag*/
	Tag *string

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

QueryKeyGroupsParams contains all the parameters to send to the API endpoint for the query key groups operation typically these are written to a http.Request

func NewQueryKeyGroupsParams

func NewQueryKeyGroupsParams() *QueryKeyGroupsParams

NewQueryKeyGroupsParams creates a new QueryKeyGroupsParams object with the default values initialized.

func NewQueryKeyGroupsParamsWithContext

func NewQueryKeyGroupsParamsWithContext(ctx context.Context) *QueryKeyGroupsParams

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

func NewQueryKeyGroupsParamsWithHTTPClient

func NewQueryKeyGroupsParamsWithHTTPClient(client *http.Client) *QueryKeyGroupsParams

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

func NewQueryKeyGroupsParamsWithTimeout

func NewQueryKeyGroupsParamsWithTimeout(timeout time.Duration) *QueryKeyGroupsParams

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

func (*QueryKeyGroupsParams) SetAuthInfoWriter added in v0.17.0

func (o *QueryKeyGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query key groups params

func (*QueryKeyGroupsParams) SetContext

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

SetContext adds the context to the query key groups params

func (*QueryKeyGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query key groups params

func (*QueryKeyGroupsParams) SetHTTPClientTransport added in v0.19.0

func (o *QueryKeyGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query key groups params

func (*QueryKeyGroupsParams) SetLimit

func (o *QueryKeyGroupsParams) SetLimit(limit *int32)

SetLimit adds the limit to the query key groups params

func (*QueryKeyGroupsParams) SetName

func (o *QueryKeyGroupsParams) SetName(name *string)

SetName adds the name to the query key groups params

func (*QueryKeyGroupsParams) SetNamespace

func (o *QueryKeyGroupsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query key groups params

func (*QueryKeyGroupsParams) SetOffset

func (o *QueryKeyGroupsParams) SetOffset(offset *int32)

SetOffset adds the offset to the query key groups params

func (*QueryKeyGroupsParams) SetTag

func (o *QueryKeyGroupsParams) SetTag(tag *string)

SetTag adds the tag to the query key groups params

func (*QueryKeyGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the query key groups params

func (*QueryKeyGroupsParams) WithContext

WithContext adds the context to the query key groups params

func (*QueryKeyGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query key groups params

func (*QueryKeyGroupsParams) WithLimit

func (o *QueryKeyGroupsParams) WithLimit(limit *int32) *QueryKeyGroupsParams

WithLimit adds the limit to the query key groups params

func (*QueryKeyGroupsParams) WithName

func (o *QueryKeyGroupsParams) WithName(name *string) *QueryKeyGroupsParams

WithName adds the name to the query key groups params

func (*QueryKeyGroupsParams) WithNamespace

func (o *QueryKeyGroupsParams) WithNamespace(namespace string) *QueryKeyGroupsParams

WithNamespace adds the namespace to the query key groups params

func (*QueryKeyGroupsParams) WithOffset

func (o *QueryKeyGroupsParams) WithOffset(offset *int32) *QueryKeyGroupsParams

WithOffset adds the offset to the query key groups params

func (*QueryKeyGroupsParams) WithTag

WithTag adds the tag to the query key groups params

func (*QueryKeyGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the query key groups params

func (*QueryKeyGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryKeyGroupsReader

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

QueryKeyGroupsReader is a Reader for the QueryKeyGroups structure.

func (*QueryKeyGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateKeyGroupConflict

type UpdateKeyGroupConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateKeyGroupConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37271</td><td>Key group [{name}] already exists in namespace [{namespace}]</td></tr></table>

func NewUpdateKeyGroupConflict

func NewUpdateKeyGroupConflict() *UpdateKeyGroupConflict

NewUpdateKeyGroupConflict creates a UpdateKeyGroupConflict with default headers values

func (*UpdateKeyGroupConflict) Error

func (o *UpdateKeyGroupConflict) Error() string

func (*UpdateKeyGroupConflict) GetPayload

type UpdateKeyGroupNotFound

type UpdateKeyGroupNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateKeyGroupNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateKeyGroupNotFound

func NewUpdateKeyGroupNotFound() *UpdateKeyGroupNotFound

NewUpdateKeyGroupNotFound creates a UpdateKeyGroupNotFound with default headers values

func (*UpdateKeyGroupNotFound) Error

func (o *UpdateKeyGroupNotFound) Error() string

func (*UpdateKeyGroupNotFound) GetPayload

type UpdateKeyGroupOK

type UpdateKeyGroupOK struct {
	Payload *platformclientmodels.KeyGroupInfo
}

UpdateKeyGroupOK handles this case with default header values.

successful operation

func NewUpdateKeyGroupOK

func NewUpdateKeyGroupOK() *UpdateKeyGroupOK

NewUpdateKeyGroupOK creates a UpdateKeyGroupOK with default headers values

func (*UpdateKeyGroupOK) Error

func (o *UpdateKeyGroupOK) Error() string

func (*UpdateKeyGroupOK) GetPayload

type UpdateKeyGroupParams

type UpdateKeyGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.KeyGroupUpdate
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace*/
	Namespace string

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

UpdateKeyGroupParams contains all the parameters to send to the API endpoint for the update key group operation typically these are written to a http.Request

func NewUpdateKeyGroupParams

func NewUpdateKeyGroupParams() *UpdateKeyGroupParams

NewUpdateKeyGroupParams creates a new UpdateKeyGroupParams object with the default values initialized.

func NewUpdateKeyGroupParamsWithContext

func NewUpdateKeyGroupParamsWithContext(ctx context.Context) *UpdateKeyGroupParams

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

func NewUpdateKeyGroupParamsWithHTTPClient

func NewUpdateKeyGroupParamsWithHTTPClient(client *http.Client) *UpdateKeyGroupParams

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

func NewUpdateKeyGroupParamsWithTimeout

func NewUpdateKeyGroupParamsWithTimeout(timeout time.Duration) *UpdateKeyGroupParams

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

func (*UpdateKeyGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *UpdateKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update key group params

func (*UpdateKeyGroupParams) SetBody

SetBody adds the body to the update key group params

func (*UpdateKeyGroupParams) SetContext

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

SetContext adds the context to the update key group params

func (*UpdateKeyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update key group params

func (*UpdateKeyGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *UpdateKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update key group params

func (*UpdateKeyGroupParams) SetKeyGroupID

func (o *UpdateKeyGroupParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the update key group params

func (*UpdateKeyGroupParams) SetNamespace

func (o *UpdateKeyGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update key group params

func (*UpdateKeyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update key group params

func (*UpdateKeyGroupParams) WithBody

WithBody adds the body to the update key group params

func (*UpdateKeyGroupParams) WithContext

WithContext adds the context to the update key group params

func (*UpdateKeyGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update key group params

func (*UpdateKeyGroupParams) WithKeyGroupID

func (o *UpdateKeyGroupParams) WithKeyGroupID(keyGroupID string) *UpdateKeyGroupParams

WithKeyGroupID adds the keyGroupID to the update key group params

func (*UpdateKeyGroupParams) WithNamespace

func (o *UpdateKeyGroupParams) WithNamespace(namespace string) *UpdateKeyGroupParams

WithNamespace adds the namespace to the update key group params

func (*UpdateKeyGroupParams) WithTimeout

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

WithTimeout adds the timeout to the update key group params

func (*UpdateKeyGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateKeyGroupReader

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

UpdateKeyGroupReader is a Reader for the UpdateKeyGroup structure.

func (*UpdateKeyGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateKeyGroupUnprocessableEntity

type UpdateKeyGroupUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateKeyGroupUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewUpdateKeyGroupUnprocessableEntity

func NewUpdateKeyGroupUnprocessableEntity() *UpdateKeyGroupUnprocessableEntity

NewUpdateKeyGroupUnprocessableEntity creates a UpdateKeyGroupUnprocessableEntity with default headers values

func (*UpdateKeyGroupUnprocessableEntity) Error

func (*UpdateKeyGroupUnprocessableEntity) GetPayload

type UploadKeysBadRequest

type UploadKeysBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

UploadKeysBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37221</td><td>Invalid key file</td></tr></table>

func NewUploadKeysBadRequest

func NewUploadKeysBadRequest() *UploadKeysBadRequest

NewUploadKeysBadRequest creates a UploadKeysBadRequest with default headers values

func (*UploadKeysBadRequest) Error

func (o *UploadKeysBadRequest) Error() string

func (*UploadKeysBadRequest) GetPayload

type UploadKeysNotFound

type UploadKeysNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UploadKeysNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUploadKeysNotFound

func NewUploadKeysNotFound() *UploadKeysNotFound

NewUploadKeysNotFound creates a UploadKeysNotFound with default headers values

func (*UploadKeysNotFound) Error

func (o *UploadKeysNotFound) Error() string

func (*UploadKeysNotFound) GetPayload

type UploadKeysOK

type UploadKeysOK struct {
	Payload *platformclientmodels.BulkOperationResult
}

UploadKeysOK handles this case with default header values.

successful operation

func NewUploadKeysOK

func NewUploadKeysOK() *UploadKeysOK

NewUploadKeysOK creates a UploadKeysOK with default headers values

func (*UploadKeysOK) Error

func (o *UploadKeysOK) Error() string

func (*UploadKeysOK) GetPayload

type UploadKeysParams

type UploadKeysParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File*/
	File runtime.NamedReadCloser
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace*/
	Namespace string

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

UploadKeysParams contains all the parameters to send to the API endpoint for the upload keys operation typically these are written to a http.Request

func NewUploadKeysParams

func NewUploadKeysParams() *UploadKeysParams

NewUploadKeysParams creates a new UploadKeysParams object with the default values initialized.

func NewUploadKeysParamsWithContext

func NewUploadKeysParamsWithContext(ctx context.Context) *UploadKeysParams

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

func NewUploadKeysParamsWithHTTPClient

func NewUploadKeysParamsWithHTTPClient(client *http.Client) *UploadKeysParams

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

func NewUploadKeysParamsWithTimeout

func NewUploadKeysParamsWithTimeout(timeout time.Duration) *UploadKeysParams

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

func (*UploadKeysParams) SetAuthInfoWriter added in v0.17.0

func (o *UploadKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the upload keys params

func (*UploadKeysParams) SetContext

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

SetContext adds the context to the upload keys params

func (*UploadKeysParams) SetFile

func (o *UploadKeysParams) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the upload keys params

func (*UploadKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload keys params

func (*UploadKeysParams) SetHTTPClientTransport added in v0.19.0

func (o *UploadKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the upload keys params

func (*UploadKeysParams) SetKeyGroupID

func (o *UploadKeysParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the upload keys params

func (*UploadKeysParams) SetNamespace

func (o *UploadKeysParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the upload keys params

func (*UploadKeysParams) SetTimeout

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

SetTimeout adds the timeout to the upload keys params

func (*UploadKeysParams) WithContext

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

WithContext adds the context to the upload keys params

func (*UploadKeysParams) WithFile

WithFile adds the file to the upload keys params

func (*UploadKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload keys params

func (*UploadKeysParams) WithKeyGroupID

func (o *UploadKeysParams) WithKeyGroupID(keyGroupID string) *UploadKeysParams

WithKeyGroupID adds the keyGroupID to the upload keys params

func (*UploadKeysParams) WithNamespace

func (o *UploadKeysParams) WithNamespace(namespace string) *UploadKeysParams

WithNamespace adds the namespace to the upload keys params

func (*UploadKeysParams) WithTimeout

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

WithTimeout adds the timeout to the upload keys params

func (*UploadKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadKeysReader

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

UploadKeysReader is a Reader for the UploadKeys structure.

func (*UploadKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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