namespace

package
v0.0.0-...-0d78212 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const CreateManagedNamespaceOKCode int = 200

CreateManagedNamespaceOKCode is the HTTP code returned for type CreateManagedNamespaceOK

View Source
const DeleteManagedNamespaceOKCode int = 200

DeleteManagedNamespaceOKCode is the HTTP code returned for type DeleteManagedNamespaceOK

View Source
const GetManagedNamespaceOKCode int = 200

GetManagedNamespaceOKCode is the HTTP code returned for type GetManagedNamespaceOK

View Source
const GetManagedNamespacesOKCode int = 200

GetManagedNamespacesOKCode is the HTTP code returned for type GetManagedNamespacesOK

View Source
const UpdateManagedNamespaceOKCode int = 200

UpdateManagedNamespaceOKCode is the HTTP code returned for type UpdateManagedNamespaceOK

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateManagedNamespace

type CreateManagedNamespace struct {
	Context *middleware.Context
	Handler CreateManagedNamespaceHandler
}

CreateManagedNamespace swagger:route PUT /namespace/{customer} namespace createManagedNamespace

CreateManagedNamespace create managed namespace API

func NewCreateManagedNamespace

func NewCreateManagedNamespace(ctx *middleware.Context, handler CreateManagedNamespaceHandler) *CreateManagedNamespace

NewCreateManagedNamespace creates a new http.Handler for the create managed namespace operation

func (*CreateManagedNamespace) ServeHTTP

func (o *CreateManagedNamespace) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateManagedNamespaceHandler

type CreateManagedNamespaceHandler interface {
	Handle(CreateManagedNamespaceParams) middleware.Responder
}

CreateManagedNamespaceHandler interface for that can handle valid create managed namespace params

type CreateManagedNamespaceHandlerFunc

type CreateManagedNamespaceHandlerFunc func(CreateManagedNamespaceParams) middleware.Responder

CreateManagedNamespaceHandlerFunc turns a function with the right signature into a create managed namespace handler

func (CreateManagedNamespaceHandlerFunc) Handle

Handle executing the request and returning a response

type CreateManagedNamespaceOK

type CreateManagedNamespaceOK struct {

	/*
	  In: Body
	*/
	Payload *models.Namespace `json:"body,omitempty"`
}

CreateManagedNamespaceOK create a new managed namespace

swagger:response createManagedNamespaceOK

func NewCreateManagedNamespaceOK

func NewCreateManagedNamespaceOK() *CreateManagedNamespaceOK

NewCreateManagedNamespaceOK creates CreateManagedNamespaceOK with default headers values

func (*CreateManagedNamespaceOK) SetPayload

func (o *CreateManagedNamespaceOK) SetPayload(payload *models.Namespace)

SetPayload sets the payload to the create managed namespace o k response

func (*CreateManagedNamespaceOK) WithPayload

WithPayload adds the payload to the create managed namespace o k response

func (*CreateManagedNamespaceOK) WriteResponse

func (o *CreateManagedNamespaceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateManagedNamespaceParams

type CreateManagedNamespaceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *models.Namespace
	/*
	  Required: true
	  In: path
	*/
	Customer string
}

CreateManagedNamespaceParams contains all the bound params for the create managed namespace operation typically these are obtained from a http.Request

swagger:parameters createManagedNamespace

func NewCreateManagedNamespaceParams

func NewCreateManagedNamespaceParams() CreateManagedNamespaceParams

NewCreateManagedNamespaceParams creates a new CreateManagedNamespaceParams object no default values defined in spec.

