Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateGlobalPrivateRegistry(params *CreateGlobalPrivateRegistryParams, ...) (*CreateGlobalPrivateRegistryOK, error)
- func (a *Client) CreateGlobalRegistry(params *CreateGlobalRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateGlobalRegistryOK, error)
- func (a *Client) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRegistryOK, error)
- func (a *Client) DeleteGlobalPrivateRegistry(params *DeleteGlobalPrivateRegistryParams, ...) (*DeleteGlobalPrivateRegistryOK, error)
- func (a *Client) DeleteGlobalRegistry(params *DeleteGlobalRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteGlobalRegistryOK, error)
- func (a *Client) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRegistryOK, error)
- func (a *Client) GetGlobalPrivateRegistries(params *GetGlobalPrivateRegistriesParams, ...) (*GetGlobalPrivateRegistriesOK, error)
- func (a *Client) GetGlobalRegistries(params *GetGlobalRegistriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGlobalRegistriesOK, error)
- func (a *Client) GetRegistries(params *GetRegistriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRegistriesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateGlobalPrivateRegistryBody
- func (o *CreateGlobalPrivateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateGlobalPrivateRegistryBody) MarshalBinary() ([]byte, error)
- func (o *CreateGlobalPrivateRegistryBody) UnmarshalBinary(b []byte) error
- func (o *CreateGlobalPrivateRegistryBody) Validate(formats strfmt.Registry) error
- type CreateGlobalPrivateRegistryOK
- type CreateGlobalPrivateRegistryParams
- func NewCreateGlobalPrivateRegistryParams() *CreateGlobalPrivateRegistryParams
- func NewCreateGlobalPrivateRegistryParamsWithContext(ctx context.Context) *CreateGlobalPrivateRegistryParams
- func NewCreateGlobalPrivateRegistryParamsWithHTTPClient(client *http.Client) *CreateGlobalPrivateRegistryParams
- func NewCreateGlobalPrivateRegistryParamsWithTimeout(timeout time.Duration) *CreateGlobalPrivateRegistryParams
- func (o *CreateGlobalPrivateRegistryParams) SetContext(ctx context.Context)
- func (o *CreateGlobalPrivateRegistryParams) SetDefaults()
- func (o *CreateGlobalPrivateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *CreateGlobalPrivateRegistryParams) SetRegistryPayload(registryPayload CreateGlobalPrivateRegistryBody)
- func (o *CreateGlobalPrivateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *CreateGlobalPrivateRegistryParams) WithContext(ctx context.Context) *CreateGlobalPrivateRegistryParams
- func (o *CreateGlobalPrivateRegistryParams) WithDefaults() *CreateGlobalPrivateRegistryParams
- func (o *CreateGlobalPrivateRegistryParams) WithHTTPClient(client *http.Client) *CreateGlobalPrivateRegistryParams
- func (o *CreateGlobalPrivateRegistryParams) WithRegistryPayload(registryPayload CreateGlobalPrivateRegistryBody) *CreateGlobalPrivateRegistryParams
- func (o *CreateGlobalPrivateRegistryParams) WithTimeout(timeout time.Duration) *CreateGlobalPrivateRegistryParams
- func (o *CreateGlobalPrivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGlobalPrivateRegistryReader
- type CreateGlobalRegistryBody
- func (o *CreateGlobalRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateGlobalRegistryBody) MarshalBinary() ([]byte, error)
- func (o *CreateGlobalRegistryBody) UnmarshalBinary(b []byte) error
- func (o *CreateGlobalRegistryBody) Validate(formats strfmt.Registry) error
- type CreateGlobalRegistryOK
- type CreateGlobalRegistryParams
- func NewCreateGlobalRegistryParams() *CreateGlobalRegistryParams
- func NewCreateGlobalRegistryParamsWithContext(ctx context.Context) *CreateGlobalRegistryParams
- func NewCreateGlobalRegistryParamsWithHTTPClient(client *http.Client) *CreateGlobalRegistryParams
- func NewCreateGlobalRegistryParamsWithTimeout(timeout time.Duration) *CreateGlobalRegistryParams
- func (o *CreateGlobalRegistryParams) SetContext(ctx context.Context)
- func (o *CreateGlobalRegistryParams) SetDefaults()
- func (o *CreateGlobalRegistryParams) SetHTTPClient(client *http.Client)
- func (o *CreateGlobalRegistryParams) SetRegistryPayload(registryPayload CreateGlobalRegistryBody)
- func (o *CreateGlobalRegistryParams) SetTimeout(timeout time.Duration)
- func (o *CreateGlobalRegistryParams) WithContext(ctx context.Context) *CreateGlobalRegistryParams
- func (o *CreateGlobalRegistryParams) WithDefaults() *CreateGlobalRegistryParams
- func (o *CreateGlobalRegistryParams) WithHTTPClient(client *http.Client) *CreateGlobalRegistryParams
- func (o *CreateGlobalRegistryParams) WithRegistryPayload(registryPayload CreateGlobalRegistryBody) *CreateGlobalRegistryParams
- func (o *CreateGlobalRegistryParams) WithTimeout(timeout time.Duration) *CreateGlobalRegistryParams
- func (o *CreateGlobalRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGlobalRegistryReader
- type CreateRegistryBody
- type CreateRegistryOK
- type CreateRegistryParams
- func NewCreateRegistryParams() *CreateRegistryParams
- func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams
- func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams
- func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams
- func (o *CreateRegistryParams) SetContext(ctx context.Context)
- func (o *CreateRegistryParams) SetDefaults()
- func (o *CreateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *CreateRegistryParams) SetNamespace(namespace string)
- func (o *CreateRegistryParams) SetRegistryPayload(registryPayload CreateRegistryBody)
- func (o *CreateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *CreateRegistryParams) WithContext(ctx context.Context) *CreateRegistryParams
- func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams
- func (o *CreateRegistryParams) WithHTTPClient(client *http.Client) *CreateRegistryParams
- func (o *CreateRegistryParams) WithNamespace(namespace string) *CreateRegistryParams
- func (o *CreateRegistryParams) WithRegistryPayload(registryPayload CreateRegistryBody) *CreateRegistryParams
- func (o *CreateRegistryParams) WithTimeout(timeout time.Duration) *CreateRegistryParams
- func (o *CreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRegistryReader
- type DeleteGlobalPrivateRegistryBody
- func (o *DeleteGlobalPrivateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteGlobalPrivateRegistryBody) MarshalBinary() ([]byte, error)
- func (o *DeleteGlobalPrivateRegistryBody) UnmarshalBinary(b []byte) error
- func (o *DeleteGlobalPrivateRegistryBody) Validate(formats strfmt.Registry) error
- type DeleteGlobalPrivateRegistryOK
- type DeleteGlobalPrivateRegistryParams
- func NewDeleteGlobalPrivateRegistryParams() *DeleteGlobalPrivateRegistryParams
- func NewDeleteGlobalPrivateRegistryParamsWithContext(ctx context.Context) *DeleteGlobalPrivateRegistryParams
- func NewDeleteGlobalPrivateRegistryParamsWithHTTPClient(client *http.Client) *DeleteGlobalPrivateRegistryParams
- func NewDeleteGlobalPrivateRegistryParamsWithTimeout(timeout time.Duration) *DeleteGlobalPrivateRegistryParams
- func (o *DeleteGlobalPrivateRegistryParams) SetContext(ctx context.Context)
- func (o *DeleteGlobalPrivateRegistryParams) SetDefaults()
- func (o *DeleteGlobalPrivateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGlobalPrivateRegistryParams) SetRegistryPayload(registryPayload DeleteGlobalPrivateRegistryBody)
- func (o *DeleteGlobalPrivateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGlobalPrivateRegistryParams) WithContext(ctx context.Context) *DeleteGlobalPrivateRegistryParams
- func (o *DeleteGlobalPrivateRegistryParams) WithDefaults() *DeleteGlobalPrivateRegistryParams
- func (o *DeleteGlobalPrivateRegistryParams) WithHTTPClient(client *http.Client) *DeleteGlobalPrivateRegistryParams
- func (o *DeleteGlobalPrivateRegistryParams) WithRegistryPayload(registryPayload DeleteGlobalPrivateRegistryBody) *DeleteGlobalPrivateRegistryParams
- func (o *DeleteGlobalPrivateRegistryParams) WithTimeout(timeout time.Duration) *DeleteGlobalPrivateRegistryParams
- func (o *DeleteGlobalPrivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGlobalPrivateRegistryReader
- type DeleteGlobalRegistryBody
- func (o *DeleteGlobalRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteGlobalRegistryBody) MarshalBinary() ([]byte, error)
- func (o *DeleteGlobalRegistryBody) UnmarshalBinary(b []byte) error
- func (o *DeleteGlobalRegistryBody) Validate(formats strfmt.Registry) error
- type DeleteGlobalRegistryOK
- type DeleteGlobalRegistryParams
- func NewDeleteGlobalRegistryParams() *DeleteGlobalRegistryParams
- func NewDeleteGlobalRegistryParamsWithContext(ctx context.Context) *DeleteGlobalRegistryParams
- func NewDeleteGlobalRegistryParamsWithHTTPClient(client *http.Client) *DeleteGlobalRegistryParams
- func NewDeleteGlobalRegistryParamsWithTimeout(timeout time.Duration) *DeleteGlobalRegistryParams
- func (o *DeleteGlobalRegistryParams) SetContext(ctx context.Context)
- func (o *DeleteGlobalRegistryParams) SetDefaults()
- func (o *DeleteGlobalRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGlobalRegistryParams) SetRegistryPayload(registryPayload DeleteGlobalRegistryBody)
- func (o *DeleteGlobalRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGlobalRegistryParams) WithContext(ctx context.Context) *DeleteGlobalRegistryParams
- func (o *DeleteGlobalRegistryParams) WithDefaults() *DeleteGlobalRegistryParams
- func (o *DeleteGlobalRegistryParams) WithHTTPClient(client *http.Client) *DeleteGlobalRegistryParams
- func (o *DeleteGlobalRegistryParams) WithRegistryPayload(registryPayload DeleteGlobalRegistryBody) *DeleteGlobalRegistryParams
- func (o *DeleteGlobalRegistryParams) WithTimeout(timeout time.Duration) *DeleteGlobalRegistryParams
- func (o *DeleteGlobalRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGlobalRegistryReader
- type DeleteRegistryBody
- type DeleteRegistryOK
- type DeleteRegistryParams
- func NewDeleteRegistryParams() *DeleteRegistryParams
- func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams
- func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams
- func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams
- func (o *DeleteRegistryParams) SetContext(ctx context.Context)
- func (o *DeleteRegistryParams) SetDefaults()
- func (o *DeleteRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRegistryParams) SetNamespace(namespace string)
- func (o *DeleteRegistryParams) SetRegistryPayload(registryPayload DeleteRegistryBody)
- func (o *DeleteRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRegistryParams) WithContext(ctx context.Context) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithHTTPClient(client *http.Client) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithNamespace(namespace string) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithRegistryPayload(registryPayload DeleteRegistryBody) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithTimeout(timeout time.Duration) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRegistryReader
- type GetGlobalPrivateRegistriesOK
- type GetGlobalPrivateRegistriesParams
- func NewGetGlobalPrivateRegistriesParams() *GetGlobalPrivateRegistriesParams
- func NewGetGlobalPrivateRegistriesParamsWithContext(ctx context.Context) *GetGlobalPrivateRegistriesParams
- func NewGetGlobalPrivateRegistriesParamsWithHTTPClient(client *http.Client) *GetGlobalPrivateRegistriesParams
- func NewGetGlobalPrivateRegistriesParamsWithTimeout(timeout time.Duration) *GetGlobalPrivateRegistriesParams
- func (o *GetGlobalPrivateRegistriesParams) SetContext(ctx context.Context)
- func (o *GetGlobalPrivateRegistriesParams) SetDefaults()
- func (o *GetGlobalPrivateRegistriesParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalPrivateRegistriesParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalPrivateRegistriesParams) WithContext(ctx context.Context) *GetGlobalPrivateRegistriesParams
- func (o *GetGlobalPrivateRegistriesParams) WithDefaults() *GetGlobalPrivateRegistriesParams
- func (o *GetGlobalPrivateRegistriesParams) WithHTTPClient(client *http.Client) *GetGlobalPrivateRegistriesParams
- func (o *GetGlobalPrivateRegistriesParams) WithTimeout(timeout time.Duration) *GetGlobalPrivateRegistriesParams
- func (o *GetGlobalPrivateRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalPrivateRegistriesReader
- type GetGlobalRegistriesOK
- type GetGlobalRegistriesParams
- func NewGetGlobalRegistriesParams() *GetGlobalRegistriesParams
- func NewGetGlobalRegistriesParamsWithContext(ctx context.Context) *GetGlobalRegistriesParams
- func NewGetGlobalRegistriesParamsWithHTTPClient(client *http.Client) *GetGlobalRegistriesParams
- func NewGetGlobalRegistriesParamsWithTimeout(timeout time.Duration) *GetGlobalRegistriesParams
- func (o *GetGlobalRegistriesParams) SetContext(ctx context.Context)
- func (o *GetGlobalRegistriesParams) SetDefaults()
- func (o *GetGlobalRegistriesParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalRegistriesParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalRegistriesParams) WithContext(ctx context.Context) *GetGlobalRegistriesParams
- func (o *GetGlobalRegistriesParams) WithDefaults() *GetGlobalRegistriesParams
- func (o *GetGlobalRegistriesParams) WithHTTPClient(client *http.Client) *GetGlobalRegistriesParams
- func (o *GetGlobalRegistriesParams) WithTimeout(timeout time.Duration) *GetGlobalRegistriesParams
- func (o *GetGlobalRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalRegistriesReader
- type GetRegistriesOK
- type GetRegistriesParams
- func (o *GetRegistriesParams) SetContext(ctx context.Context)
- func (o *GetRegistriesParams) SetDefaults()
- func (o *GetRegistriesParams) SetHTTPClient(client *http.Client)
- func (o *GetRegistriesParams) SetNamespace(namespace string)
- func (o *GetRegistriesParams) SetTimeout(timeout time.Duration)
- func (o *GetRegistriesParams) WithContext(ctx context.Context) *GetRegistriesParams
- func (o *GetRegistriesParams) WithDefaults() *GetRegistriesParams
- func (o *GetRegistriesParams) WithHTTPClient(client *http.Client) *GetRegistriesParams
- func (o *GetRegistriesParams) WithNamespace(namespace string) *GetRegistriesParams
- func (o *GetRegistriesParams) WithTimeout(timeout time.Duration) *GetRegistriesParams
- func (o *GetRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegistriesReader
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
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 ¶
func (o *CreateGlobalPrivateRegistryOK) Error() string
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 ¶
func (o *CreateGlobalPrivateRegistryParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateGlobalPrivateRegistryParams) WithContext(ctx context.Context) *CreateGlobalPrivateRegistryParams
WithContext adds the context to the create global private registry params
func (*CreateGlobalPrivateRegistryParams) WithDefaults ¶
func (o *CreateGlobalPrivateRegistryParams) WithDefaults() *CreateGlobalPrivateRegistryParams
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 ¶
func (o *CreateGlobalPrivateRegistryParams) WithHTTPClient(client *http.Client) *CreateGlobalPrivateRegistryParams
WithHTTPClient adds the HTTPClient to the create global private registry params
func (*CreateGlobalPrivateRegistryParams) WithRegistryPayload ¶
func (o *CreateGlobalPrivateRegistryParams) WithRegistryPayload(registryPayload CreateGlobalPrivateRegistryBody) *CreateGlobalPrivateRegistryParams
WithRegistryPayload adds the registryPayload to the create global private registry params
func (*CreateGlobalPrivateRegistryParams) WithTimeout ¶
func (o *CreateGlobalPrivateRegistryParams) WithTimeout(timeout time.Duration) *CreateGlobalPrivateRegistryParams
WithTimeout adds the timeout to the create global private registry params
func (*CreateGlobalPrivateRegistryParams) WriteToRequest ¶
func (o *CreateGlobalPrivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *CreateGlobalRegistryParams) WithContext(ctx context.Context) *CreateGlobalRegistryParams
WithContext adds the context to the create global registry params
func (*CreateGlobalRegistryParams) WithDefaults ¶
func (o *CreateGlobalRegistryParams) WithDefaults() *CreateGlobalRegistryParams
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 ¶
func (o *CreateGlobalRegistryParams) WithHTTPClient(client *http.Client) *CreateGlobalRegistryParams
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 ¶
func (o *CreateGlobalRegistryParams) WithTimeout(timeout time.Duration) *CreateGlobalRegistryParams
WithTimeout adds the timeout to the create global registry params
func (*CreateGlobalRegistryParams) WriteToRequest ¶
func (o *CreateGlobalRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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
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 ¶
func (o *CreateRegistryParams) WithContext(ctx context.Context) *CreateRegistryParams
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
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 ¶
func (o *DeleteGlobalPrivateRegistryOK) Error() string
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 ¶
func (o *DeleteGlobalPrivateRegistryParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteGlobalPrivateRegistryParams) WithContext(ctx context.Context) *DeleteGlobalPrivateRegistryParams
WithContext adds the context to the delete global private registry params
func (*DeleteGlobalPrivateRegistryParams) WithDefaults ¶
func (o *DeleteGlobalPrivateRegistryParams) WithDefaults() *DeleteGlobalPrivateRegistryParams
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 ¶
func (o *DeleteGlobalPrivateRegistryParams) WithHTTPClient(client *http.Client) *DeleteGlobalPrivateRegistryParams
WithHTTPClient adds the HTTPClient to the delete global private registry params
func (*DeleteGlobalPrivateRegistryParams) WithRegistryPayload ¶
func (o *DeleteGlobalPrivateRegistryParams) WithRegistryPayload(registryPayload DeleteGlobalPrivateRegistryBody) *DeleteGlobalPrivateRegistryParams
WithRegistryPayload adds the registryPayload to the delete global private registry params
func (*DeleteGlobalPrivateRegistryParams) WithTimeout ¶
func (o *DeleteGlobalPrivateRegistryParams) WithTimeout(timeout time.Duration) *DeleteGlobalPrivateRegistryParams
WithTimeout adds the timeout to the delete global private registry params
func (*DeleteGlobalPrivateRegistryParams) WriteToRequest ¶
func (o *DeleteGlobalPrivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *DeleteGlobalRegistryParams) WithContext(ctx context.Context) *DeleteGlobalRegistryParams
WithContext adds the context to the delete global registry params
func (*DeleteGlobalRegistryParams) WithDefaults ¶
func (o *DeleteGlobalRegistryParams) WithDefaults() *DeleteGlobalRegistryParams
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 ¶
func (o *DeleteGlobalRegistryParams) WithHTTPClient(client *http.Client) *DeleteGlobalRegistryParams
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 ¶
func (o *DeleteGlobalRegistryParams) WithTimeout(timeout time.Duration) *DeleteGlobalRegistryParams
WithTimeout adds the timeout to the delete global registry params
func (*DeleteGlobalRegistryParams) WriteToRequest ¶
func (o *DeleteGlobalRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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
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 ¶
func (o *DeleteRegistryParams) WithContext(ctx context.Context) *DeleteRegistryParams
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 ¶
func (o *GetGlobalPrivateRegistriesOK) Error() string
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 ¶
func (o *GetGlobalPrivateRegistriesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetGlobalPrivateRegistriesParams) WithContext(ctx context.Context) *GetGlobalPrivateRegistriesParams
WithContext adds the context to the get global private registries params
func (*GetGlobalPrivateRegistriesParams) WithDefaults ¶
func (o *GetGlobalPrivateRegistriesParams) WithDefaults() *GetGlobalPrivateRegistriesParams
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 ¶
func (o *GetGlobalPrivateRegistriesParams) WithHTTPClient(client *http.Client) *GetGlobalPrivateRegistriesParams
WithHTTPClient adds the HTTPClient to the get global private registries params
func (*GetGlobalPrivateRegistriesParams) WithTimeout ¶
func (o *GetGlobalPrivateRegistriesParams) WithTimeout(timeout time.Duration) *GetGlobalPrivateRegistriesParams
WithTimeout adds the timeout to the get global private registries params
func (*GetGlobalPrivateRegistriesParams) WriteToRequest ¶
func (o *GetGlobalPrivateRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetGlobalRegistriesParams) WithContext(ctx context.Context) *GetGlobalRegistriesParams
WithContext adds the context to the get global registries params
func (*GetGlobalRegistriesParams) WithDefaults ¶
func (o *GetGlobalRegistriesParams) WithDefaults() *GetGlobalRegistriesParams
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 ¶
func (o *GetGlobalRegistriesParams) WithTimeout(timeout time.Duration) *GetGlobalRegistriesParams
WithTimeout adds the timeout to the get global registries params
func (*GetGlobalRegistriesParams) WriteToRequest ¶
func (o *GetGlobalRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetRegistriesParams) WithContext(ctx context.Context) *GetRegistriesParams
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.
Source Files ¶
- create_global_private_registry_parameters.go
- create_global_private_registry_responses.go
- create_global_registry_parameters.go
- create_global_registry_responses.go
- create_registry_parameters.go
- create_registry_responses.go
- delete_global_private_registry_parameters.go
- delete_global_private_registry_responses.go
- delete_global_registry_parameters.go
- delete_global_registry_responses.go
- delete_registry_parameters.go
- delete_registry_responses.go
- get_global_private_registries_parameters.go
- get_global_private_registries_responses.go
- get_global_registries_parameters.go
- get_global_registries_responses.go
- get_registries_parameters.go
- get_registries_responses.go
- registries_client.go