registry

package
v0.1.7-dev2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for registry API

func (*Client) DeleteRegistryFunctionNameTag

func (a *Client) DeleteRegistryFunctionNameTag(params *DeleteRegistryFunctionNameTagParams, opts ...ClientOption) (*DeleteRegistryFunctionNameTagOK, error)

DeleteRegistryFunctionNameTag Deletes a function given its `name` and `tag`. The function must be a part of the same org that the session is scoped to.

func (*Client) GetRegistryFunctionOrg

func (a *Client) GetRegistryFunctionOrg(params *GetRegistryFunctionOrgParams, opts ...ClientOption) (*GetRegistryFunctionOrgOK, error)

GetRegistryFunctionOrg Lists all the functions in the given `org`. If the session is scoped to the same `org`, functions that are not public will be returned, otherwise only public functions will be returned.

func (*Client) GetRegistryFunctionOrgNameTag

func (a *Client) GetRegistryFunctionOrgNameTag(params *GetRegistryFunctionOrgNameTagParams, opts ...ClientOption) (*GetRegistryFunctionOrgNameTagOK, error)

GetRegistryFunctionOrgNameTag Retrieves a function from the given `org` given its `name` and `tag`. If the session is scoped to the same `org`, functions that are not public will be returned, otherwise only public functions will be returned.

func (*Client) PostRegistryFunction

func (a *Client) PostRegistryFunction(params *PostRegistryFunctionParams, opts ...ClientOption) (*PostRegistryFunctionOK, error)

PostRegistryFunction Uploads a function to the registry

func (*Client) PostRegistrySignature

func (a *Client) PostRegistrySignature(params *PostRegistrySignatureParams, opts ...ClientOption) (*PostRegistrySignatureOK, error)

PostRegistrySignature Creates a new signature. If the session is scoped to an organization, the signature will be created in that `organization`, otherwise the signature will be created to the user's default `organization`.

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 {
	DeleteRegistryFunctionNameTag(params *DeleteRegistryFunctionNameTagParams, opts ...ClientOption) (*DeleteRegistryFunctionNameTagOK, error)

	GetRegistryFunctionOrg(params *GetRegistryFunctionOrgParams, opts ...ClientOption) (*GetRegistryFunctionOrgOK, error)

	GetRegistryFunctionOrgNameTag(params *GetRegistryFunctionOrgNameTagParams, opts ...ClientOption) (*GetRegistryFunctionOrgNameTagOK, error)

	PostRegistryFunction(params *PostRegistryFunctionParams, opts ...ClientOption) (*PostRegistryFunctionOK, error)

	PostRegistrySignature(params *PostRegistrySignatureParams, opts ...ClientOption) (*PostRegistrySignatureOK, 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 registry API client.

type DeleteRegistryFunctionNameTagBadRequest

type DeleteRegistryFunctionNameTagBadRequest struct {
	Payload string
}

DeleteRegistryFunctionNameTagBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteRegistryFunctionNameTagBadRequest

func NewDeleteRegistryFunctionNameTagBadRequest() *DeleteRegistryFunctionNameTagBadRequest

NewDeleteRegistryFunctionNameTagBadRequest creates a DeleteRegistryFunctionNameTagBadRequest with default headers values

func (*DeleteRegistryFunctionNameTagBadRequest) Code

Code gets the status code for the delete registry function name tag bad request response

func (*DeleteRegistryFunctionNameTagBadRequest) Error

func (*DeleteRegistryFunctionNameTagBadRequest) GetPayload

func (*DeleteRegistryFunctionNameTagBadRequest) IsClientError

func (o *DeleteRegistryFunctionNameTagBadRequest) IsClientError() bool

IsClientError returns true when this delete registry function name tag bad request response has a 4xx status code

func (*DeleteRegistryFunctionNameTagBadRequest) IsCode

IsCode returns true when this delete registry function name tag bad request response a status code equal to that given

func (*DeleteRegistryFunctionNameTagBadRequest) IsRedirect

IsRedirect returns true when this delete registry function name tag bad request response has a 3xx status code

func (*DeleteRegistryFunctionNameTagBadRequest) IsServerError

func (o *DeleteRegistryFunctionNameTagBadRequest) IsServerError() bool

IsServerError returns true when this delete registry function name tag bad request response has a 5xx status code

func (*DeleteRegistryFunctionNameTagBadRequest) IsSuccess

IsSuccess returns true when this delete registry function name tag bad request response has a 2xx status code

func (*DeleteRegistryFunctionNameTagBadRequest) String

type DeleteRegistryFunctionNameTagInternalServerError

type DeleteRegistryFunctionNameTagInternalServerError struct {
	Payload string
}

DeleteRegistryFunctionNameTagInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteRegistryFunctionNameTagInternalServerError

func NewDeleteRegistryFunctionNameTagInternalServerError() *DeleteRegistryFunctionNameTagInternalServerError

NewDeleteRegistryFunctionNameTagInternalServerError creates a DeleteRegistryFunctionNameTagInternalServerError with default headers values

func (*DeleteRegistryFunctionNameTagInternalServerError) Code

Code gets the status code for the delete registry function name tag internal server error response

func (*DeleteRegistryFunctionNameTagInternalServerError) Error

func (*DeleteRegistryFunctionNameTagInternalServerError) GetPayload

func (*DeleteRegistryFunctionNameTagInternalServerError) IsClientError

IsClientError returns true when this delete registry function name tag internal server error response has a 4xx status code

func (*DeleteRegistryFunctionNameTagInternalServerError) IsCode

IsCode returns true when this delete registry function name tag internal server error response a status code equal to that given

func (*DeleteRegistryFunctionNameTagInternalServerError) IsRedirect

IsRedirect returns true when this delete registry function name tag internal server error response has a 3xx status code

func (*DeleteRegistryFunctionNameTagInternalServerError) IsServerError

IsServerError returns true when this delete registry function name tag internal server error response has a 5xx status code

func (*DeleteRegistryFunctionNameTagInternalServerError) IsSuccess

IsSuccess returns true when this delete registry function name tag internal server error response has a 2xx status code

func (*DeleteRegistryFunctionNameTagInternalServerError) String

type DeleteRegistryFunctionNameTagNotFound

type DeleteRegistryFunctionNameTagNotFound struct {
	Payload string
}

DeleteRegistryFunctionNameTagNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteRegistryFunctionNameTagNotFound

func NewDeleteRegistryFunctionNameTagNotFound() *DeleteRegistryFunctionNameTagNotFound

NewDeleteRegistryFunctionNameTagNotFound creates a DeleteRegistryFunctionNameTagNotFound with default headers values

func (*DeleteRegistryFunctionNameTagNotFound) Code

Code gets the status code for the delete registry function name tag not found response

func (*DeleteRegistryFunctionNameTagNotFound) Error

func (*DeleteRegistryFunctionNameTagNotFound) GetPayload

func (*DeleteRegistryFunctionNameTagNotFound) IsClientError

func (o *DeleteRegistryFunctionNameTagNotFound) IsClientError() bool

IsClientError returns true when this delete registry function name tag not found response has a 4xx status code

func (*DeleteRegistryFunctionNameTagNotFound) IsCode

IsCode returns true when this delete registry function name tag not found response a status code equal to that given

func (*DeleteRegistryFunctionNameTagNotFound) IsRedirect

IsRedirect returns true when this delete registry function name tag not found response has a 3xx status code

func (*DeleteRegistryFunctionNameTagNotFound) IsServerError

func (o *DeleteRegistryFunctionNameTagNotFound) IsServerError() bool

IsServerError returns true when this delete registry function name tag not found response has a 5xx status code

func (*DeleteRegistryFunctionNameTagNotFound) IsSuccess

IsSuccess returns true when this delete registry function name tag not found response has a 2xx status code

func (*DeleteRegistryFunctionNameTagNotFound) String

type DeleteRegistryFunctionNameTagOK

type DeleteRegistryFunctionNameTagOK struct {
	Payload string
}

DeleteRegistryFunctionNameTagOK describes a response with status code 200, with default header values.

OK

func NewDeleteRegistryFunctionNameTagOK

func NewDeleteRegistryFunctionNameTagOK() *DeleteRegistryFunctionNameTagOK

NewDeleteRegistryFunctionNameTagOK creates a DeleteRegistryFunctionNameTagOK with default headers values

func (*DeleteRegistryFunctionNameTagOK) Code

Code gets the status code for the delete registry function name tag o k response

func (*DeleteRegistryFunctionNameTagOK) Error

func (*DeleteRegistryFunctionNameTagOK) GetPayload

func (o *DeleteRegistryFunctionNameTagOK) GetPayload() string

func (*DeleteRegistryFunctionNameTagOK) IsClientError

func (o *DeleteRegistryFunctionNameTagOK) IsClientError() bool

IsClientError returns true when this delete registry function name tag o k response has a 4xx status code

func (*DeleteRegistryFunctionNameTagOK) IsCode

func (o *DeleteRegistryFunctionNameTagOK) IsCode(code int) bool

IsCode returns true when this delete registry function name tag o k response a status code equal to that given

func (*DeleteRegistryFunctionNameTagOK) IsRedirect

func (o *DeleteRegistryFunctionNameTagOK) IsRedirect() bool

IsRedirect returns true when this delete registry function name tag o k response has a 3xx status code

func (*DeleteRegistryFunctionNameTagOK) IsServerError

func (o *DeleteRegistryFunctionNameTagOK) IsServerError() bool

IsServerError returns true when this delete registry function name tag o k response has a 5xx status code

func (*DeleteRegistryFunctionNameTagOK) IsSuccess

func (o *DeleteRegistryFunctionNameTagOK) IsSuccess() bool

IsSuccess returns true when this delete registry function name tag o k response has a 2xx status code

func (*DeleteRegistryFunctionNameTagOK) String

type DeleteRegistryFunctionNameTagParams

type DeleteRegistryFunctionNameTagParams struct {

	/* Name.

	   name
	*/
	Name string

	/* Tag.

	   tag
	*/
	Tag string

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

DeleteRegistryFunctionNameTagParams contains all the parameters to send to the API endpoint

for the delete registry function name tag operation.

Typically these are written to a http.Request.

func NewDeleteRegistryFunctionNameTagParams

func NewDeleteRegistryFunctionNameTagParams() *DeleteRegistryFunctionNameTagParams

NewDeleteRegistryFunctionNameTagParams creates a new DeleteRegistryFunctionNameTagParams 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 NewDeleteRegistryFunctionNameTagParamsWithContext

func NewDeleteRegistryFunctionNameTagParamsWithContext(ctx context.Context) *DeleteRegistryFunctionNameTagParams

NewDeleteRegistryFunctionNameTagParamsWithContext creates a new DeleteRegistryFunctionNameTagParams object with the ability to set a context for a request.

func NewDeleteRegistryFunctionNameTagParamsWithHTTPClient

func NewDeleteRegistryFunctionNameTagParamsWithHTTPClient(client *http.Client) *DeleteRegistryFunctionNameTagParams

NewDeleteRegistryFunctionNameTagParamsWithHTTPClient creates a new DeleteRegistryFunctionNameTagParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRegistryFunctionNameTagParamsWithTimeout

func NewDeleteRegistryFunctionNameTagParamsWithTimeout(timeout time.Duration) *DeleteRegistryFunctionNameTagParams

NewDeleteRegistryFunctionNameTagParamsWithTimeout creates a new DeleteRegistryFunctionNameTagParams object with the ability to set a timeout on a request.

func (*DeleteRegistryFunctionNameTagParams) SetContext

SetContext adds the context to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) SetDefaults

func (o *DeleteRegistryFunctionNameTagParams) SetDefaults()

SetDefaults hydrates default values in the delete registry function name tag params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteRegistryFunctionNameTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) SetName

SetName adds the name to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) SetTag

