registries

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 10 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 registries API

func (*Client) CreateGlobalPrivateRegistry

func (a *Client) CreateGlobalPrivateRegistry(params *CreateGlobalPrivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGlobalPrivateRegistryOK, error)
 CreateGlobalPrivateRegistry creates a global container registry

 Create a global container registry.
Global Private registries are only available to global services.

This can be used to connect your workflows to private container registries that require tokens. The data property in the body is made up from the registry user and token. It follows the pattern : data=USER:TOKEN

func (*Client) CreateGlobalRegistry

func (a *Client) CreateGlobalRegistry(params *CreateGlobalRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGlobalRegistryOK, error)
CreateGlobalRegistry creates a global container registry

Create a global container registry.

Global registries are available to all services. This can be used to connect your workflows to private container registries that require tokens. The data property in the body is made up from the registry user and token. It follows the pattern : data=USER:TOKEN

func (*Client) CreateRegistry

func (a *Client) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRegistryOK, error)
CreateRegistry creates a namespace container registry

Create a namespace container registry.

This can be used to connect your workflows to private container registries that require tokens. The data property in the body is made up from the registry user and token. It follows the pattern : data=USER:TOKEN

func (*Client) DeleteGlobalPrivateRegistry

func (a *Client) DeleteGlobalPrivateRegistry(params *DeleteGlobalPrivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGlobalPrivateRegistryOK, error)
DeleteGlobalPrivateRegistry deletes a global container registry

Delete a global container registry.

Global Private registries are only available to global services.

func (*Client) DeleteGlobalRegistry

func (a *Client) DeleteGlobalRegistry(params *DeleteGlobalRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGlobalRegistryOK, error)
DeleteGlobalRegistry deletes a global container registry

Delete a Global container registry

Global registries are available to all services.

func (*Client) DeleteRegistry

func (a *Client) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRegistryOK, error)

DeleteRegistry deletes a namespace container registry

Delete a namespace container registry

func (*Client) GetGlobalPrivateRegistries

func (a *Client) GetGlobalPrivateRegistries(params *GetGlobalPrivateRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalPrivateRegistriesOK, error)
GetGlobalPrivateRegistries gets list of global private registries

Gets the list of global private registries.

Global Private registries are only available to global services.

func (*Client) GetGlobalRegistries

func (a *Client) GetGlobalRegistries(params *GetGlobalRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalRegistriesOK, error)
GetGlobalRegistries gets list of global registries

Gets the list of global registries.

Global registries are available to all services.

func (*Client) GetRegistries

func (a *Client) GetRegistries(params *GetRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRegistriesOK, error)

GetRegistries gets list of namespace registries