func (*CreateManagedNamespaceParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateManagedNamespaceParams() beforehand.

type CreateManagedNamespaceURL

type CreateManagedNamespaceURL struct {
	Customer string
	// contains filtered or unexported fields
}

CreateManagedNamespaceURL generates an URL for the create managed namespace operation

func (*CreateManagedNamespaceURL) Build

func (o *CreateManagedNamespaceURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateManagedNamespaceURL) BuildFull

func (o *CreateManagedNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateManagedNamespaceURL) Must

func (o *CreateManagedNamespaceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateManagedNamespaceURL) SetBasePath

func (o *CreateManagedNamespaceURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateManagedNamespaceURL) String

func (o *CreateManagedNamespaceURL) String() string

String returns the string representation of the path with query string

func (*CreateManagedNamespaceURL) StringFull

func (o *CreateManagedNamespaceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateManagedNamespaceURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteManagedNamespace

type DeleteManagedNamespace struct {
	Context *middleware.Context
	Handler DeleteManagedNamespaceHandler
}

DeleteManagedNamespace swagger:route DELETE /namespace/{customer}/{name} namespace deleteManagedNamespace

DeleteManagedNamespace delete managed namespace API

func NewDeleteManagedNamespace

func NewDeleteManagedNamespace(ctx *middleware.Context, handler DeleteManagedNamespaceHandler) *DeleteManagedNamespace

NewDeleteManagedNamespace creates a new http.Handler for the delete managed namespace operation

func (*DeleteManagedNamespace) ServeHTTP

func (o *DeleteManagedNamespace) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteManagedNamespaceHandler

type DeleteManagedNamespaceHandler interface {
	Handle(DeleteManagedNamespaceParams) middleware.Responder
}

DeleteManagedNamespaceHandler interface for that can handle valid delete managed namespace params

type DeleteManagedNamespaceHandlerFunc

type DeleteManagedNamespaceHandlerFunc func(DeleteManagedNamespaceParams) middleware.Responder

DeleteManagedNamespaceHandlerFunc turns a function with the right signature into a delete managed namespace handler

func (DeleteManagedNamespaceHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteManagedNamespaceOK

type DeleteManagedNamespaceOK struct {

	/*
	  In: Body
	*/
	Payload *models.Namespace `json:"body,omitempty"`
}

DeleteManagedNamespaceOK deletes a single namespace

swagger:response deleteManagedNamespaceOK

func NewDeleteManagedNamespaceOK

func NewDeleteManagedNamespaceOK() *DeleteManagedNamespaceOK

NewDeleteManagedNamespaceOK creates DeleteManagedNamespaceOK with default headers values

func (*DeleteManagedNamespaceOK) SetPayload

func (o *DeleteManagedNamespaceOK) SetPayload(payload *models.Namespace)

SetPayload sets the payload to the delete managed namespace o k response

func (*DeleteManagedNamespaceOK) WithPayload

WithPayload adds the payload to the delete managed namespace o k response

func (*DeleteManagedNamespaceOK) WriteResponse

func (o *DeleteManagedNamespaceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteManagedNamespaceParams

type DeleteManagedNamespaceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Customer string
	/*
	  Required: true
	  In: path
	*/
	Name string
}

DeleteManagedNamespaceParams contains all the bound params for the delete managed namespace operation typically these are obtained from a http.Request

swagger:parameters deleteManagedNamespace

func NewDeleteManagedNamespaceParams

func NewDeleteManagedNamespaceParams() DeleteManagedNamespaceParams

NewDeleteManagedNamespaceParams creates a new DeleteManagedNamespaceParams object no default values defined in spec.

func (*DeleteManagedNamespaceParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteManagedNamespaceParams() beforehand.

type DeleteManagedNamespaceURL

type DeleteManagedNamespaceURL struct {
	Customer string
	Name     string
	// contains filtered or unexported fields
}

DeleteManagedNamespaceURL generates an URL for the delete managed namespace operation

func (*DeleteManagedNamespaceURL) Build

func (o *DeleteManagedNamespaceURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteManagedNamespaceURL) BuildFull

func (o *DeleteManagedNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteManagedNamespaceURL) Must

func (o *DeleteManagedNamespaceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteManagedNamespaceURL) SetBasePath

func (o *DeleteManagedNamespaceURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteManagedNamespaceURL) String

func (o *DeleteManagedNamespaceURL) String() string

String returns the string representation of the path with query string

func (*DeleteManagedNamespaceURL) StringFull

func (o *DeleteManagedNamespaceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteManagedNamespaceURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetManagedNamespace

type GetManagedNamespace struct {
	Context *middleware.Context
	Handler GetManagedNamespaceHandler
}

GetManagedNamespace swagger:route GET /namespace/{customer}/{name} namespace getManagedNamespace

GetManagedNamespace get managed namespace API

func NewGetManagedNamespace

func NewGetManagedNamespace(ctx *middleware.Context, handler GetManagedNamespaceHandler) *GetManagedNamespace

NewGetManagedNamespace creates a new http.Handler for the get managed namespace operation

func (*GetManagedNamespace) ServeHTTP

func (o *GetManagedNamespace) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetManagedNamespaceHandler

type GetManagedNamespaceHandler interface {
	Handle(GetManagedNamespaceParams) middleware.Responder
}

GetManagedNamespaceHandler interface for that can handle valid get managed namespace params

type GetManagedNamespaceHandlerFunc

type GetManagedNamespaceHandlerFunc func(GetManagedNamespaceParams) middleware.Responder

GetManagedNamespaceHandlerFunc turns a function with the right signature into a get managed namespace handler

func (GetManagedNamespaceHandlerFunc) Handle

Handle executing the request and returning a response

type GetManagedNamespaceOK

type GetManagedNamespaceOK struct {

	/*
	  In: Body
	*/
	Payload *models.Namespace `json:"body,omitempty"`
}

GetManagedNamespaceOK returns a single namespace

swagger:response getManagedNamespaceOK

func NewGetManagedNamespaceOK

func NewGetManagedNamespaceOK() *GetManagedNamespaceOK

NewGetManagedNamespaceOK creates GetManagedNamespaceOK with default headers values

func (*GetManagedNamespaceOK) SetPayload

func (o *GetManagedNamespaceOK) SetPayload(payload *models.Namespace)

SetPayload sets the payload to the get managed namespace o k response

func (*GetManagedNamespaceOK) WithPayload

func (o *GetManagedNamespaceOK) WithPayload(payload *models.Namespace) *GetManagedNamespaceOK

WithPayload adds the payload to the get managed namespace o k response

func (*GetManagedNamespaceOK) WriteResponse

func (o *GetManagedNamespaceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetManagedNamespaceParams

type GetManagedNamespaceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Customer string
	/*
	  Required: true
	  In: path
	*/
	Name string
}

GetManagedNamespaceParams contains all the bound params for the get managed namespace operation typically these are obtained from a http.Request

swagger:parameters getManagedNamespace

func NewGetManagedNamespaceParams

func NewGetManagedNamespaceParams() GetManagedNamespaceParams

NewGetManagedNamespaceParams creates a new GetManagedNamespaceParams object no default values defined in spec.

func (*GetManagedNamespaceParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetManagedNamespaceParams() beforehand.

type GetManagedNamespaceURL

type GetManagedNamespaceURL struct {
	Customer string
	Name     string
	// contains filtered or unexported fields
}

GetManagedNamespaceURL generates an URL for the get managed namespace operation

func (*GetManagedNamespaceURL) Build

func (o *GetManagedNamespaceURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetManagedNamespaceURL) BuildFull

func (o *GetManagedNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetManagedNamespaceURL) Must

func (o *GetManagedNamespaceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetManagedNamespaceURL) SetBasePath

func (o *GetManagedNamespaceURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetManagedNamespaceURL) String

func (o *GetManagedNamespaceURL) String() string

String returns the string representation of the path with query string

func (*GetManagedNamespaceURL) StringFull

func (o *GetManagedNamespaceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetManagedNamespaceURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetManagedNamespaces

type GetManagedNamespaces struct {
	Context *middleware.Context
	Handler GetManagedNamespacesHandler
}

GetManagedNamespaces swagger:route GET /namespaces namespace getManagedNamespaces

GetManagedNamespaces get managed namespaces API

func NewGetManagedNamespaces

func NewGetManagedNamespaces(ctx *middleware.Context, handler GetManagedNamespacesHandler) *GetManagedNamespaces

NewGetManagedNamespaces creates a new http.Handler for the get managed namespaces operation

func (*GetManagedNamespaces) ServeHTTP

func (o *GetManagedNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetManagedNamespacesHandler

type GetManagedNamespacesHandler interface {
	Handle(GetManagedNamespacesParams) middleware.Responder
}

GetManagedNamespacesHandler interface for that can handle valid get managed namespaces params

type GetManagedNamespacesHandlerFunc

type GetManagedNamespacesHandlerFunc func(GetManagedNamespacesParams) middleware.Responder

GetManagedNamespacesHandlerFunc turns a function with the right signature into a get managed namespaces handler

func (GetManagedNamespacesHandlerFunc) Handle

Handle executing the request and returning a response

type GetManagedNamespacesOK

type GetManagedNamespacesOK struct {

	/*list of namespaces
	  In: Body
	*/
	Payload []*models.Namespace `json:"body,omitempty"`
}

GetManagedNamespacesOK returns a list of namespaces

swagger:response getManagedNamespacesOK

func NewGetManagedNamespacesOK

func NewGetManagedNamespacesOK() *GetManagedNamespacesOK

NewGetManagedNamespacesOK creates GetManagedNamespacesOK with default headers values

func (*GetManagedNamespacesOK) SetPayload

func (o *GetManagedNamespacesOK) SetPayload(payload []*models.Namespace)

SetPayload sets the payload to the get managed namespaces o k response

func (*GetManagedNamespacesOK) WithPayload

func (o *GetManagedNamespacesOK) WithPayload(payload []*models.Namespace) *GetManagedNamespacesOK

WithPayload adds the payload to the get managed namespaces o k response

func (*GetManagedNamespacesOK) WriteResponse

func (o *GetManagedNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetManagedNamespacesParams

type GetManagedNamespacesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetManagedNamespacesParams contains all the bound params for the get managed namespaces operation typically these are obtained from a http.Request

swagger:parameters getManagedNamespaces

func NewGetManagedNamespacesParams

func NewGetManagedNamespacesParams() GetManagedNamespacesParams

NewGetManagedNamespacesParams creates a new GetManagedNamespacesParams object no default values defined in spec.

func (*GetManagedNamespacesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetManagedNamespacesParams() beforehand.

type GetManagedNamespacesURL

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

GetManagedNamespacesURL generates an URL for the get managed namespaces operation

func (*GetManagedNamespacesURL) Build

func (o *GetManagedNamespacesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetManagedNamespacesURL) BuildFull

func (o *GetManagedNamespacesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetManagedNamespacesURL) Must

func (o *GetManagedNamespacesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetManagedNamespacesURL) SetBasePath

func (o *GetManagedNamespacesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetManagedNamespacesURL) String

func (o *GetManagedNamespacesURL) String() string

String returns the string representation of the path with query string

func (*GetManagedNamespacesURL) StringFull

func (o *GetManagedNamespacesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetManagedNamespacesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateManagedNamespace

type UpdateManagedNamespace struct {
	Context *middleware.Context
	Handler UpdateManagedNamespaceHandler
}

UpdateManagedNamespace swagger:route POST /namespace/{customer}/{name} namespace updateManagedNamespace

UpdateManagedNamespace update managed namespace API

func NewUpdateManagedNamespace

func NewUpdateManagedNamespace(ctx *middleware.Context, handler UpdateManagedNamespaceHandler) *UpdateManagedNamespace

NewUpdateManagedNamespace creates a new http.Handler for the update managed namespace operation

func (*UpdateManagedNamespace) ServeHTTP

func (o *UpdateManagedNamespace) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateManagedNamespaceHandler

type UpdateManagedNamespaceHandler interface {
	Handle(UpdateManagedNamespaceParams) middleware.Responder
}

UpdateManagedNamespaceHandler interface for that can handle valid update managed namespace params

type UpdateManagedNamespaceHandlerFunc

type UpdateManagedNamespaceHandlerFunc func(UpdateManagedNamespaceParams) middleware.Responder

UpdateManagedNamespaceHandlerFunc turns a function with the right signature into a update managed namespace handler

func (UpdateManagedNamespaceHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateManagedNamespaceOK

type UpdateManagedNamespaceOK struct {

	/*
	  In: Body
	*/
	Payload *models.Namespace `json:"body,omitempty"`
}

UpdateManagedNamespaceOK deletes a single namespace

swagger:response updateManagedNamespaceOK

func NewUpdateManagedNamespaceOK

func NewUpdateManagedNamespaceOK() *UpdateManagedNamespaceOK

NewUpdateManagedNamespaceOK creates UpdateManagedNamespaceOK with default headers values

func (*UpdateManagedNamespaceOK) SetPayload

func (o *UpdateManagedNamespaceOK) SetPayload(payload *models.Namespace)

SetPayload sets the payload to the update managed namespace o k response

func (*UpdateManagedNamespaceOK) WithPayload

WithPayload adds the payload to the update managed namespace o k response

func (*UpdateManagedNamespaceOK) WriteResponse

func (o *UpdateManagedNamespaceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateManagedNamespaceParams

type UpdateManagedNamespaceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *models.Namespace
	/*
	  Required: true
	  In: path
	*/
	Customer string
	/*
	  Required: true
	  In: path
	*/
	Name string
}

UpdateManagedNamespaceParams contains all the bound params for the update managed namespace operation typically these are obtained from a http.Request

swagger:parameters updateManagedNamespace

func NewUpdateManagedNamespaceParams

func NewUpdateManagedNamespaceParams() UpdateManagedNamespaceParams

NewUpdateManagedNamespaceParams creates a new UpdateManagedNamespaceParams object no default values defined in spec.

func (*UpdateManagedNamespaceParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateManagedNamespaceParams() beforehand.

type UpdateManagedNamespaceURL

type UpdateManagedNamespaceURL struct {
	Customer string
	Name     string
	// contains filtered or unexported fields
}

UpdateManagedNamespaceURL generates an URL for the update managed namespace operation

func (*UpdateManagedNamespaceURL) Build

func (o *UpdateManagedNamespaceURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateManagedNamespaceURL) BuildFull

func (o *UpdateManagedNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateManagedNamespaceURL) Must

func (o *UpdateManagedNamespaceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateManagedNamespaceURL) SetBasePath

func (o *UpdateManagedNamespaceURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateManagedNamespaceURL) String

func (o *UpdateManagedNamespaceURL) String() string

String returns the string representation of the path with query string

func (*UpdateManagedNamespaceURL) StringFull

func (o *UpdateManagedNamespaceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateManagedNamespaceURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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