SetTag adds the tag to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) SetTimeout

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

SetTimeout adds the timeout to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) WithContext

WithContext adds the context to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) WithDefaults

WithDefaults hydrates default values in the delete registry function name tag params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteRegistryFunctionNameTagParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) WithName

WithName adds the name to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) WithTag

WithTag adds the tag to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) WithTimeout

WithTimeout adds the timeout to the delete registry function name tag params

func (*DeleteRegistryFunctionNameTagParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRegistryFunctionNameTagReader

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

DeleteRegistryFunctionNameTagReader is a Reader for the DeleteRegistryFunctionNameTag structure.

func (*DeleteRegistryFunctionNameTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRegistryFunctionNameTagUnauthorized

type DeleteRegistryFunctionNameTagUnauthorized struct {
	Payload string
}

DeleteRegistryFunctionNameTagUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteRegistryFunctionNameTagUnauthorized

func NewDeleteRegistryFunctionNameTagUnauthorized() *DeleteRegistryFunctionNameTagUnauthorized

NewDeleteRegistryFunctionNameTagUnauthorized creates a DeleteRegistryFunctionNameTagUnauthorized with default headers values

func (*DeleteRegistryFunctionNameTagUnauthorized) Code

Code gets the status code for the delete registry function name tag unauthorized response

func (*DeleteRegistryFunctionNameTagUnauthorized) Error

func (*DeleteRegistryFunctionNameTagUnauthorized) GetPayload

func (*DeleteRegistryFunctionNameTagUnauthorized) IsClientError

IsClientError returns true when this delete registry function name tag unauthorized response has a 4xx status code

func (*DeleteRegistryFunctionNameTagUnauthorized) IsCode

IsCode returns true when this delete registry function name tag unauthorized response a status code equal to that given

func (*DeleteRegistryFunctionNameTagUnauthorized) IsRedirect

IsRedirect returns true when this delete registry function name tag unauthorized response has a 3xx status code

func (*DeleteRegistryFunctionNameTagUnauthorized) IsServerError

IsServerError returns true when this delete registry function name tag unauthorized response has a 5xx status code

func (*DeleteRegistryFunctionNameTagUnauthorized) IsSuccess

IsSuccess returns true when this delete registry function name tag unauthorized response has a 2xx status code

func (*DeleteRegistryFunctionNameTagUnauthorized) String

type GetRegistryFunctionOrgBadRequest

type GetRegistryFunctionOrgBadRequest struct {
	Payload string
}

GetRegistryFunctionOrgBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetRegistryFunctionOrgBadRequest

func NewGetRegistryFunctionOrgBadRequest() *GetRegistryFunctionOrgBadRequest

NewGetRegistryFunctionOrgBadRequest creates a GetRegistryFunctionOrgBadRequest with default headers values

func (*GetRegistryFunctionOrgBadRequest) Code

Code gets the status code for the get registry function org bad request response

func (*GetRegistryFunctionOrgBadRequest) Error

func (*GetRegistryFunctionOrgBadRequest) GetPayload

func (o *GetRegistryFunctionOrgBadRequest) GetPayload() string

func (*GetRegistryFunctionOrgBadRequest) IsClientError

func (o *GetRegistryFunctionOrgBadRequest) IsClientError() bool

IsClientError returns true when this get registry function org bad request response has a 4xx status code

func (*GetRegistryFunctionOrgBadRequest) IsCode

func (o *GetRegistryFunctionOrgBadRequest) IsCode(code int) bool

IsCode returns true when this get registry function org bad request response a status code equal to that given

func (*GetRegistryFunctionOrgBadRequest) IsRedirect

func (o *GetRegistryFunctionOrgBadRequest) IsRedirect() bool

IsRedirect returns true when this get registry function org bad request response has a 3xx status code

func (*GetRegistryFunctionOrgBadRequest) IsServerError

func (o *GetRegistryFunctionOrgBadRequest) IsServerError() bool

IsServerError returns true when this get registry function org bad request response has a 5xx status code

func (*GetRegistryFunctionOrgBadRequest) IsSuccess

func (o *GetRegistryFunctionOrgBadRequest) IsSuccess() bool

IsSuccess returns true when this get registry function org bad request response has a 2xx status code

func (*GetRegistryFunctionOrgBadRequest) String

type GetRegistryFunctionOrgInternalServerError

type GetRegistryFunctionOrgInternalServerError struct {
	Payload string
}

GetRegistryFunctionOrgInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetRegistryFunctionOrgInternalServerError

func NewGetRegistryFunctionOrgInternalServerError() *GetRegistryFunctionOrgInternalServerError

NewGetRegistryFunctionOrgInternalServerError creates a GetRegistryFunctionOrgInternalServerError with default headers values

func (*GetRegistryFunctionOrgInternalServerError) Code

Code gets the status code for the get registry function org internal server error response

func (*GetRegistryFunctionOrgInternalServerError) Error

func (*GetRegistryFunctionOrgInternalServerError) GetPayload

func (*GetRegistryFunctionOrgInternalServerError) IsClientError

IsClientError returns true when this get registry function org internal server error response has a 4xx status code

func (*GetRegistryFunctionOrgInternalServerError) IsCode

IsCode returns true when this get registry function org internal server error response a status code equal to that given

func (*GetRegistryFunctionOrgInternalServerError) IsRedirect

IsRedirect returns true when this get registry function org internal server error response has a 3xx status code

func (*GetRegistryFunctionOrgInternalServerError) IsServerError

IsServerError returns true when this get registry function org internal server error response has a 5xx status code

func (*GetRegistryFunctionOrgInternalServerError) IsSuccess

IsSuccess returns true when this get registry function org internal server error response has a 2xx status code

func (*GetRegistryFunctionOrgInternalServerError) String

type GetRegistryFunctionOrgNameTagBadRequest

type GetRegistryFunctionOrgNameTagBadRequest struct {
	Payload string
}

GetRegistryFunctionOrgNameTagBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetRegistryFunctionOrgNameTagBadRequest

func NewGetRegistryFunctionOrgNameTagBadRequest() *GetRegistryFunctionOrgNameTagBadRequest

NewGetRegistryFunctionOrgNameTagBadRequest creates a GetRegistryFunctionOrgNameTagBadRequest with default headers values

func (*GetRegistryFunctionOrgNameTagBadRequest) Code

Code gets the status code for the get registry function org name tag bad request response

func (*GetRegistryFunctionOrgNameTagBadRequest) Error

func (*GetRegistryFunctionOrgNameTagBadRequest) GetPayload

func (*GetRegistryFunctionOrgNameTagBadRequest) IsClientError

func (o *GetRegistryFunctionOrgNameTagBadRequest) IsClientError() bool

IsClientError returns true when this get registry function org name tag bad request response has a 4xx status code

func (*GetRegistryFunctionOrgNameTagBadRequest) IsCode

IsCode returns true when this get registry function org name tag bad request response a status code equal to that given

func (*GetRegistryFunctionOrgNameTagBadRequest) IsRedirect

IsRedirect returns true when this get registry function org name tag bad request response has a 3xx status code

func (*GetRegistryFunctionOrgNameTagBadRequest) IsServerError

func (o *GetRegistryFunctionOrgNameTagBadRequest) IsServerError() bool

IsServerError returns true when this get registry function org name tag bad request response has a 5xx status code

func (*GetRegistryFunctionOrgNameTagBadRequest) IsSuccess

IsSuccess returns true when this get registry function org name tag bad request response has a 2xx status code

func (*GetRegistryFunctionOrgNameTagBadRequest) String

type GetRegistryFunctionOrgNameTagInternalServerError

type GetRegistryFunctionOrgNameTagInternalServerError struct {
	Payload string
}

GetRegistryFunctionOrgNameTagInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetRegistryFunctionOrgNameTagInternalServerError

func NewGetRegistryFunctionOrgNameTagInternalServerError() *GetRegistryFunctionOrgNameTagInternalServerError

NewGetRegistryFunctionOrgNameTagInternalServerError creates a GetRegistryFunctionOrgNameTagInternalServerError with default headers values

func (*GetRegistryFunctionOrgNameTagInternalServerError) Code

Code gets the status code for the get registry function org name tag internal server error response

func (*GetRegistryFunctionOrgNameTagInternalServerError) Error

func (*GetRegistryFunctionOrgNameTagInternalServerError) GetPayload

func (*GetRegistryFunctionOrgNameTagInternalServerError) IsClientError

IsClientError returns true when this get registry function org name tag internal server error response has a 4xx status code

func (*GetRegistryFunctionOrgNameTagInternalServerError) IsCode

IsCode returns true when this get registry function org name tag internal server error response a status code equal to that given

func (*GetRegistryFunctionOrgNameTagInternalServerError) IsRedirect

IsRedirect returns true when this get registry function org name tag internal server error response has a 3xx status code

func (*GetRegistryFunctionOrgNameTagInternalServerError) IsServerError

IsServerError returns true when this get registry function org name tag internal server error response has a 5xx status code

func (*GetRegistryFunctionOrgNameTagInternalServerError) IsSuccess

IsSuccess returns true when this get registry function org name tag internal server error response has a 2xx status code

func (*GetRegistryFunctionOrgNameTagInternalServerError) String

type GetRegistryFunctionOrgNameTagNotFound

type GetRegistryFunctionOrgNameTagNotFound struct {
	Payload string
}

GetRegistryFunctionOrgNameTagNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetRegistryFunctionOrgNameTagNotFound

func NewGetRegistryFunctionOrgNameTagNotFound() *GetRegistryFunctionOrgNameTagNotFound

NewGetRegistryFunctionOrgNameTagNotFound creates a GetRegistryFunctionOrgNameTagNotFound with default headers values

func (*GetRegistryFunctionOrgNameTagNotFound) Code

Code gets the status code for the get registry function org name tag not found response

func (*GetRegistryFunctionOrgNameTagNotFound) Error

func (*GetRegistryFunctionOrgNameTagNotFound) GetPayload

func (*GetRegistryFunctionOrgNameTagNotFound) IsClientError

func (o *GetRegistryFunctionOrgNameTagNotFound) IsClientError() bool

IsClientError returns true when this get registry function org name tag not found response has a 4xx status code

func (*GetRegistryFunctionOrgNameTagNotFound) IsCode

IsCode returns true when this get registry function org name tag not found response a status code equal to that given

func (*GetRegistryFunctionOrgNameTagNotFound) IsRedirect

IsRedirect returns true when this get registry function org name tag not found response has a 3xx status code

func (*GetRegistryFunctionOrgNameTagNotFound) IsServerError

func (o *GetRegistryFunctionOrgNameTagNotFound) IsServerError() bool

IsServerError returns true when this get registry function org name tag not found response has a 5xx status code

func (*GetRegistryFunctionOrgNameTagNotFound) IsSuccess

IsSuccess returns true when this get registry function org name tag not found response has a 2xx status code

func (*GetRegistryFunctionOrgNameTagNotFound) String

type GetRegistryFunctionOrgNameTagOK

type GetRegistryFunctionOrgNameTagOK struct {
	Payload *models.ModelsGetFunctionResponse
}

GetRegistryFunctionOrgNameTagOK describes a response with status code 200, with default header values.

OK

func NewGetRegistryFunctionOrgNameTagOK

func NewGetRegistryFunctionOrgNameTagOK() *GetRegistryFunctionOrgNameTagOK

NewGetRegistryFunctionOrgNameTagOK creates a GetRegistryFunctionOrgNameTagOK with default headers values

func (*GetRegistryFunctionOrgNameTagOK) Code

Code gets the status code for the get registry function org name tag o k response

func (*GetRegistryFunctionOrgNameTagOK) Error

func (*GetRegistryFunctionOrgNameTagOK) GetPayload

func (*GetRegistryFunctionOrgNameTagOK) IsClientError

func (o *GetRegistryFunctionOrgNameTagOK) IsClientError() bool

IsClientError returns true when this get registry function org name tag o k response has a 4xx status code

func (*GetRegistryFunctionOrgNameTagOK) IsCode

func (o *GetRegistryFunctionOrgNameTagOK) IsCode(code int) bool

IsCode returns true when this get registry function org name tag o k response a status code equal to that given

func (*GetRegistryFunctionOrgNameTagOK) IsRedirect

func (o *GetRegistryFunctionOrgNameTagOK) IsRedirect() bool

IsRedirect returns true when this get registry function org name tag o k response has a 3xx status code

func (*GetRegistryFunctionOrgNameTagOK) IsServerError

func (o *GetRegistryFunctionOrgNameTagOK) IsServerError() bool

IsServerError returns true when this get registry function org name tag o k response has a 5xx status code

func (*GetRegistryFunctionOrgNameTagOK) IsSuccess

func (o *GetRegistryFunctionOrgNameTagOK) IsSuccess() bool

IsSuccess returns true when this get registry function org name tag o k response has a 2xx status code

func (*GetRegistryFunctionOrgNameTagOK) String

type GetRegistryFunctionOrgNameTagParams

type GetRegistryFunctionOrgNameTagParams struct {

	/* Name.

	   name
	*/
	Name string

	/* Org.

	   org
	*/
	Org string

	/* Tag.

	   tag
	*/
	Tag string

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

GetRegistryFunctionOrgNameTagParams contains all the parameters to send to the API endpoint

for the get registry function org name tag operation.

Typically these are written to a http.Request.

func NewGetRegistryFunctionOrgNameTagParams

func NewGetRegistryFunctionOrgNameTagParams() *GetRegistryFunctionOrgNameTagParams

NewGetRegistryFunctionOrgNameTagParams creates a new GetRegistryFunctionOrgNameTagParams 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 NewGetRegistryFunctionOrgNameTagParamsWithContext

func NewGetRegistryFunctionOrgNameTagParamsWithContext(ctx context.Context) *GetRegistryFunctionOrgNameTagParams

NewGetRegistryFunctionOrgNameTagParamsWithContext creates a new GetRegistryFunctionOrgNameTagParams object with the ability to set a context for a request.

func NewGetRegistryFunctionOrgNameTagParamsWithHTTPClient

func NewGetRegistryFunctionOrgNameTagParamsWithHTTPClient(client *http.Client) *GetRegistryFunctionOrgNameTagParams

NewGetRegistryFunctionOrgNameTagParamsWithHTTPClient creates a new GetRegistryFunctionOrgNameTagParams object with the ability to set a custom HTTPClient for a request.

func NewGetRegistryFunctionOrgNameTagParamsWithTimeout

func NewGetRegistryFunctionOrgNameTagParamsWithTimeout(timeout time.Duration) *GetRegistryFunctionOrgNameTagParams

NewGetRegistryFunctionOrgNameTagParamsWithTimeout creates a new GetRegistryFunctionOrgNameTagParams object with the ability to set a timeout on a request.

func (*GetRegistryFunctionOrgNameTagParams) SetContext

SetContext adds the context to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) SetDefaults

func (o *GetRegistryFunctionOrgNameTagParams) SetDefaults()

SetDefaults hydrates default values in the get registry function org name tag params (not the query body).

All values with no default are reset to their zero value.

func (*GetRegistryFunctionOrgNameTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) SetName

SetName adds the name to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) SetOrg

SetOrg adds the org to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) SetTag

