namespace

package
v0.0.0-...-6b4585b Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 License: BSD-3-Clause 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 namespace API

func New

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

New creates a new namespace API client.

func (*Client) CreateManagedNamespace

func (a *Client) CreateManagedNamespace(params *CreateManagedNamespaceParams) (*CreateManagedNamespaceOK, error)

CreateManagedNamespace create managed namespace API

func (*Client) DeleteManagedNamespace

func (a *Client) DeleteManagedNamespace(params *DeleteManagedNamespaceParams) (*DeleteManagedNamespaceOK, error)

DeleteManagedNamespace delete managed namespace API

func (*Client) GetManagedNamespace

func (a *Client) GetManagedNamespace(params *GetManagedNamespaceParams) (*GetManagedNamespaceOK, error)

GetManagedNamespace get managed namespace API

func (*Client) GetManagedNamespaces

func (a *Client) GetManagedNamespaces(params *GetManagedNamespacesParams) (*GetManagedNamespacesOK, error)

GetManagedNamespaces get managed namespaces API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateManagedNamespace

func (a *Client) UpdateManagedNamespace(params *UpdateManagedNamespaceParams) (*UpdateManagedNamespaceOK, error)

UpdateManagedNamespace update managed namespace API

type CreateManagedNamespaceOK

type CreateManagedNamespaceOK struct {
	Payload *models.Namespace
}

CreateManagedNamespaceOK handles this case with default header values.

create a new managed namespace

func NewCreateManagedNamespaceOK

func NewCreateManagedNamespaceOK() *CreateManagedNamespaceOK

NewCreateManagedNamespaceOK creates a CreateManagedNamespaceOK with default headers values

func (*CreateManagedNamespaceOK) Error

func (o *CreateManagedNamespaceOK) Error() string

type CreateManagedNamespaceParams