Gets the list of namespace registries.

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 {
	CreateGlobalPrivateRegistry(params *CreateGlobalPrivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGlobalPrivateRegistryOK, error)

	CreateGlobalRegistry(params *CreateGlobalRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGlobalRegistryOK, error)

	CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRegistryOK, error)

	DeleteGlobalPrivateRegistry(params *DeleteGlobalPrivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGlobalPrivateRegistryOK, error)

	DeleteGlobalRegistry(params *DeleteGlobalRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGlobalRegistryOK, error)

	DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRegistryOK, error)

	GetGlobalPrivateRegistries(params *GetGlobalPrivateRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalPrivateRegistriesOK, error)

	GetGlobalRegistries(params *GetGlobalRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalRegistriesOK, error)

	GetRegistries(params *GetRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRegistriesOK, 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 registries API client.

type CreateGlobalPrivateRegistryBody

type CreateGlobalPrivateRegistryBody struct {

	// Target registry connection data containing the user and token.
	// Required: true
	Data *string `json:"data"`

	// Target registry URL
	// Required: true
	Reg *string `json:"reg"`
}

CreateGlobalPrivateRegistryBody create global private registry body // Example: {"data":"admin:8QwFLg%D$qg*","reg":"https://prod.customreg.io"} swagger:model CreateGlobalPrivateRegistryBody

func (*CreateGlobalPrivateRegistryBody) ContextValidate

func (o *CreateGlobalPrivateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create global private registry body based on context it is used

func (*CreateGlobalPrivateRegistryBody) MarshalBinary

func (o *CreateGlobalPrivateRegistryBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateGlobalPrivateRegistryBody) UnmarshalBinary

func (o *CreateGlobalPrivateRegistryBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateGlobalPrivateRegistryBody) Validate

Validate validates this create global private registry body

type CreateGlobalPrivateRegistryOK

type CreateGlobalPrivateRegistryOK struct {
}
CreateGlobalPrivateRegistryOK describes a response with status code 200, with default header values.

successfully created global private registry

func NewCreateGlobalPrivateRegistryOK

func NewCreateGlobalPrivateRegistryOK() *CreateGlobalPrivateRegistryOK

NewCreateGlobalPrivateRegistryOK creates a CreateGlobalPrivateRegistryOK with default headers values

func (*CreateGlobalPrivateRegistryOK) Error

type CreateGlobalPrivateRegistryParams

type CreateGlobalPrivateRegistryParams struct {

	/* RegistryPayload.

	   Payload that contains registry data
	*/
	RegistryPayload CreateGlobalPrivateRegistryBody

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

CreateGlobalPrivateRegistryParams contains all the parameters to send to the API endpoint

for the create global private registry operation.

Typically these are written to a http.Request.

func NewCreateGlobalPrivateRegistryParams

func NewCreateGlobalPrivateRegistryParams() *CreateGlobalPrivateRegistryParams

NewCreateGlobalPrivateRegistryParams creates a new CreateGlobalPrivateRegistryParams 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 NewCreateGlobalPrivateRegistryParamsWithContext

func NewCreateGlobalPrivateRegistryParamsWithContext(ctx context.Context) *CreateGlobalPrivateRegistryParams

NewCreateGlobalPrivateRegistryParamsWithContext creates a new CreateGlobalPrivateRegistryParams object with the ability to set a context for a request.

func NewCreateGlobalPrivateRegistryParamsWithHTTPClient

func NewCreateGlobalPrivateRegistryParamsWithHTTPClient(client *http.Client) *CreateGlobalPrivateRegistryParams

NewCreateGlobalPrivateRegistryParamsWithHTTPClient creates a new CreateGlobalPrivateRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGlobalPrivateRegistryParamsWithTimeout

func NewCreateGlobalPrivateRegistryParamsWithTimeout(timeout time.Duration) *CreateGlobalPrivateRegistryParams

NewCreateGlobalPrivateRegistryParamsWithTimeout creates a new CreateGlobalPrivateRegistryParams object with the ability to set a timeout on a request.

func (*CreateGlobalPrivateRegistryParams) SetContext

SetContext adds the context to the create global private registry params

func (*CreateGlobalPrivateRegistryParams) SetDefaults

func (o *CreateGlobalPrivateRegistryParams) SetDefaults()

SetDefaults hydrates default values in the create global private registry params (not the query body).

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

func (*CreateGlobalPrivateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create global private registry params

func (*CreateGlobalPrivateRegistryParams) SetRegistryPayload

func (o *CreateGlobalPrivateRegistryParams) SetRegistryPayload(registryPayload CreateGlobalPrivateRegistryBody)

SetRegistryPayload adds the registryPayload to the create global private registry params

func (*CreateGlobalPrivateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the create global private registry params

func (*CreateGlobalPrivateRegistryParams) WithContext

WithContext adds the context to the create global private registry params

func (*CreateGlobalPrivateRegistryParams) WithDefaults

WithDefaults hydrates default values in the create global private registry params (not the query body).

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

func (*CreateGlobalPrivateRegistryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create global private registry params

func (*CreateGlobalPrivateRegistryParams) WithRegistryPayload

WithRegistryPayload adds the registryPayload to the create global private registry params

func (*CreateGlobalPrivateRegistryParams) WithTimeout

WithTimeout adds the timeout to the create global private registry params

func (*CreateGlobalPrivateRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGlobalPrivateRegistryReader

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

CreateGlobalPrivateRegistryReader is a Reader for the CreateGlobalPrivateRegistry structure.

func (*CreateGlobalPrivateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateGlobalRegistryBody

type CreateGlobalRegistryBody struct {

	// Target registry connection data containing the user and token.
	// Required: true
	Data *string `json:"data"`

	// Target registry URL
	// Required: true
	Reg *string `json:"reg"`
}

CreateGlobalRegistryBody create global registry body // Example: {"data":"admin:8QwFLg%D$qg*","reg":"https://prod.customreg.io"} swagger:model CreateGlobalRegistryBody

func (*CreateGlobalRegistryBody) ContextValidate

func (o *CreateGlobalRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create global registry body based on context it is used

func (*CreateGlobalRegistryBody) MarshalBinary

func (o *CreateGlobalRegistryBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateGlobalRegistryBody) UnmarshalBinary

func (o *CreateGlobalRegistryBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateGlobalRegistryBody) Validate

func (o *CreateGlobalRegistryBody) Validate(formats strfmt.Registry) error

Validate validates this create global registry body

type CreateGlobalRegistryOK

type CreateGlobalRegistryOK struct {
}
CreateGlobalRegistryOK describes a response with status code 200, with default header values.

successfully created global registry

func NewCreateGlobalRegistryOK

func NewCreateGlobalRegistryOK() *CreateGlobalRegistryOK

NewCreateGlobalRegistryOK creates a CreateGlobalRegistryOK with default headers values

func (*CreateGlobalRegistryOK) Error

func (o *CreateGlobalRegistryOK) Error() string

type CreateGlobalRegistryParams

type CreateGlobalRegistryParams struct {

	/* RegistryPayload.

	   Payload that contains registry data
	*/
	RegistryPayload CreateGlobalRegistryBody

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

CreateGlobalRegistryParams contains all the parameters to send to the API endpoint

for the create global registry operation.

Typically these are written to a http.Request.

func NewCreateGlobalRegistryParams

func NewCreateGlobalRegistryParams() *CreateGlobalRegistryParams

NewCreateGlobalRegistryParams creates a new CreateGlobalRegistryParams 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 NewCreateGlobalRegistryParamsWithContext

func NewCreateGlobalRegistryParamsWithContext(ctx context.Context) *CreateGlobalRegistryParams

NewCreateGlobalRegistryParamsWithContext creates a new CreateGlobalRegistryParams object with the ability to set a context for a request.

func NewCreateGlobalRegistryParamsWithHTTPClient

func NewCreateGlobalRegistryParamsWithHTTPClient(client *http.Client) *CreateGlobalRegistryParams

NewCreateGlobalRegistryParamsWithHTTPClient creates a new CreateGlobalRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGlobalRegistryParamsWithTimeout

func NewCreateGlobalRegistryParamsWithTimeout(timeout time.Duration) *CreateGlobalRegistryParams

NewCreateGlobalRegistryParamsWithTimeout creates a new CreateGlobalRegistryParams object with the ability to set a timeout on a request.

func (*CreateGlobalRegistryParams) SetContext

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

SetContext adds the context to the create global registry params

func (*CreateGlobalRegistryParams) SetDefaults

func (o *CreateGlobalRegistryParams) SetDefaults()

SetDefaults hydrates default values in the create global registry params (not the query body).

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

func (*CreateGlobalRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create global registry params

func (*CreateGlobalRegistryParams) SetRegistryPayload

func (o *CreateGlobalRegistryParams) SetRegistryPayload(registryPayload CreateGlobalRegistryBody)

SetRegistryPayload adds the registryPayload to the create global registry params

func (*CreateGlobalRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the create global registry params

func (*CreateGlobalRegistryParams) WithContext

WithContext adds the context to the create global registry params

func (*CreateGlobalRegistryParams) WithDefaults

WithDefaults hydrates default values in the create global registry params (not the query body).

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

func (*CreateGlobalRegistryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create global registry params

func (*CreateGlobalRegistryParams) WithRegistryPayload

func (o *CreateGlobalRegistryParams) WithRegistryPayload(registryPayload CreateGlobalRegistryBody) *CreateGlobalRegistryParams

WithRegistryPayload adds the registryPayload to the create global registry params

func (*CreateGlobalRegistryParams) WithTimeout

WithTimeout adds the timeout to the create global registry params

func (*CreateGlobalRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGlobalRegistryReader

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

CreateGlobalRegistryReader is a Reader for the CreateGlobalRegistry structure.

func (*CreateGlobalRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRegistryBody

type CreateRegistryBody struct {

	// Target registry connection data containing the user and token.
	// Required: true
	Data *string `json:"data"`

	// Target registry URL
	// Required: true
	Reg *string `json:"reg"`
}

CreateRegistryBody create registry body // Example: {"data":"admin:8QwFLg%D$qg*","reg":"https://prod.customreg.io"} swagger:model CreateRegistryBody

func (*CreateRegistryBody) ContextValidate

func (o *CreateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create registry body based on context it is used

func (*CreateRegistryBody) MarshalBinary

func (o *CreateRegistryBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateRegistryBody) UnmarshalBinary

func (o *CreateRegistryBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateRegistryBody) Validate

func (o *CreateRegistryBody) Validate(formats strfmt.Registry) error

Validate validates this create registry body

type CreateRegistryOK

type CreateRegistryOK struct {
}
CreateRegistryOK describes a response with status code 200, with default header values.

successfully created namespace registry

func NewCreateRegistryOK

func NewCreateRegistryOK() *CreateRegistryOK

NewCreateRegistryOK creates a CreateRegistryOK with default headers values

func (*CreateRegistryOK) Error

func (o *CreateRegistryOK) Error() string

type CreateRegistryParams

type CreateRegistryParams struct {

	/* RegistryPayload.

	   Payload that contains registry data
	*/
	RegistryPayload CreateRegistryBody

	/* Namespace.

	   target namespace
	*/
	Namespace string

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

CreateRegistryParams contains all the parameters to send to the API endpoint

for the create registry operation.

Typically these are written to a http.Request.

func NewCreateRegistryParams

func NewCreateRegistryParams() *CreateRegistryParams

NewCreateRegistryParams creates a new CreateRegistryParams 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 NewCreateRegistryParamsWithContext

func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams

NewCreateRegistryParamsWithContext creates a new CreateRegistryParams object with the ability to set a context for a request.

func NewCreateRegistryParamsWithHTTPClient

func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams

NewCreateRegistryParamsWithHTTPClient creates a new CreateRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRegistryParamsWithTimeout

func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams

NewCreateRegistryParamsWithTimeout creates a new CreateRegistryParams object with the ability to set a timeout on a request.

func (*CreateRegistryParams) SetContext

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

SetContext adds the context to the create registry params

func (*CreateRegistryParams) SetDefaults

func (o *CreateRegistryParams) SetDefaults()

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

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

func (*CreateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create registry params

func (*CreateRegistryParams) SetNamespace

func (o *CreateRegistryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create registry params

func (*CreateRegistryParams) SetRegistryPayload

func (o *CreateRegistryParams) SetRegistryPayload(registryPayload CreateRegistryBody)

SetRegistryPayload adds the registryPayload to the create registry params

func (*CreateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the create registry params

func (*CreateRegistryParams) WithContext

WithContext adds the context to the create registry params

func (*CreateRegistryParams) WithDefaults

func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams

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

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

func (*CreateRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create registry params

func (*CreateRegistryParams) WithNamespace

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

WithNamespace adds the namespace to the create registry params

func (*CreateRegistryParams) WithRegistryPayload

func (o *CreateRegistryParams) WithRegistryPayload(registryPayload CreateRegistryBody) *CreateRegistryParams

WithRegistryPayload adds the registryPayload to the create registry params

func (*CreateRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the create registry params

func (*CreateRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateRegistryReader

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

CreateRegistryReader is a Reader for the CreateRegistry structure.

func (*CreateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGlobalPrivateRegistryBody

type DeleteGlobalPrivateRegistryBody struct {

	// Target registry URL
	// Required: true
	Reg *string `json:"reg"`
}

DeleteGlobalPrivateRegistryBody delete global private registry body // Example: {"data":"admin:8QwFLg%D$qg*","reg":"https://prod.customreg.io"} swagger:model DeleteGlobalPrivateRegistryBody

func (*DeleteGlobalPrivateRegistryBody) ContextValidate

func (o *DeleteGlobalPrivateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete global private registry body based on context it is used

func (*DeleteGlobalPrivateRegistryBody) MarshalBinary

func (o *DeleteGlobalPrivateRegistryBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteGlobalPrivateRegistryBody) UnmarshalBinary

func (o *DeleteGlobalPrivateRegistryBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteGlobalPrivateRegistryBody) Validate

Validate validates this delete global private registry body

type DeleteGlobalPrivateRegistryOK

type DeleteGlobalPrivateRegistryOK struct {
}
DeleteGlobalPrivateRegistryOK describes a response with status code 200, with default header values.

successfully delete global private registry

func NewDeleteGlobalPrivateRegistryOK

func NewDeleteGlobalPrivateRegistryOK() *DeleteGlobalPrivateRegistryOK

NewDeleteGlobalPrivateRegistryOK creates a DeleteGlobalPrivateRegistryOK with default headers values

func (*DeleteGlobalPrivateRegistryOK) Error

type DeleteGlobalPrivateRegistryParams

type DeleteGlobalPrivateRegistryParams struct {

	/* RegistryPayload.

	   Payload that contains registry data
	*/
	RegistryPayload DeleteGlobalPrivateRegistryBody

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

DeleteGlobalPrivateRegistryParams contains all the parameters to send to the API endpoint

for the delete global private registry operation.

Typically these are written to a http.Request.

func NewDeleteGlobalPrivateRegistryParams

func NewDeleteGlobalPrivateRegistryParams() *DeleteGlobalPrivateRegistryParams

NewDeleteGlobalPrivateRegistryParams creates a new DeleteGlobalPrivateRegistryParams 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 NewDeleteGlobalPrivateRegistryParamsWithContext

func NewDeleteGlobalPrivateRegistryParamsWithContext(ctx context.Context) *DeleteGlobalPrivateRegistryParams

NewDeleteGlobalPrivateRegistryParamsWithContext creates a new DeleteGlobalPrivateRegistryParams object with the ability to set a context for a request.

func NewDeleteGlobalPrivateRegistryParamsWithHTTPClient

func NewDeleteGlobalPrivateRegistryParamsWithHTTPClient(client *http.Client) *DeleteGlobalPrivateRegistryParams

NewDeleteGlobalPrivateRegistryParamsWithHTTPClient creates a new DeleteGlobalPrivateRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGlobalPrivateRegistryParamsWithTimeout

func NewDeleteGlobalPrivateRegistryParamsWithTimeout(timeout time.Duration) *DeleteGlobalPrivateRegistryParams

NewDeleteGlobalPrivateRegistryParamsWithTimeout creates a new DeleteGlobalPrivateRegistryParams object with the ability to set a timeout on a request.

func (*DeleteGlobalPrivateRegistryParams) SetContext

SetContext adds the context to the delete global private registry params

func (*DeleteGlobalPrivateRegistryParams) SetDefaults

func (o *DeleteGlobalPrivateRegistryParams) SetDefaults()

SetDefaults hydrates default values in the delete global private registry params (not the query body).

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

func (*DeleteGlobalPrivateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete global private registry params

func (*DeleteGlobalPrivateRegistryParams) SetRegistryPayload

func (o *DeleteGlobalPrivateRegistryParams) SetRegistryPayload(registryPayload DeleteGlobalPrivateRegistryBody)

SetRegistryPayload adds the registryPayload to the delete global private registry params

func (*DeleteGlobalPrivateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the delete global private registry params

func (*DeleteGlobalPrivateRegistryParams) WithContext

WithContext adds the context to the delete global private registry params

func (*DeleteGlobalPrivateRegistryParams) WithDefaults

WithDefaults hydrates default values in the delete global private registry params (not the query body).

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

func (*DeleteGlobalPrivateRegistryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete global private registry params

func (*DeleteGlobalPrivateRegistryParams) WithRegistryPayload

WithRegistryPayload adds the registryPayload to the delete global private registry params

func (*DeleteGlobalPrivateRegistryParams) WithTimeout

WithTimeout adds the timeout to the delete global private registry params

func (*DeleteGlobalPrivateRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGlobalPrivateRegistryReader

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

DeleteGlobalPrivateRegistryReader is a Reader for the DeleteGlobalPrivateRegistry structure.

func (*DeleteGlobalPrivateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGlobalRegistryBody

type DeleteGlobalRegistryBody struct {

	// Target registry URL
	// Required: true
	Reg *string `json:"reg"`
}

DeleteGlobalRegistryBody delete global registry body // Example: {"data":"admin:8QwFLg%D$qg*","reg":"https://prod.customreg.io"} swagger:model DeleteGlobalRegistryBody

func (*DeleteGlobalRegistryBody) ContextValidate

func (o *DeleteGlobalRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete global registry body based on context it is used

func (*DeleteGlobalRegistryBody) MarshalBinary

func (o *DeleteGlobalRegistryBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteGlobalRegistryBody) UnmarshalBinary

func (o *DeleteGlobalRegistryBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteGlobalRegistryBody) Validate

func (o *DeleteGlobalRegistryBody) Validate(formats strfmt.Registry) error

Validate validates this delete global registry body

type DeleteGlobalRegistryOK

type DeleteGlobalRegistryOK struct {
}
DeleteGlobalRegistryOK describes a response with status code 200, with default header values.

successfully delete global registry

func NewDeleteGlobalRegistryOK

func NewDeleteGlobalRegistryOK() *DeleteGlobalRegistryOK

NewDeleteGlobalRegistryOK creates a DeleteGlobalRegistryOK with default headers values

func (*DeleteGlobalRegistryOK) Error

func (o *DeleteGlobalRegistryOK) Error() string

type DeleteGlobalRegistryParams

type DeleteGlobalRegistryParams struct {

	/* RegistryPayload.

	   Payload that contains registry data
	*/
	RegistryPayload DeleteGlobalRegistryBody

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

DeleteGlobalRegistryParams contains all the parameters to send to the API endpoint

for the delete global registry operation.

Typically these are written to a http.Request.

func NewDeleteGlobalRegistryParams

func NewDeleteGlobalRegistryParams() *DeleteGlobalRegistryParams

NewDeleteGlobalRegistryParams creates a new DeleteGlobalRegistryParams 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 NewDeleteGlobalRegistryParamsWithContext

func NewDeleteGlobalRegistryParamsWithContext(ctx context.Context) *DeleteGlobalRegistryParams

NewDeleteGlobalRegistryParamsWithContext creates a new DeleteGlobalRegistryParams object with the ability to set a context for a request.

func NewDeleteGlobalRegistryParamsWithHTTPClient

func NewDeleteGlobalRegistryParamsWithHTTPClient(client *http.Client) *DeleteGlobalRegistryParams

NewDeleteGlobalRegistryParamsWithHTTPClient creates a new DeleteGlobalRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGlobalRegistryParamsWithTimeout

func NewDeleteGlobalRegistryParamsWithTimeout(timeout time.Duration) *DeleteGlobalRegistryParams

NewDeleteGlobalRegistryParamsWithTimeout creates a new DeleteGlobalRegistryParams object with the ability to set a timeout on a request.

func (*DeleteGlobalRegistryParams) SetContext

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

SetContext adds the context to the delete global registry params

func (*DeleteGlobalRegistryParams) SetDefaults

func (o *DeleteGlobalRegistryParams) SetDefaults()

SetDefaults hydrates default values in the delete global registry params (not the query body).

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

func (*DeleteGlobalRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete global registry params

func (*DeleteGlobalRegistryParams) SetRegistryPayload

func (o *DeleteGlobalRegistryParams) SetRegistryPayload(registryPayload DeleteGlobalRegistryBody)

SetRegistryPayload adds the registryPayload to the delete global registry params

func (*DeleteGlobalRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the delete global registry params

func (*DeleteGlobalRegistryParams) WithContext

WithContext adds the context to the delete global registry params

func (*DeleteGlobalRegistryParams) WithDefaults

WithDefaults hydrates default values in the delete global registry params (not the query body).

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

func (*DeleteGlobalRegistryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete global registry params

func (*DeleteGlobalRegistryParams) WithRegistryPayload

func (o *DeleteGlobalRegistryParams) WithRegistryPayload(registryPayload DeleteGlobalRegistryBody) *DeleteGlobalRegistryParams

WithRegistryPayload adds the registryPayload to the delete global registry params

func (*DeleteGlobalRegistryParams) WithTimeout

WithTimeout adds the timeout to the delete global registry params

func (*DeleteGlobalRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGlobalRegistryReader

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

DeleteGlobalRegistryReader is a Reader for the DeleteGlobalRegistry structure.

func (*DeleteGlobalRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRegistryBody

type DeleteRegistryBody struct {

	// Target registry URL
	// Required: true
	Reg *string `json:"reg"`
}

DeleteRegistryBody delete registry body // Example: {"data":"admin:8QwFLg%D$qg*","reg":"https://prod.customreg.io"} swagger:model DeleteRegistryBody

func (*DeleteRegistryBody) ContextValidate

func (o *DeleteRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete registry body based on context it is used

func (*DeleteRegistryBody) MarshalBinary

func (o *DeleteRegistryBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteRegistryBody) UnmarshalBinary

func (o *DeleteRegistryBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteRegistryBody) Validate

func (o *DeleteRegistryBody) Validate(formats strfmt.Registry) error

Validate validates this delete registry body

type DeleteRegistryOK

type DeleteRegistryOK struct {
}
DeleteRegistryOK describes a response with status code 200, with default header values.

successfully delete namespace registry

func NewDeleteRegistryOK

func NewDeleteRegistryOK() *DeleteRegistryOK

NewDeleteRegistryOK creates a DeleteRegistryOK with default headers values

func (*DeleteRegistryOK) Error

func (o *DeleteRegistryOK) Error() string

type DeleteRegistryParams

type DeleteRegistryParams struct {

	/* RegistryPayload.

	   Payload that contains registry data
	*/
	RegistryPayload DeleteRegistryBody

	/* Namespace.

	   target namespace
	*/
	Namespace string

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

DeleteRegistryParams contains all the parameters to send to the API endpoint

for the delete registry operation.

Typically these are written to a http.Request.

func NewDeleteRegistryParams

func NewDeleteRegistryParams() *DeleteRegistryParams

NewDeleteRegistryParams creates a new DeleteRegistryParams 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 NewDeleteRegistryParamsWithContext

func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams

NewDeleteRegistryParamsWithContext creates a new DeleteRegistryParams object with the ability to set a context for a request.

func NewDeleteRegistryParamsWithHTTPClient

func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams

NewDeleteRegistryParamsWithHTTPClient creates a new DeleteRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRegistryParamsWithTimeout

func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams

NewDeleteRegistryParamsWithTimeout creates a new DeleteRegistryParams object with the ability to set a timeout on a request.

func (*DeleteRegistryParams) SetContext

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

SetContext adds the context to the delete registry params

func (*DeleteRegistryParams) SetDefaults

func (o *DeleteRegistryParams) SetDefaults()

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

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

func (*DeleteRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete registry params

func (*DeleteRegistryParams) SetNamespace

func (o *DeleteRegistryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete registry params

func (*DeleteRegistryParams) SetRegistryPayload

func (o *DeleteRegistryParams) SetRegistryPayload(registryPayload DeleteRegistryBody)

SetRegistryPayload adds the registryPayload to the delete registry params

func (*DeleteRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the delete registry params

func (*DeleteRegistryParams) WithContext

WithContext adds the context to the delete registry params

func (*DeleteRegistryParams) WithDefaults

func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams

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

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

func (*DeleteRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete registry params

func (*DeleteRegistryParams) WithNamespace

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

WithNamespace adds the namespace to the delete registry params

func (*DeleteRegistryParams) WithRegistryPayload

func (o *DeleteRegistryParams) WithRegistryPayload(registryPayload DeleteRegistryBody) *DeleteRegistryParams

WithRegistryPayload adds the registryPayload to the delete registry params

func (*DeleteRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the delete registry params

func (*DeleteRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteRegistryReader

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

DeleteRegistryReader is a Reader for the DeleteRegistry structure.

func (*DeleteRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGlobalPrivateRegistriesOK

type GetGlobalPrivateRegistriesOK struct {
}
GetGlobalPrivateRegistriesOK describes a response with status code 200, with default header values.

successfully got global private registries

func NewGetGlobalPrivateRegistriesOK

func NewGetGlobalPrivateRegistriesOK() *GetGlobalPrivateRegistriesOK

NewGetGlobalPrivateRegistriesOK creates a GetGlobalPrivateRegistriesOK with default headers values

func (*GetGlobalPrivateRegistriesOK) Error

type GetGlobalPrivateRegistriesParams

type GetGlobalPrivateRegistriesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGlobalPrivateRegistriesParams contains all the parameters to send to the API endpoint

for the get global private registries operation.

Typically these are written to a http.Request.

func NewGetGlobalPrivateRegistriesParams

func NewGetGlobalPrivateRegistriesParams() *GetGlobalPrivateRegistriesParams

NewGetGlobalPrivateRegistriesParams creates a new GetGlobalPrivateRegistriesParams 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 NewGetGlobalPrivateRegistriesParamsWithContext

func NewGetGlobalPrivateRegistriesParamsWithContext(ctx context.Context) *GetGlobalPrivateRegistriesParams

NewGetGlobalPrivateRegistriesParamsWithContext creates a new GetGlobalPrivateRegistriesParams object with the ability to set a context for a request.

func NewGetGlobalPrivateRegistriesParamsWithHTTPClient

func NewGetGlobalPrivateRegistriesParamsWithHTTPClient(client *http.Client) *GetGlobalPrivateRegistriesParams

NewGetGlobalPrivateRegistriesParamsWithHTTPClient creates a new GetGlobalPrivateRegistriesParams object with the ability to set a custom HTTPClient for a request.

func NewGetGlobalPrivateRegistriesParamsWithTimeout

func NewGetGlobalPrivateRegistriesParamsWithTimeout(timeout time.Duration) *GetGlobalPrivateRegistriesParams

NewGetGlobalPrivateRegistriesParamsWithTimeout creates a new GetGlobalPrivateRegistriesParams object with the ability to set a timeout on a request.

func (*GetGlobalPrivateRegistriesParams) SetContext

SetContext adds the context to the get global private registries params

func (*GetGlobalPrivateRegistriesParams) SetDefaults

func (o *GetGlobalPrivateRegistriesParams) SetDefaults()

SetDefaults hydrates default values in the get global private registries params (not the query body).

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

func (*GetGlobalPrivateRegistriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get global private registries params

func (*GetGlobalPrivateRegistriesParams) SetTimeout

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

SetTimeout adds the timeout to the get global private registries params

func (*GetGlobalPrivateRegistriesParams) WithContext

WithContext adds the context to the get global private registries params

func (*GetGlobalPrivateRegistriesParams) WithDefaults

WithDefaults hydrates default values in the get global private registries params (not the query body).

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

func (*GetGlobalPrivateRegistriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get global private registries params

func (*GetGlobalPrivateRegistriesParams) WithTimeout

WithTimeout adds the timeout to the get global private registries params

func (*GetGlobalPrivateRegistriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalPrivateRegistriesReader

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

GetGlobalPrivateRegistriesReader is a Reader for the GetGlobalPrivateRegistries structure.

func (*GetGlobalPrivateRegistriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGlobalRegistriesOK

type GetGlobalRegistriesOK struct {
}
GetGlobalRegistriesOK describes a response with status code 200, with default header values.

successfully got global registries

func NewGetGlobalRegistriesOK

func NewGetGlobalRegistriesOK() *GetGlobalRegistriesOK

NewGetGlobalRegistriesOK creates a GetGlobalRegistriesOK with default headers values

func (*GetGlobalRegistriesOK) Error

func (o *GetGlobalRegistriesOK) Error() string

type GetGlobalRegistriesParams

type GetGlobalRegistriesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGlobalRegistriesParams contains all the parameters to send to the API endpoint

for the get global registries operation.

Typically these are written to a http.Request.

func NewGetGlobalRegistriesParams

func NewGetGlobalRegistriesParams() *GetGlobalRegistriesParams

NewGetGlobalRegistriesParams creates a new GetGlobalRegistriesParams 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 NewGetGlobalRegistriesParamsWithContext

func NewGetGlobalRegistriesParamsWithContext(ctx context.Context) *GetGlobalRegistriesParams

NewGetGlobalRegistriesParamsWithContext creates a new GetGlobalRegistriesParams object with the ability to set a context for a request.

func NewGetGlobalRegistriesParamsWithHTTPClient

func NewGetGlobalRegistriesParamsWithHTTPClient(client *http.Client) *GetGlobalRegistriesParams

NewGetGlobalRegistriesParamsWithHTTPClient creates a new GetGlobalRegistriesParams object with the ability to set a custom HTTPClient for a request.

func NewGetGlobalRegistriesParamsWithTimeout

func NewGetGlobalRegistriesParamsWithTimeout(timeout time.Duration) *GetGlobalRegistriesParams

NewGetGlobalRegistriesParamsWithTimeout creates a new GetGlobalRegistriesParams object with the ability to set a timeout on a request.

func (*GetGlobalRegistriesParams) SetContext

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

SetContext adds the context to the get global registries params

func (*GetGlobalRegistriesParams) SetDefaults

func (o *GetGlobalRegistriesParams) SetDefaults()

SetDefaults hydrates default values in the get global registries params (not the query body).

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

func (*GetGlobalRegistriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get global registries params

func (*GetGlobalRegistriesParams) SetTimeout

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

SetTimeout adds the timeout to the get global registries params

func (*GetGlobalRegistriesParams) WithContext

WithContext adds the context to the get global registries params

func (*GetGlobalRegistriesParams) WithDefaults

WithDefaults hydrates default values in the get global registries params (not the query body).

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

func (*GetGlobalRegistriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get global registries params

func (*GetGlobalRegistriesParams) WithTimeout

WithTimeout adds the timeout to the get global registries params

func (*GetGlobalRegistriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalRegistriesReader

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

GetGlobalRegistriesReader is a Reader for the GetGlobalRegistries structure.

func (*GetGlobalRegistriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRegistriesOK

type GetRegistriesOK struct {
}
GetRegistriesOK describes a response with status code 200, with default header values.

successfully got namespace registries

func NewGetRegistriesOK

func NewGetRegistriesOK() *GetRegistriesOK

NewGetRegistriesOK creates a GetRegistriesOK with default headers values

func (*GetRegistriesOK) Error

func (o *GetRegistriesOK) Error() string

type GetRegistriesParams

type GetRegistriesParams struct {

	/* Namespace.

	   target namespace
	*/
	Namespace string

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

GetRegistriesParams contains all the parameters to send to the API endpoint

for the get registries operation.

Typically these are written to a http.Request.

func NewGetRegistriesParams

func NewGetRegistriesParams() *GetRegistriesParams

NewGetRegistriesParams creates a new GetRegistriesParams 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 NewGetRegistriesParamsWithContext

func NewGetRegistriesParamsWithContext(ctx context.Context) *GetRegistriesParams

NewGetRegistriesParamsWithContext creates a new GetRegistriesParams object with the ability to set a context for a request.

func NewGetRegistriesParamsWithHTTPClient

func NewGetRegistriesParamsWithHTTPClient(client *http.Client) *GetRegistriesParams

NewGetRegistriesParamsWithHTTPClient creates a new GetRegistriesParams object with the ability to set a custom HTTPClient for a request.

func NewGetRegistriesParamsWithTimeout

func NewGetRegistriesParamsWithTimeout(timeout time.Duration) *GetRegistriesParams

NewGetRegistriesParamsWithTimeout creates a new GetRegistriesParams object with the ability to set a timeout on a request.

func (*GetRegistriesParams) SetContext

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

SetContext adds the context to the get registries params

func (*GetRegistriesParams) SetDefaults

func (o *GetRegistriesParams) SetDefaults()

SetDefaults hydrates default values in the get registries params (not the query body).

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

func (*GetRegistriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get registries params

func (*GetRegistriesParams) SetNamespace

func (o *GetRegistriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get registries params

func (*GetRegistriesParams) SetTimeout

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

SetTimeout adds the timeout to the get registries params

func (*GetRegistriesParams) WithContext

WithContext adds the context to the get registries params

func (*GetRegistriesParams) WithDefaults

func (o *GetRegistriesParams) WithDefaults() *GetRegistriesParams

WithDefaults hydrates default values in the get registries params (not the query body).

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

func (*GetRegistriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get registries params

func (*GetRegistriesParams) WithNamespace

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

WithNamespace adds the namespace to the get registries params

func (*GetRegistriesParams) WithTimeout

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

WithTimeout adds the timeout to the get registries params

func (*GetRegistriesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRegistriesReader

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

GetRegistriesReader is a Reader for the GetRegistries structure.

func (*GetRegistriesReader) ReadResponse

func (o *GetRegistriesReader) 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