SetTag adds the tag to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) SetTimeout

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

SetTimeout adds the timeout to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) WithContext

WithContext adds the context to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) WithDefaults

WithDefaults hydrates default values in the get registry function org name tag params (not the query body).

All values with no default are reset to their zero value.

func (*GetRegistryFunctionOrgNameTagParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) WithName

WithName adds the name to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) WithOrg

WithOrg adds the org to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) WithTag

WithTag adds the tag to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) WithTimeout

WithTimeout adds the timeout to the get registry function org name tag params

func (*GetRegistryFunctionOrgNameTagParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRegistryFunctionOrgNameTagReader

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

GetRegistryFunctionOrgNameTagReader is a Reader for the GetRegistryFunctionOrgNameTag structure.

func (*GetRegistryFunctionOrgNameTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRegistryFunctionOrgNameTagUnauthorized

type GetRegistryFunctionOrgNameTagUnauthorized struct {
	Payload string
}

GetRegistryFunctionOrgNameTagUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetRegistryFunctionOrgNameTagUnauthorized

func NewGetRegistryFunctionOrgNameTagUnauthorized() *GetRegistryFunctionOrgNameTagUnauthorized

NewGetRegistryFunctionOrgNameTagUnauthorized creates a GetRegistryFunctionOrgNameTagUnauthorized with default headers values

func (*GetRegistryFunctionOrgNameTagUnauthorized) Code

Code gets the status code for the get registry function org name tag unauthorized response

func (*GetRegistryFunctionOrgNameTagUnauthorized) Error

func (*GetRegistryFunctionOrgNameTagUnauthorized) GetPayload

func (*GetRegistryFunctionOrgNameTagUnauthorized) IsClientError

IsClientError returns true when this get registry function org name tag unauthorized response has a 4xx status code

func (*GetRegistryFunctionOrgNameTagUnauthorized) IsCode

IsCode returns true when this get registry function org name tag unauthorized response a status code equal to that given

func (*GetRegistryFunctionOrgNameTagUnauthorized) IsRedirect

IsRedirect returns true when this get registry function org name tag unauthorized response has a 3xx status code

func (*GetRegistryFunctionOrgNameTagUnauthorized) IsServerError

IsServerError returns true when this get registry function org name tag unauthorized response has a 5xx status code

func (*GetRegistryFunctionOrgNameTagUnauthorized) IsSuccess

IsSuccess returns true when this get registry function org name tag unauthorized response has a 2xx status code

func (*GetRegistryFunctionOrgNameTagUnauthorized) String

type GetRegistryFunctionOrgNotFound

type GetRegistryFunctionOrgNotFound struct {
	Payload string
}

GetRegistryFunctionOrgNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetRegistryFunctionOrgNotFound

func NewGetRegistryFunctionOrgNotFound() *GetRegistryFunctionOrgNotFound

NewGetRegistryFunctionOrgNotFound creates a GetRegistryFunctionOrgNotFound with default headers values

func (*GetRegistryFunctionOrgNotFound) Code

Code gets the status code for the get registry function org not found response

func (*GetRegistryFunctionOrgNotFound) Error

func (*GetRegistryFunctionOrgNotFound) GetPayload

func (o *GetRegistryFunctionOrgNotFound) GetPayload() string

func (*GetRegistryFunctionOrgNotFound) IsClientError

func (o *GetRegistryFunctionOrgNotFound) IsClientError() bool

IsClientError returns true when this get registry function org not found response has a 4xx status code

func (*GetRegistryFunctionOrgNotFound) IsCode

func (o *GetRegistryFunctionOrgNotFound) IsCode(code int) bool

IsCode returns true when this get registry function org not found response a status code equal to that given

func (*GetRegistryFunctionOrgNotFound) IsRedirect

func (o *GetRegistryFunctionOrgNotFound) IsRedirect() bool

IsRedirect returns true when this get registry function org not found response has a 3xx status code

func (*GetRegistryFunctionOrgNotFound) IsServerError

func (o *GetRegistryFunctionOrgNotFound) IsServerError() bool

IsServerError returns true when this get registry function org not found response has a 5xx status code

func (*GetRegistryFunctionOrgNotFound) IsSuccess

func (o *GetRegistryFunctionOrgNotFound) IsSuccess() bool

IsSuccess returns true when this get registry function org not found response has a 2xx status code

func (*GetRegistryFunctionOrgNotFound) String

type GetRegistryFunctionOrgOK

type GetRegistryFunctionOrgOK struct {
	Payload []*models.ModelsFunctionResponse
}

GetRegistryFunctionOrgOK describes a response with status code 200, with default header values.

OK

func NewGetRegistryFunctionOrgOK

func NewGetRegistryFunctionOrgOK() *GetRegistryFunctionOrgOK

NewGetRegistryFunctionOrgOK creates a GetRegistryFunctionOrgOK with default headers values

func (*GetRegistryFunctionOrgOK) Code

func (o *GetRegistryFunctionOrgOK) Code() int

Code gets the status code for the get registry function org o k response

func (*GetRegistryFunctionOrgOK) Error

func (o *GetRegistryFunctionOrgOK) Error() string

func (*GetRegistryFunctionOrgOK) GetPayload

func (*GetRegistryFunctionOrgOK) IsClientError

func (o *GetRegistryFunctionOrgOK) IsClientError() bool

IsClientError returns true when this get registry function org o k response has a 4xx status code

func (*GetRegistryFunctionOrgOK) IsCode

func (o *GetRegistryFunctionOrgOK) IsCode(code int) bool

IsCode returns true when this get registry function org o k response a status code equal to that given

func (*GetRegistryFunctionOrgOK) IsRedirect

func (o *GetRegistryFunctionOrgOK) IsRedirect() bool

IsRedirect returns true when this get registry function org o k response has a 3xx status code

func (*GetRegistryFunctionOrgOK) IsServerError

func (o *GetRegistryFunctionOrgOK) IsServerError() bool

IsServerError returns true when this get registry function org o k response has a 5xx status code

func (*GetRegistryFunctionOrgOK) IsSuccess

func (o *GetRegistryFunctionOrgOK) IsSuccess() bool

IsSuccess returns true when this get registry function org o k response has a 2xx status code

func (*GetRegistryFunctionOrgOK) String

func (o *GetRegistryFunctionOrgOK) String() string

type GetRegistryFunctionOrgParams

type GetRegistryFunctionOrgParams struct {

	/* Org.

	   org
	*/
	Org string

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

GetRegistryFunctionOrgParams contains all the parameters to send to the API endpoint

for the get registry function org operation.

Typically these are written to a http.Request.

func NewGetRegistryFunctionOrgParams

func NewGetRegistryFunctionOrgParams() *GetRegistryFunctionOrgParams

NewGetRegistryFunctionOrgParams creates a new GetRegistryFunctionOrgParams 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 NewGetRegistryFunctionOrgParamsWithContext

func NewGetRegistryFunctionOrgParamsWithContext(ctx context.Context) *GetRegistryFunctionOrgParams

NewGetRegistryFunctionOrgParamsWithContext creates a new GetRegistryFunctionOrgParams object with the ability to set a context for a request.

func NewGetRegistryFunctionOrgParamsWithHTTPClient

func NewGetRegistryFunctionOrgParamsWithHTTPClient(client *http.Client) *GetRegistryFunctionOrgParams

NewGetRegistryFunctionOrgParamsWithHTTPClient creates a new GetRegistryFunctionOrgParams object with the ability to set a custom HTTPClient for a request.

func NewGetRegistryFunctionOrgParamsWithTimeout

func NewGetRegistryFunctionOrgParamsWithTimeout(timeout time.Duration) *GetRegistryFunctionOrgParams

NewGetRegistryFunctionOrgParamsWithTimeout creates a new GetRegistryFunctionOrgParams object with the ability to set a timeout on a request.

func (*GetRegistryFunctionOrgParams) SetContext

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

SetContext adds the context to the get registry function org params

func (*GetRegistryFunctionOrgParams) SetDefaults

func (o *GetRegistryFunctionOrgParams) SetDefaults()

SetDefaults hydrates default values in the get registry function org params (not the query body).

All values with no default are reset to their zero value.

func (*GetRegistryFunctionOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get registry function org params

func (*GetRegistryFunctionOrgParams) SetOrg

func (o *GetRegistryFunctionOrgParams) SetOrg(org string)

SetOrg adds the org to the get registry function org params

func (*GetRegistryFunctionOrgParams) SetTimeout

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

SetTimeout adds the timeout to the get registry function org params

func (*GetRegistryFunctionOrgParams) WithContext

WithContext adds the context to the get registry function org params

func (*GetRegistryFunctionOrgParams) WithDefaults

WithDefaults hydrates default values in the get registry function org params (not the query body).

All values with no default are reset to their zero value.

func (*GetRegistryFunctionOrgParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get registry function org params

func (*GetRegistryFunctionOrgParams) WithOrg

WithOrg adds the org to the get registry function org params

func (*GetRegistryFunctionOrgParams) WithTimeout

WithTimeout adds the timeout to the get registry function org params

func (*GetRegistryFunctionOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRegistryFunctionOrgReader

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

GetRegistryFunctionOrgReader is a Reader for the GetRegistryFunctionOrg structure.

func (*GetRegistryFunctionOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRegistryFunctionOrgUnauthorized

type GetRegistryFunctionOrgUnauthorized struct {
	Payload string
}

GetRegistryFunctionOrgUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetRegistryFunctionOrgUnauthorized

func NewGetRegistryFunctionOrgUnauthorized() *GetRegistryFunctionOrgUnauthorized

NewGetRegistryFunctionOrgUnauthorized creates a GetRegistryFunctionOrgUnauthorized with default headers values

func (*GetRegistryFunctionOrgUnauthorized) Code

Code gets the status code for the get registry function org unauthorized response

func (*GetRegistryFunctionOrgUnauthorized) Error

func (*GetRegistryFunctionOrgUnauthorized) GetPayload

func (*GetRegistryFunctionOrgUnauthorized) IsClientError

func (o *GetRegistryFunctionOrgUnauthorized) IsClientError() bool

IsClientError returns true when this get registry function org unauthorized response has a 4xx status code

func (*GetRegistryFunctionOrgUnauthorized) IsCode

IsCode returns true when this get registry function org unauthorized response a status code equal to that given

func (*GetRegistryFunctionOrgUnauthorized) IsRedirect

func (o *GetRegistryFunctionOrgUnauthorized) IsRedirect() bool

IsRedirect returns true when this get registry function org unauthorized response has a 3xx status code

func (*GetRegistryFunctionOrgUnauthorized) IsServerError

func (o *GetRegistryFunctionOrgUnauthorized) IsServerError() bool

IsServerError returns true when this get registry function org unauthorized response has a 5xx status code

func (*GetRegistryFunctionOrgUnauthorized) IsSuccess

IsSuccess returns true when this get registry function org unauthorized response has a 2xx status code

func (*GetRegistryFunctionOrgUnauthorized) String

type PostRegistryFunctionBadRequest

type PostRegistryFunctionBadRequest struct {
	Payload string
}

PostRegistryFunctionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostRegistryFunctionBadRequest

func NewPostRegistryFunctionBadRequest() *PostRegistryFunctionBadRequest

NewPostRegistryFunctionBadRequest creates a PostRegistryFunctionBadRequest with default headers values

func (*PostRegistryFunctionBadRequest) Code

Code gets the status code for the post registry function bad request response

func (*PostRegistryFunctionBadRequest) Error

func (*PostRegistryFunctionBadRequest) GetPayload

func (o *PostRegistryFunctionBadRequest) GetPayload() string

func (*PostRegistryFunctionBadRequest) IsClientError

func (o *PostRegistryFunctionBadRequest) IsClientError() bool

IsClientError returns true when this post registry function bad request response has a 4xx status code

func (*PostRegistryFunctionBadRequest) IsCode

func (o *PostRegistryFunctionBadRequest) IsCode(code int) bool

IsCode returns true when this post registry function bad request response a status code equal to that given

func (*PostRegistryFunctionBadRequest) IsRedirect

func (o *PostRegistryFunctionBadRequest) IsRedirect() bool

IsRedirect returns true when this post registry function bad request response has a 3xx status code

func (*PostRegistryFunctionBadRequest) IsServerError

func (o *PostRegistryFunctionBadRequest) IsServerError() bool

IsServerError returns true when this post registry function bad request response has a 5xx status code

func (*PostRegistryFunctionBadRequest) IsSuccess

func (o *PostRegistryFunctionBadRequest) IsSuccess() bool

IsSuccess returns true when this post registry function bad request response has a 2xx status code

func (*PostRegistryFunctionBadRequest) String

type PostRegistryFunctionInternalServerError

type PostRegistryFunctionInternalServerError struct {
	Payload string
}

PostRegistryFunctionInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostRegistryFunctionInternalServerError

func NewPostRegistryFunctionInternalServerError() *PostRegistryFunctionInternalServerError

NewPostRegistryFunctionInternalServerError creates a PostRegistryFunctionInternalServerError with default headers values

func (*PostRegistryFunctionInternalServerError) Code

Code gets the status code for the post registry function internal server error response

func (*PostRegistryFunctionInternalServerError) Error

func (*PostRegistryFunctionInternalServerError) GetPayload

func (*PostRegistryFunctionInternalServerError) IsClientError

func (o *PostRegistryFunctionInternalServerError) IsClientError() bool

IsClientError returns true when this post registry function internal server error response has a 4xx status code

func (*PostRegistryFunctionInternalServerError) IsCode

IsCode returns true when this post registry function internal server error response a status code equal to that given

func (*PostRegistryFunctionInternalServerError) IsRedirect

IsRedirect returns true when this post registry function internal server error response has a 3xx status code

func (*PostRegistryFunctionInternalServerError) IsServerError

func (o *PostRegistryFunctionInternalServerError) IsServerError() bool

IsServerError returns true when this post registry function internal server error response has a 5xx status code

func (*PostRegistryFunctionInternalServerError) IsSuccess

IsSuccess returns true when this post registry function internal server error response has a 2xx status code

func (*PostRegistryFunctionInternalServerError) String

type PostRegistryFunctionNotFound

type PostRegistryFunctionNotFound struct {
	Payload string
}

PostRegistryFunctionNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostRegistryFunctionNotFound

func NewPostRegistryFunctionNotFound() *PostRegistryFunctionNotFound

NewPostRegistryFunctionNotFound creates a PostRegistryFunctionNotFound with default headers values

func (*PostRegistryFunctionNotFound) Code

Code gets the status code for the post registry function not found response

func (*PostRegistryFunctionNotFound) Error

func (*PostRegistryFunctionNotFound) GetPayload

func (o *PostRegistryFunctionNotFound) GetPayload() string

func (*PostRegistryFunctionNotFound) IsClientError

func (o *PostRegistryFunctionNotFound) IsClientError() bool

IsClientError returns true when this post registry function not found response has a 4xx status code

func (*PostRegistryFunctionNotFound) IsCode

func (o *PostRegistryFunctionNotFound) IsCode(code int) bool

IsCode returns true when this post registry function not found response a status code equal to that given

func (*PostRegistryFunctionNotFound) IsRedirect

func (o *PostRegistryFunctionNotFound) IsRedirect() bool

IsRedirect returns true when this post registry function not found response has a 3xx status code

func (*PostRegistryFunctionNotFound) IsServerError

func (o *PostRegistryFunctionNotFound) IsServerError() bool

IsServerError returns true when this post registry function not found response has a 5xx status code

func (*PostRegistryFunctionNotFound) IsSuccess

func (o *PostRegistryFunctionNotFound) IsSuccess() bool

IsSuccess returns true when this post registry function not found response has a 2xx status code

func (*PostRegistryFunctionNotFound) String

type PostRegistryFunctionOK

type PostRegistryFunctionOK struct {
	Payload *models.ModelsFunctionResponse
}

PostRegistryFunctionOK describes a response with status code 200, with default header values.

OK

func NewPostRegistryFunctionOK

func NewPostRegistryFunctionOK() *PostRegistryFunctionOK

NewPostRegistryFunctionOK creates a PostRegistryFunctionOK with default headers values

func (*PostRegistryFunctionOK) Code

func (o *PostRegistryFunctionOK) Code() int

Code gets the status code for the post registry function o k response

func (*PostRegistryFunctionOK) Error

func (o *PostRegistryFunctionOK) Error() string

func (*PostRegistryFunctionOK) GetPayload

func (*PostRegistryFunctionOK) IsClientError

func (o *PostRegistryFunctionOK) IsClientError() bool

IsClientError returns true when this post registry function o k response has a 4xx status code

func (*PostRegistryFunctionOK) IsCode

func (o *PostRegistryFunctionOK) IsCode(code int) bool

IsCode returns true when this post registry function o k response a status code equal to that given

func (*PostRegistryFunctionOK) IsRedirect

func (o *PostRegistryFunctionOK) IsRedirect() bool

IsRedirect returns true when this post registry function o k response has a 3xx status code

func (*PostRegistryFunctionOK) IsServerError

func (o *PostRegistryFunctionOK) IsServerError() bool

IsServerError returns true when this post registry function o k response has a 5xx status code

func (*PostRegistryFunctionOK) IsSuccess

func (o *PostRegistryFunctionOK) IsSuccess() bool

IsSuccess returns true when this post registry function o k response has a 2xx status code

func (*PostRegistryFunctionOK) String

func (o *PostRegistryFunctionOK) String() string

type PostRegistryFunctionParams

type PostRegistryFunctionParams struct {

	/* Function.

	   function
	*/
	Function runtime.NamedReadCloser

	/* Public.

	   public
	*/
	Public *bool

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

PostRegistryFunctionParams contains all the parameters to send to the API endpoint

for the post registry function operation.

Typically these are written to a http.Request.

func NewPostRegistryFunctionParams

func NewPostRegistryFunctionParams() *PostRegistryFunctionParams

NewPostRegistryFunctionParams creates a new PostRegistryFunctionParams 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 NewPostRegistryFunctionParamsWithContext

func NewPostRegistryFunctionParamsWithContext(ctx context.Context) *PostRegistryFunctionParams

NewPostRegistryFunctionParamsWithContext creates a new PostRegistryFunctionParams object with the ability to set a context for a request.

func NewPostRegistryFunctionParamsWithHTTPClient

func NewPostRegistryFunctionParamsWithHTTPClient(client *http.Client) *PostRegistryFunctionParams

NewPostRegistryFunctionParamsWithHTTPClient creates a new PostRegistryFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewPostRegistryFunctionParamsWithTimeout

func NewPostRegistryFunctionParamsWithTimeout(timeout time.Duration) *PostRegistryFunctionParams

NewPostRegistryFunctionParamsWithTimeout creates a new PostRegistryFunctionParams object with the ability to set a timeout on a request.

func (*PostRegistryFunctionParams) SetContext

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

SetContext adds the context to the post registry function params

func (*PostRegistryFunctionParams) SetDefaults

func (o *PostRegistryFunctionParams) SetDefaults()

SetDefaults hydrates default values in the post registry function params (not the query body).

All values with no default are reset to their zero value.

func (*PostRegistryFunctionParams) SetFunction

func (o *PostRegistryFunctionParams) SetFunction(function runtime.NamedReadCloser)

SetFunction adds the function to the post registry function params

func (*PostRegistryFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post registry function params

func (*PostRegistryFunctionParams) SetPublic

func (o *PostRegistryFunctionParams) SetPublic(public *bool)

SetPublic adds the public to the post registry function params

func (*PostRegistryFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the post registry function params

func (*PostRegistryFunctionParams) WithContext

WithContext adds the context to the post registry function params

func (*PostRegistryFunctionParams) WithDefaults

WithDefaults hydrates default values in the post registry function params (not the query body).

All values with no default are reset to their zero value.

func (*PostRegistryFunctionParams) WithFunction

WithFunction adds the function to the post registry function params

func (*PostRegistryFunctionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post registry function params

func (*PostRegistryFunctionParams) WithPublic

WithPublic adds the public to the post registry function params

func (*PostRegistryFunctionParams) WithTimeout

WithTimeout adds the timeout to the post registry function params

func (*PostRegistryFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRegistryFunctionPreconditionFailed

type PostRegistryFunctionPreconditionFailed struct {
	Payload string
}

PostRegistryFunctionPreconditionFailed describes a response with status code 412, with default header values.

Precondition Failed

func NewPostRegistryFunctionPreconditionFailed

func NewPostRegistryFunctionPreconditionFailed() *PostRegistryFunctionPreconditionFailed

NewPostRegistryFunctionPreconditionFailed creates a PostRegistryFunctionPreconditionFailed with default headers values

func (*PostRegistryFunctionPreconditionFailed) Code

Code gets the status code for the post registry function precondition failed response

func (*PostRegistryFunctionPreconditionFailed) Error

func (*PostRegistryFunctionPreconditionFailed) GetPayload

func (*PostRegistryFunctionPreconditionFailed) IsClientError

func (o *PostRegistryFunctionPreconditionFailed) IsClientError() bool

IsClientError returns true when this post registry function precondition failed response has a 4xx status code

func (*PostRegistryFunctionPreconditionFailed) IsCode

IsCode returns true when this post registry function precondition failed response a status code equal to that given

func (*PostRegistryFunctionPreconditionFailed) IsRedirect

IsRedirect returns true when this post registry function precondition failed response has a 3xx status code

func (*PostRegistryFunctionPreconditionFailed) IsServerError

func (o *PostRegistryFunctionPreconditionFailed) IsServerError() bool

IsServerError returns true when this post registry function precondition failed response has a 5xx status code

func (*PostRegistryFunctionPreconditionFailed) IsSuccess

IsSuccess returns true when this post registry function precondition failed response has a 2xx status code

func (*PostRegistryFunctionPreconditionFailed) String

type PostRegistryFunctionReader

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

PostRegistryFunctionReader is a Reader for the PostRegistryFunction structure.

func (*PostRegistryFunctionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRegistryFunctionUnauthorized

type PostRegistryFunctionUnauthorized struct {
	Payload string
}

PostRegistryFunctionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostRegistryFunctionUnauthorized

func NewPostRegistryFunctionUnauthorized() *PostRegistryFunctionUnauthorized

NewPostRegistryFunctionUnauthorized creates a PostRegistryFunctionUnauthorized with default headers values

func (*PostRegistryFunctionUnauthorized) Code

Code gets the status code for the post registry function unauthorized response

func (*PostRegistryFunctionUnauthorized) Error

func (*PostRegistryFunctionUnauthorized) GetPayload

func (o *PostRegistryFunctionUnauthorized) GetPayload() string

func (*PostRegistryFunctionUnauthorized) IsClientError

func (o *PostRegistryFunctionUnauthorized) IsClientError() bool

IsClientError returns true when this post registry function unauthorized response has a 4xx status code

func (*PostRegistryFunctionUnauthorized) IsCode

func (o *PostRegistryFunctionUnauthorized) IsCode(code int) bool

IsCode returns true when this post registry function unauthorized response a status code equal to that given

func (*PostRegistryFunctionUnauthorized) IsRedirect

func (o *PostRegistryFunctionUnauthorized) IsRedirect() bool

IsRedirect returns true when this post registry function unauthorized response has a 3xx status code

func (*PostRegistryFunctionUnauthorized) IsServerError

func (o *PostRegistryFunctionUnauthorized) IsServerError() bool

IsServerError returns true when this post registry function unauthorized response has a 5xx status code

func (*PostRegistryFunctionUnauthorized) IsSuccess

func (o *PostRegistryFunctionUnauthorized) IsSuccess() bool

IsSuccess returns true when this post registry function unauthorized response has a 2xx status code

func (*PostRegistryFunctionUnauthorized) String

type PostRegistrySignatureBadRequest

type PostRegistrySignatureBadRequest struct {
	Payload string
}

PostRegistrySignatureBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostRegistrySignatureBadRequest

func NewPostRegistrySignatureBadRequest() *PostRegistrySignatureBadRequest

NewPostRegistrySignatureBadRequest creates a PostRegistrySignatureBadRequest with default headers values

func (*PostRegistrySignatureBadRequest) Code

Code gets the status code for the post registry signature bad request response

func (*PostRegistrySignatureBadRequest) Error

func (*PostRegistrySignatureBadRequest) GetPayload

func (o *PostRegistrySignatureBadRequest) GetPayload() string

func (*PostRegistrySignatureBadRequest) IsClientError

func (o *PostRegistrySignatureBadRequest) IsClientError() bool

IsClientError returns true when this post registry signature bad request response has a 4xx status code

func (*PostRegistrySignatureBadRequest) IsCode

func (o *PostRegistrySignatureBadRequest) IsCode(code int) bool

IsCode returns true when this post registry signature bad request response a status code equal to that given

func (*PostRegistrySignatureBadRequest) IsRedirect

func (o *PostRegistrySignatureBadRequest) IsRedirect() bool

IsRedirect returns true when this post registry signature bad request response has a 3xx status code

func (*PostRegistrySignatureBadRequest) IsServerError

func (o *PostRegistrySignatureBadRequest) IsServerError() bool

IsServerError returns true when this post registry signature bad request response has a 5xx status code

func (*PostRegistrySignatureBadRequest) IsSuccess

func (o *PostRegistrySignatureBadRequest) IsSuccess() bool

IsSuccess returns true when this post registry signature bad request response has a 2xx status code

func (*PostRegistrySignatureBadRequest) String

type PostRegistrySignatureInternalServerError

type PostRegistrySignatureInternalServerError struct {
	Payload string
}

PostRegistrySignatureInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostRegistrySignatureInternalServerError

func NewPostRegistrySignatureInternalServerError() *PostRegistrySignatureInternalServerError

NewPostRegistrySignatureInternalServerError creates a PostRegistrySignatureInternalServerError with default headers values

func (*PostRegistrySignatureInternalServerError) Code

Code gets the status code for the post registry signature internal server error response

func (*PostRegistrySignatureInternalServerError) Error

func (*PostRegistrySignatureInternalServerError) GetPayload

func (*PostRegistrySignatureInternalServerError) IsClientError

IsClientError returns true when this post registry signature internal server error response has a 4xx status code

func (*PostRegistrySignatureInternalServerError) IsCode

IsCode returns true when this post registry signature internal server error response a status code equal to that given

func (*PostRegistrySignatureInternalServerError) IsRedirect

IsRedirect returns true when this post registry signature internal server error response has a 3xx status code

func (*PostRegistrySignatureInternalServerError) IsServerError

IsServerError returns true when this post registry signature internal server error response has a 5xx status code

func (*PostRegistrySignatureInternalServerError) IsSuccess

IsSuccess returns true when this post registry signature internal server error response has a 2xx status code

func (*PostRegistrySignatureInternalServerError) String

type PostRegistrySignatureNotFound

type PostRegistrySignatureNotFound struct {
	Payload string
}

PostRegistrySignatureNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostRegistrySignatureNotFound

func NewPostRegistrySignatureNotFound() *PostRegistrySignatureNotFound

NewPostRegistrySignatureNotFound creates a PostRegistrySignatureNotFound with default headers values

func (*PostRegistrySignatureNotFound) Code

Code gets the status code for the post registry signature not found response

func (*PostRegistrySignatureNotFound) Error

func (*PostRegistrySignatureNotFound) GetPayload

func (o *PostRegistrySignatureNotFound) GetPayload() string

func (*PostRegistrySignatureNotFound) IsClientError

func (o *PostRegistrySignatureNotFound) IsClientError() bool

IsClientError returns true when this post registry signature not found response has a 4xx status code

func (*PostRegistrySignatureNotFound) IsCode

func (o *PostRegistrySignatureNotFound) IsCode(code int) bool

IsCode returns true when this post registry signature not found response a status code equal to that given

func (*PostRegistrySignatureNotFound) IsRedirect

func (o *PostRegistrySignatureNotFound) IsRedirect() bool

IsRedirect returns true when this post registry signature not found response has a 3xx status code

func (*PostRegistrySignatureNotFound) IsServerError

func (o *PostRegistrySignatureNotFound) IsServerError() bool

IsServerError returns true when this post registry signature not found response has a 5xx status code

func (*PostRegistrySignatureNotFound) IsSuccess

func (o *PostRegistrySignatureNotFound) IsSuccess() bool

IsSuccess returns true when this post registry signature not found response has a 2xx status code

func (*PostRegistrySignatureNotFound) String

type PostRegistrySignatureOK

type PostRegistrySignatureOK struct {
	Payload *models.ModelsSignatureResponse
}

PostRegistrySignatureOK describes a response with status code 200, with default header values.

OK

func NewPostRegistrySignatureOK

func NewPostRegistrySignatureOK() *PostRegistrySignatureOK

NewPostRegistrySignatureOK creates a PostRegistrySignatureOK with default headers values

func (*PostRegistrySignatureOK) Code

func (o *PostRegistrySignatureOK) Code() int

Code gets the status code for the post registry signature o k response

func (*PostRegistrySignatureOK) Error

func (o *PostRegistrySignatureOK) Error() string

func (*PostRegistrySignatureOK) GetPayload

func (*PostRegistrySignatureOK) IsClientError

func (o *PostRegistrySignatureOK) IsClientError() bool

IsClientError returns true when this post registry signature o k response has a 4xx status code

func (*PostRegistrySignatureOK) IsCode

func (o *PostRegistrySignatureOK) IsCode(code int) bool

IsCode returns true when this post registry signature o k response a status code equal to that given

func (*PostRegistrySignatureOK) IsRedirect

func (o *PostRegistrySignatureOK) IsRedirect() bool

IsRedirect returns true when this post registry signature o k response has a 3xx status code

func (*PostRegistrySignatureOK) IsServerError

func (o *PostRegistrySignatureOK) IsServerError() bool

IsServerError returns true when this post registry signature o k response has a 5xx status code

func (*PostRegistrySignatureOK) IsSuccess

func (o *PostRegistrySignatureOK) IsSuccess() bool

IsSuccess returns true when this post registry signature o k response has a 2xx status code

func (*PostRegistrySignatureOK) String

func (o *PostRegistrySignatureOK) String() string

type PostRegistrySignatureParams

type PostRegistrySignatureParams struct {

	/* Name.

	   name
	*/
	Name string

	/* Public.

	   public
	*/
	Public *bool

	/* Signature.

	   signature
	*/
	Signature runtime.NamedReadCloser

	/* Tag.

	   tag
	*/
	Tag string

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

PostRegistrySignatureParams contains all the parameters to send to the API endpoint

for the post registry signature operation.

Typically these are written to a http.Request.

func NewPostRegistrySignatureParams

func NewPostRegistrySignatureParams() *PostRegistrySignatureParams

NewPostRegistrySignatureParams creates a new PostRegistrySignatureParams 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 NewPostRegistrySignatureParamsWithContext

func NewPostRegistrySignatureParamsWithContext(ctx context.Context) *PostRegistrySignatureParams

NewPostRegistrySignatureParamsWithContext creates a new PostRegistrySignatureParams object with the ability to set a context for a request.

func NewPostRegistrySignatureParamsWithHTTPClient

func NewPostRegistrySignatureParamsWithHTTPClient(client *http.Client) *PostRegistrySignatureParams

NewPostRegistrySignatureParamsWithHTTPClient creates a new PostRegistrySignatureParams object with the ability to set a custom HTTPClient for a request.

func NewPostRegistrySignatureParamsWithTimeout

func NewPostRegistrySignatureParamsWithTimeout(timeout time.Duration) *PostRegistrySignatureParams

NewPostRegistrySignatureParamsWithTimeout creates a new PostRegistrySignatureParams object with the ability to set a timeout on a request.

func (*PostRegistrySignatureParams) SetContext

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

SetContext adds the context to the post registry signature params

func (*PostRegistrySignatureParams) SetDefaults

func (o *PostRegistrySignatureParams) SetDefaults()

SetDefaults hydrates default values in the post registry signature params (not the query body).

All values with no default are reset to their zero value.

func (*PostRegistrySignatureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post registry signature params

func (*PostRegistrySignatureParams) SetName

func (o *PostRegistrySignatureParams) SetName(name string)

SetName adds the name to the post registry signature params

func (*PostRegistrySignatureParams) SetPublic

func (o *PostRegistrySignatureParams) SetPublic(public *bool)

SetPublic adds the public to the post registry signature params

func (*PostRegistrySignatureParams) SetSignature

func (o *PostRegistrySignatureParams) SetSignature(signature runtime.NamedReadCloser)

SetSignature adds the signature to the post registry signature params

func (*PostRegistrySignatureParams) SetTag

func (o *PostRegistrySignatureParams) SetTag(tag string)

SetTag adds the tag to the post registry signature params

func (*PostRegistrySignatureParams) SetTimeout

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

SetTimeout adds the timeout to the post registry signature params

func (*PostRegistrySignatureParams) WithContext

WithContext adds the context to the post registry signature params

func (*PostRegistrySignatureParams) WithDefaults

WithDefaults hydrates default values in the post registry signature params (not the query body).

All values with no default are reset to their zero value.

func (*PostRegistrySignatureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post registry signature params

func (*PostRegistrySignatureParams) WithName

WithName adds the name to the post registry signature params

func (*PostRegistrySignatureParams) WithPublic

WithPublic adds the public to the post registry signature params

func (*PostRegistrySignatureParams) WithSignature

WithSignature adds the signature to the post registry signature params

func (*PostRegistrySignatureParams) WithTag

WithTag adds the tag to the post registry signature params

func (*PostRegistrySignatureParams) WithTimeout

WithTimeout adds the timeout to the post registry signature params

func (*PostRegistrySignatureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRegistrySignaturePreconditionFailed

type PostRegistrySignaturePreconditionFailed struct {
	Payload string
}

PostRegistrySignaturePreconditionFailed describes a response with status code 412, with default header values.

Precondition Failed

func NewPostRegistrySignaturePreconditionFailed

func NewPostRegistrySignaturePreconditionFailed() *PostRegistrySignaturePreconditionFailed

NewPostRegistrySignaturePreconditionFailed creates a PostRegistrySignaturePreconditionFailed with default headers values

func (*PostRegistrySignaturePreconditionFailed) Code

Code gets the status code for the post registry signature precondition failed response

func (*PostRegistrySignaturePreconditionFailed) Error

func (*PostRegistrySignaturePreconditionFailed) GetPayload

func (*PostRegistrySignaturePreconditionFailed) IsClientError

func (o *PostRegistrySignaturePreconditionFailed) IsClientError() bool

IsClientError returns true when this post registry signature precondition failed response has a 4xx status code

func (*PostRegistrySignaturePreconditionFailed) IsCode

IsCode returns true when this post registry signature precondition failed response a status code equal to that given

func (*PostRegistrySignaturePreconditionFailed) IsRedirect

IsRedirect returns true when this post registry signature precondition failed response has a 3xx status code

func (*PostRegistrySignaturePreconditionFailed) IsServerError

func (o *PostRegistrySignaturePreconditionFailed) IsServerError() bool

IsServerError returns true when this post registry signature precondition failed response has a 5xx status code

func (*PostRegistrySignaturePreconditionFailed) IsSuccess

IsSuccess returns true when this post registry signature precondition failed response has a 2xx status code

func (*PostRegistrySignaturePreconditionFailed) String

type PostRegistrySignatureReader

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

PostRegistrySignatureReader is a Reader for the PostRegistrySignature structure.

func (*PostRegistrySignatureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRegistrySignatureUnauthorized

type PostRegistrySignatureUnauthorized struct {
	Payload string
}

PostRegistrySignatureUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostRegistrySignatureUnauthorized

func NewPostRegistrySignatureUnauthorized() *PostRegistrySignatureUnauthorized

NewPostRegistrySignatureUnauthorized creates a PostRegistrySignatureUnauthorized with default headers values

func (*PostRegistrySignatureUnauthorized) Code

Code gets the status code for the post registry signature unauthorized response

func (*PostRegistrySignatureUnauthorized) Error

func (*PostRegistrySignatureUnauthorized) GetPayload

func (o *PostRegistrySignatureUnauthorized) GetPayload() string

func (*PostRegistrySignatureUnauthorized) IsClientError

func (o *PostRegistrySignatureUnauthorized) IsClientError() bool

IsClientError returns true when this post registry signature unauthorized response has a 4xx status code

func (*PostRegistrySignatureUnauthorized) IsCode

func (o *PostRegistrySignatureUnauthorized) IsCode(code int) bool

IsCode returns true when this post registry signature unauthorized response a status code equal to that given

func (*PostRegistrySignatureUnauthorized) IsRedirect

func (o *PostRegistrySignatureUnauthorized) IsRedirect() bool

IsRedirect returns true when this post registry signature unauthorized response has a 3xx status code

func (*PostRegistrySignatureUnauthorized) IsServerError

func (o *PostRegistrySignatureUnauthorized) IsServerError() bool

IsServerError returns true when this post registry signature unauthorized response has a 5xx status code

func (*PostRegistrySignatureUnauthorized) IsSuccess

func (o *PostRegistrySignatureUnauthorized) IsSuccess() bool

IsSuccess returns true when this post registry signature unauthorized response has a 2xx status code

func (*PostRegistrySignatureUnauthorized) String

Jump to

Keyboard shortcuts

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