type CreateManagedNamespaceParams struct {

	/*Body*/
	Body *models.Namespace
	/*Clustername*/
	Clustername string
	/*Customer*/
	Customer string

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

CreateManagedNamespaceParams contains all the parameters to send to the API endpoint for the create managed namespace operation typically these are written to a http.Request

func NewCreateManagedNamespaceParams

func NewCreateManagedNamespaceParams() *CreateManagedNamespaceParams

NewCreateManagedNamespaceParams creates a new CreateManagedNamespaceParams object with the default values initialized.

func NewCreateManagedNamespaceParamsWithContext

func NewCreateManagedNamespaceParamsWithContext(ctx context.Context) *CreateManagedNamespaceParams

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

func NewCreateManagedNamespaceParamsWithHTTPClient

func NewCreateManagedNamespaceParamsWithHTTPClient(client *http.Client) *CreateManagedNamespaceParams

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

func NewCreateManagedNamespaceParamsWithTimeout

func NewCreateManagedNamespaceParamsWithTimeout(timeout time.Duration) *CreateManagedNamespaceParams

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

func (*CreateManagedNamespaceParams) SetBody

func (o *CreateManagedNamespaceParams) SetBody(body *models.Namespace)

SetBody adds the body to the create managed namespace params

func (*CreateManagedNamespaceParams) SetClustername

func (o *CreateManagedNamespaceParams) SetClustername(clustername string)

SetClustername adds the clustername to the create managed namespace params

func (*CreateManagedNamespaceParams) SetContext

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

SetContext adds the context to the create managed namespace params

func (*CreateManagedNamespaceParams) SetCustomer

func (o *CreateManagedNamespaceParams) SetCustomer(customer string)

SetCustomer adds the customer to the create managed namespace params

func (*CreateManagedNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create managed namespace params

func (*CreateManagedNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the create managed namespace params

func (*CreateManagedNamespaceParams) WithBody

WithBody adds the body to the create managed namespace params

func (*CreateManagedNamespaceParams) WithClustername

func (o *CreateManagedNamespaceParams) WithClustername(clustername string) *CreateManagedNamespaceParams

WithClustername adds the clustername to the create managed namespace params

func (*CreateManagedNamespaceParams) WithContext

WithContext adds the context to the create managed namespace params

func (*CreateManagedNamespaceParams) WithCustomer

WithCustomer adds the customer to the create managed namespace params

func (*CreateManagedNamespaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create managed namespace params

func (*CreateManagedNamespaceParams) WithTimeout

WithTimeout adds the timeout to the create managed namespace params

func (*CreateManagedNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateManagedNamespaceReader

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

CreateManagedNamespaceReader is a Reader for the CreateManagedNamespace structure.

func (*CreateManagedNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteManagedNamespaceOK

type DeleteManagedNamespaceOK struct {
	Payload *models.Namespace
}

DeleteManagedNamespaceOK handles this case with default header values.

deletes a single namespace

func NewDeleteManagedNamespaceOK

func NewDeleteManagedNamespaceOK() *DeleteManagedNamespaceOK

NewDeleteManagedNamespaceOK creates a DeleteManagedNamespaceOK with default headers values

func (*DeleteManagedNamespaceOK) Error

func (o *DeleteManagedNamespaceOK) Error() string

type DeleteManagedNamespaceParams

type DeleteManagedNamespaceParams struct {

	/*Clustername*/
	Clustername string
	/*Customer*/
	Customer string
	/*Name*/
	Name string

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

DeleteManagedNamespaceParams contains all the parameters to send to the API endpoint for the delete managed namespace operation typically these are written to a http.Request

func NewDeleteManagedNamespaceParams

func NewDeleteManagedNamespaceParams() *DeleteManagedNamespaceParams

NewDeleteManagedNamespaceParams creates a new DeleteManagedNamespaceParams object with the default values initialized.

func NewDeleteManagedNamespaceParamsWithContext

func NewDeleteManagedNamespaceParamsWithContext(ctx context.Context) *DeleteManagedNamespaceParams

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

func NewDeleteManagedNamespaceParamsWithHTTPClient

func NewDeleteManagedNamespaceParamsWithHTTPClient(client *http.Client) *DeleteManagedNamespaceParams

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

func NewDeleteManagedNamespaceParamsWithTimeout

func NewDeleteManagedNamespaceParamsWithTimeout(timeout time.Duration) *DeleteManagedNamespaceParams

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

func (*DeleteManagedNamespaceParams) SetClustername

func (o *DeleteManagedNamespaceParams) SetClustername(clustername string)

SetClustername adds the clustername to the delete managed namespace params

func (*DeleteManagedNamespaceParams) SetContext

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

SetContext adds the context to the delete managed namespace params

func (*DeleteManagedNamespaceParams) SetCustomer

func (o *DeleteManagedNamespaceParams) SetCustomer(customer string)

SetCustomer adds the customer to the delete managed namespace params

func (*DeleteManagedNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete managed namespace params

func (*DeleteManagedNamespaceParams) SetName

func (o *DeleteManagedNamespaceParams) SetName(name string)

SetName adds the name to the delete managed namespace params

func (*DeleteManagedNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete managed namespace params

func (*DeleteManagedNamespaceParams) WithClustername

func (o *DeleteManagedNamespaceParams) WithClustername(clustername string) *DeleteManagedNamespaceParams

WithClustername adds the clustername to the delete managed namespace params

func (*DeleteManagedNamespaceParams) WithContext

WithContext adds the context to the delete managed namespace params

func (*DeleteManagedNamespaceParams) WithCustomer

WithCustomer adds the customer to the delete managed namespace params

func (*DeleteManagedNamespaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete managed namespace params

func (*DeleteManagedNamespaceParams) WithName

WithName adds the name to the delete managed namespace params

func (*DeleteManagedNamespaceParams) WithTimeout

WithTimeout adds the timeout to the delete managed namespace params

func (*DeleteManagedNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteManagedNamespaceReader

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

DeleteManagedNamespaceReader is a Reader for the DeleteManagedNamespace structure.

func (*DeleteManagedNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetManagedNamespaceOK

type GetManagedNamespaceOK struct {
	Payload *models.Namespace
}

GetManagedNamespaceOK handles this case with default header values.

returns a single namespace

func NewGetManagedNamespaceOK

func NewGetManagedNamespaceOK() *GetManagedNamespaceOK

NewGetManagedNamespaceOK creates a GetManagedNamespaceOK with default headers values

func (*GetManagedNamespaceOK) Error

func (o *GetManagedNamespaceOK) Error() string

type GetManagedNamespaceParams

type GetManagedNamespaceParams struct {

	/*Clustername*/
	Clustername string
	/*Customer*/
	Customer string
	/*Name*/
	Name string

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

GetManagedNamespaceParams contains all the parameters to send to the API endpoint for the get managed namespace operation typically these are written to a http.Request

func NewGetManagedNamespaceParams

func NewGetManagedNamespaceParams() *GetManagedNamespaceParams

NewGetManagedNamespaceParams creates a new GetManagedNamespaceParams object with the default values initialized.

func NewGetManagedNamespaceParamsWithContext

func NewGetManagedNamespaceParamsWithContext(ctx context.Context) *GetManagedNamespaceParams

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

func NewGetManagedNamespaceParamsWithHTTPClient

func NewGetManagedNamespaceParamsWithHTTPClient(client *http.Client) *GetManagedNamespaceParams

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

func NewGetManagedNamespaceParamsWithTimeout

func NewGetManagedNamespaceParamsWithTimeout(timeout time.Duration) *GetManagedNamespaceParams

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

func (*GetManagedNamespaceParams) SetClustername

func (o *GetManagedNamespaceParams) SetClustername(clustername string)

SetClustername adds the clustername to the get managed namespace params

func (*GetManagedNamespaceParams) SetContext

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

SetContext adds the context to the get managed namespace params

func (*GetManagedNamespaceParams) SetCustomer

func (o *GetManagedNamespaceParams) SetCustomer(customer string)

SetCustomer adds the customer to the get managed namespace params

func (*GetManagedNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get managed namespace params

func (*GetManagedNamespaceParams) SetName

func (o *GetManagedNamespaceParams) SetName(name string)

SetName adds the name to the get managed namespace params

func (*GetManagedNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the get managed namespace params

func (*GetManagedNamespaceParams) WithClustername

func (o *GetManagedNamespaceParams) WithClustername(clustername string) *GetManagedNamespaceParams

WithClustername adds the clustername to the get managed namespace params

func (*GetManagedNamespaceParams) WithContext

WithContext adds the context to the get managed namespace params

func (*GetManagedNamespaceParams) WithCustomer

func (o *GetManagedNamespaceParams) WithCustomer(customer string) *GetManagedNamespaceParams

WithCustomer adds the customer to the get managed namespace params

func (*GetManagedNamespaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get managed namespace params

func (*GetManagedNamespaceParams) WithName

WithName adds the name to the get managed namespace params

func (*GetManagedNamespaceParams) WithTimeout

WithTimeout adds the timeout to the get managed namespace params

func (*GetManagedNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetManagedNamespaceReader

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

GetManagedNamespaceReader is a Reader for the GetManagedNamespace structure.

func (*GetManagedNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetManagedNamespacesOK

type GetManagedNamespacesOK struct {
	Payload []*models.Namespace
}

GetManagedNamespacesOK handles this case with default header values.

returns a list of namespaces

func NewGetManagedNamespacesOK

func NewGetManagedNamespacesOK() *GetManagedNamespacesOK

NewGetManagedNamespacesOK creates a GetManagedNamespacesOK with default headers values

func (*GetManagedNamespacesOK) Error

func (o *GetManagedNamespacesOK) Error() string

type GetManagedNamespacesParams

type GetManagedNamespacesParams struct {

	/*Clustername*/
	Clustername string

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

GetManagedNamespacesParams contains all the parameters to send to the API endpoint for the get managed namespaces operation typically these are written to a http.Request

func NewGetManagedNamespacesParams

func NewGetManagedNamespacesParams() *GetManagedNamespacesParams

NewGetManagedNamespacesParams creates a new GetManagedNamespacesParams object with the default values initialized.

func NewGetManagedNamespacesParamsWithContext

func NewGetManagedNamespacesParamsWithContext(ctx context.Context) *GetManagedNamespacesParams

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

func NewGetManagedNamespacesParamsWithHTTPClient

func NewGetManagedNamespacesParamsWithHTTPClient(client *http.Client) *GetManagedNamespacesParams

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

func NewGetManagedNamespacesParamsWithTimeout

func NewGetManagedNamespacesParamsWithTimeout(timeout time.Duration) *GetManagedNamespacesParams

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

func (*GetManagedNamespacesParams) SetClustername

func (o *GetManagedNamespacesParams) SetClustername(clustername string)

SetClustername adds the clustername to the get managed namespaces params

func (*GetManagedNamespacesParams) SetContext

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

SetContext adds the context to the get managed namespaces params

func (*GetManagedNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get managed namespaces params

func (*GetManagedNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the get managed namespaces params

func (*GetManagedNamespacesParams) WithClustername

func (o *GetManagedNamespacesParams) WithClustername(clustername string) *GetManagedNamespacesParams

WithClustername adds the clustername to the get managed namespaces params

func (*GetManagedNamespacesParams) WithContext

WithContext adds the context to the get managed namespaces params

func (*GetManagedNamespacesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get managed namespaces params

func (*GetManagedNamespacesParams) WithTimeout

WithTimeout adds the timeout to the get managed namespaces params

func (*GetManagedNamespacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetManagedNamespacesReader

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

GetManagedNamespacesReader is a Reader for the GetManagedNamespaces structure.

func (*GetManagedNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateManagedNamespaceOK

type UpdateManagedNamespaceOK struct {
	Payload *models.Namespace
}

UpdateManagedNamespaceOK handles this case with default header values.

deletes a single namespace

func NewUpdateManagedNamespaceOK

func NewUpdateManagedNamespaceOK() *UpdateManagedNamespaceOK

NewUpdateManagedNamespaceOK creates a UpdateManagedNamespaceOK with default headers values

func (*UpdateManagedNamespaceOK) Error

func (o *UpdateManagedNamespaceOK) Error() string

type UpdateManagedNamespaceParams

type UpdateManagedNamespaceParams struct {

	/*Body*/
	Body *models.Namespace
	/*Clustername*/
	Clustername string
	/*Customer*/
	Customer string
	/*Name*/
	Name string

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

UpdateManagedNamespaceParams contains all the parameters to send to the API endpoint for the update managed namespace operation typically these are written to a http.Request

func NewUpdateManagedNamespaceParams

func NewUpdateManagedNamespaceParams() *UpdateManagedNamespaceParams

NewUpdateManagedNamespaceParams creates a new UpdateManagedNamespaceParams object with the default values initialized.

func NewUpdateManagedNamespaceParamsWithContext

func NewUpdateManagedNamespaceParamsWithContext(ctx context.Context) *UpdateManagedNamespaceParams

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

func NewUpdateManagedNamespaceParamsWithHTTPClient

func NewUpdateManagedNamespaceParamsWithHTTPClient(client *http.Client) *UpdateManagedNamespaceParams

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

func NewUpdateManagedNamespaceParamsWithTimeout

func NewUpdateManagedNamespaceParamsWithTimeout(timeout time.Duration) *UpdateManagedNamespaceParams

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

func (*UpdateManagedNamespaceParams) SetBody

func (o *UpdateManagedNamespaceParams) SetBody(body *models.Namespace)

SetBody adds the body to the update managed namespace params

func (*UpdateManagedNamespaceParams) SetClustername

func (o *UpdateManagedNamespaceParams) SetClustername(clustername string)

SetClustername adds the clustername to the update managed namespace params

func (*UpdateManagedNamespaceParams) SetContext

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

SetContext adds the context to the update managed namespace params

func (*UpdateManagedNamespaceParams) SetCustomer

func (o *UpdateManagedNamespaceParams) SetCustomer(customer string)

SetCustomer adds the customer to the update managed namespace params

func (*UpdateManagedNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update managed namespace params

func (*UpdateManagedNamespaceParams) SetName

func (o *UpdateManagedNamespaceParams) SetName(name string)

SetName adds the name to the update managed namespace params

func (*UpdateManagedNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the update managed namespace params

func (*UpdateManagedNamespaceParams) WithBody

WithBody adds the body to the update managed namespace params

func (*UpdateManagedNamespaceParams) WithClustername

func (o *UpdateManagedNamespaceParams) WithClustername(clustername string) *UpdateManagedNamespaceParams

WithClustername adds the clustername to the update managed namespace params

func (*UpdateManagedNamespaceParams) WithContext

WithContext adds the context to the update managed namespace params

func (*UpdateManagedNamespaceParams) WithCustomer

WithCustomer adds the customer to the update managed namespace params

func (*UpdateManagedNamespaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update managed namespace params

func (*UpdateManagedNamespaceParams) WithName

WithName adds the name to the update managed namespace params

func (*UpdateManagedNamespaceParams) WithTimeout

WithTimeout adds the timeout to the update managed namespace params

func (*UpdateManagedNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateManagedNamespaceReader

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

UpdateManagedNamespaceReader is a Reader for the UpdateManagedNamespace structure.

func (*UpdateManagedNamespaceReader) ReadResponse

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