Documentation
¶
Index ¶
- Constants
- type CreateManagedNamespace
- type CreateManagedNamespaceHandler
- type CreateManagedNamespaceHandlerFunc
- type CreateManagedNamespaceOK
- type CreateManagedNamespaceParams
- type CreateManagedNamespaceURL
- func (o *CreateManagedNamespaceURL) Build() (*url.URL, error)
- func (o *CreateManagedNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateManagedNamespaceURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateManagedNamespaceURL) SetBasePath(bp string)
- func (o *CreateManagedNamespaceURL) String() string
- func (o *CreateManagedNamespaceURL) StringFull(scheme, host string) string
- func (o *CreateManagedNamespaceURL) WithBasePath(bp string) *CreateManagedNamespaceURL
- type DeleteManagedNamespace
- type DeleteManagedNamespaceHandler
- type DeleteManagedNamespaceHandlerFunc
- type DeleteManagedNamespaceOK
- type DeleteManagedNamespaceParams
- type DeleteManagedNamespaceURL
- func (o *DeleteManagedNamespaceURL) Build() (*url.URL, error)
- func (o *DeleteManagedNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteManagedNamespaceURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteManagedNamespaceURL) SetBasePath(bp string)
- func (o *DeleteManagedNamespaceURL) String() string
- func (o *DeleteManagedNamespaceURL) StringFull(scheme, host string) string
- func (o *DeleteManagedNamespaceURL) WithBasePath(bp string) *DeleteManagedNamespaceURL
- type GetManagedNamespace
- type GetManagedNamespaceHandler
- type GetManagedNamespaceHandlerFunc
- type GetManagedNamespaceOK
- type GetManagedNamespaceParams
- type GetManagedNamespaceURL
- func (o *GetManagedNamespaceURL) Build() (*url.URL, error)
- func (o *GetManagedNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetManagedNamespaceURL) Must(u *url.URL, err error) *url.URL
- func (o *GetManagedNamespaceURL) SetBasePath(bp string)
- func (o *GetManagedNamespaceURL) String() string
- func (o *GetManagedNamespaceURL) StringFull(scheme, host string) string
- func (o *GetManagedNamespaceURL) WithBasePath(bp string) *GetManagedNamespaceURL
- type GetManagedNamespaces
- type GetManagedNamespacesHandler
- type GetManagedNamespacesHandlerFunc
- type GetManagedNamespacesOK
- type GetManagedNamespacesParams
- type GetManagedNamespacesURL
- func (o *GetManagedNamespacesURL) Build() (*url.URL, error)
- func (o *GetManagedNamespacesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetManagedNamespacesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetManagedNamespacesURL) SetBasePath(bp string)
- func (o *GetManagedNamespacesURL) String() string
- func (o *GetManagedNamespacesURL) StringFull(scheme, host string) string
- func (o *GetManagedNamespacesURL) WithBasePath(bp string) *GetManagedNamespacesURL
- type UpdateManagedNamespace
- type UpdateManagedNamespaceHandler
- type UpdateManagedNamespaceHandlerFunc
- type UpdateManagedNamespaceOK
- type UpdateManagedNamespaceParams
- type UpdateManagedNamespaceURL
- func (o *UpdateManagedNamespaceURL) Build() (*url.URL, error)
- func (o *UpdateManagedNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateManagedNamespaceURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateManagedNamespaceURL) SetBasePath(bp string)
- func (o *UpdateManagedNamespaceURL) String() string
- func (o *UpdateManagedNamespaceURL) StringFull(scheme, host string) string
- func (o *UpdateManagedNamespaceURL) WithBasePath(bp string) *UpdateManagedNamespaceURL
Constants ¶
const CreateManagedNamespaceOKCode int = 200
CreateManagedNamespaceOKCode is the HTTP code returned for type CreateManagedNamespaceOK
const DeleteManagedNamespaceOKCode int = 200
DeleteManagedNamespaceOKCode is the HTTP code returned for type DeleteManagedNamespaceOK
const GetManagedNamespaceOKCode int = 200
GetManagedNamespaceOKCode is the HTTP code returned for type GetManagedNamespaceOK
const GetManagedNamespacesOKCode int = 200
GetManagedNamespacesOKCode is the HTTP code returned for type GetManagedNamespacesOK
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 ¶
func (fn CreateManagedNamespaceHandlerFunc) Handle(params CreateManagedNamespaceParams) middleware.Responder
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 ¶
func (o *CreateManagedNamespaceOK) WithPayload(payload *models.Namespace) *CreateManagedNamespaceOK
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 ¶
func (o *CreateManagedNamespaceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
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 ¶
func (o *CreateManagedNamespaceURL) WithBasePath(bp string) *CreateManagedNamespaceURL
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 ¶
func (fn DeleteManagedNamespaceHandlerFunc) Handle(params DeleteManagedNamespaceParams) middleware.Responder
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 ¶
func (o *DeleteManagedNamespaceOK) WithPayload(payload *models.Namespace) *DeleteManagedNamespaceOK
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 ¶
func (o *DeleteManagedNamespaceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
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 ¶
func (o *DeleteManagedNamespaceURL) WithBasePath(bp string) *DeleteManagedNamespaceURL
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 ¶
func (fn GetManagedNamespaceHandlerFunc) Handle(params GetManagedNamespaceParams) middleware.Responder
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 ¶
func (o *GetManagedNamespaceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
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 ¶
func (o *GetManagedNamespaceURL) WithBasePath(bp string) *GetManagedNamespaceURL
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 ¶
func (fn GetManagedNamespacesHandlerFunc) Handle(params GetManagedNamespacesParams) middleware.Responder
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 ¶
func (o *GetManagedNamespacesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
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 ¶
func (o *GetManagedNamespacesURL) WithBasePath(bp string) *GetManagedNamespacesURL
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 ¶
func (fn UpdateManagedNamespaceHandlerFunc) Handle(params UpdateManagedNamespaceParams) middleware.Responder
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 ¶
func (o *UpdateManagedNamespaceOK) WithPayload(payload *models.Namespace) *UpdateManagedNamespaceOK
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 ¶
func (o *UpdateManagedNamespaceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
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 ¶
func (o *UpdateManagedNamespaceURL) WithBasePath(bp string) *UpdateManagedNamespaceURL
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
Source Files
¶
- create_managed_namespace.go
- create_managed_namespace_parameters.go
- create_managed_namespace_responses.go
- create_managed_namespace_urlbuilder.go
- delete_managed_namespace.go
- delete_managed_namespace_parameters.go
- delete_managed_namespace_responses.go
- delete_managed_namespace_urlbuilder.go
- get_managed_namespace.go
- get_managed_namespace_parameters.go
- get_managed_namespace_responses.go
- get_managed_namespace_urlbuilder.go
- get_managed_namespaces.go
- get_managed_namespaces_parameters.go
- get_managed_namespaces_responses.go
- get_managed_namespaces_urlbuilder.go
- update_managed_namespace.go
- update_managed_namespace_parameters.go
- update_managed_namespace_responses.go
- update_managed_namespace_urlbuilder.go