Documentation ¶
Index ¶
- Constants
- type AddOrganization
- type AddOrganizationBadRequest
- type AddOrganizationConflict
- type AddOrganizationCreated
- type AddOrganizationDefault
- func (o *AddOrganizationDefault) SetPayload(payload *v1.Error)
- func (o *AddOrganizationDefault) SetStatusCode(code int)
- func (o *AddOrganizationDefault) WithPayload(payload *v1.Error) *AddOrganizationDefault
- func (o *AddOrganizationDefault) WithStatusCode(code int) *AddOrganizationDefault
- func (o *AddOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddOrganizationForbidden
- type AddOrganizationHandler
- type AddOrganizationHandlerFunc
- type AddOrganizationParams
- type AddOrganizationURL
- func (o *AddOrganizationURL) Build() (*url.URL, error)
- func (o *AddOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddOrganizationURL) Must(u *url.URL, err error) *url.URL
- func (o *AddOrganizationURL) SetBasePath(bp string)
- func (o *AddOrganizationURL) String() string
- func (o *AddOrganizationURL) StringFull(scheme, host string) string
- func (o *AddOrganizationURL) WithBasePath(bp string) *AddOrganizationURL
- type AddOrganizationUnauthorized
- type DeleteOrganization
- type DeleteOrganizationBadRequest
- type DeleteOrganizationDefault
- func (o *DeleteOrganizationDefault) SetPayload(payload *v1.Error)
- func (o *DeleteOrganizationDefault) SetStatusCode(code int)
- func (o *DeleteOrganizationDefault) WithPayload(payload *v1.Error) *DeleteOrganizationDefault
- func (o *DeleteOrganizationDefault) WithStatusCode(code int) *DeleteOrganizationDefault
- func (o *DeleteOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteOrganizationForbidden
- type DeleteOrganizationHandler
- type DeleteOrganizationHandlerFunc
- type DeleteOrganizationNotFound
- type DeleteOrganizationOK
- type DeleteOrganizationParams
- type DeleteOrganizationURL
- func (o *DeleteOrganizationURL) Build() (*url.URL, error)
- func (o *DeleteOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteOrganizationURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteOrganizationURL) SetBasePath(bp string)
- func (o *DeleteOrganizationURL) String() string
- func (o *DeleteOrganizationURL) StringFull(scheme, host string) string
- func (o *DeleteOrganizationURL) WithBasePath(bp string) *DeleteOrganizationURL
- type DeleteOrganizationUnauthorized
- type GetOrganization
- type GetOrganizationBadRequest
- type GetOrganizationDefault
- func (o *GetOrganizationDefault) SetPayload(payload *v1.Error)
- func (o *GetOrganizationDefault) SetStatusCode(code int)
- func (o *GetOrganizationDefault) WithPayload(payload *v1.Error) *GetOrganizationDefault
- func (o *GetOrganizationDefault) WithStatusCode(code int) *GetOrganizationDefault
- func (o *GetOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetOrganizationForbidden
- type GetOrganizationHandler
- type GetOrganizationHandlerFunc
- type GetOrganizationNotFound
- type GetOrganizationOK
- type GetOrganizationParams
- type GetOrganizationURL
- func (o *GetOrganizationURL) Build() (*url.URL, error)
- func (o *GetOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOrganizationURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOrganizationURL) SetBasePath(bp string)
- func (o *GetOrganizationURL) String() string
- func (o *GetOrganizationURL) StringFull(scheme, host string) string
- func (o *GetOrganizationURL) WithBasePath(bp string) *GetOrganizationURL
- type GetOrganizationUnauthorized
- type GetOrganizations
- type GetOrganizationsDefault
- func (o *GetOrganizationsDefault) SetPayload(payload *v1.Error)
- func (o *GetOrganizationsDefault) SetStatusCode(code int)
- func (o *GetOrganizationsDefault) WithPayload(payload *v1.Error) *GetOrganizationsDefault
- func (o *GetOrganizationsDefault) WithStatusCode(code int) *GetOrganizationsDefault
- func (o *GetOrganizationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetOrganizationsForbidden
- type GetOrganizationsHandler
- type GetOrganizationsHandlerFunc
- type GetOrganizationsOK
- type GetOrganizationsParams
- type GetOrganizationsURL
- func (o *GetOrganizationsURL) Build() (*url.URL, error)
- func (o *GetOrganizationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOrganizationsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOrganizationsURL) SetBasePath(bp string)
- func (o *GetOrganizationsURL) String() string
- func (o *GetOrganizationsURL) StringFull(scheme, host string) string
- func (o *GetOrganizationsURL) WithBasePath(bp string) *GetOrganizationsURL
- type GetOrganizationsUnauthorized
- type UpdateOrganization
- type UpdateOrganizationBadRequest
- type UpdateOrganizationDefault
- func (o *UpdateOrganizationDefault) SetPayload(payload *v1.Error)
- func (o *UpdateOrganizationDefault) SetStatusCode(code int)
- func (o *UpdateOrganizationDefault) WithPayload(payload *v1.Error) *UpdateOrganizationDefault
- func (o *UpdateOrganizationDefault) WithStatusCode(code int) *UpdateOrganizationDefault
- func (o *UpdateOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateOrganizationForbidden
- type UpdateOrganizationHandler
- type UpdateOrganizationHandlerFunc
- type UpdateOrganizationNotFound
- type UpdateOrganizationOK
- type UpdateOrganizationParams
- type UpdateOrganizationURL
- func (o *UpdateOrganizationURL) Build() (*url.URL, error)
- func (o *UpdateOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateOrganizationURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateOrganizationURL) SetBasePath(bp string)
- func (o *UpdateOrganizationURL) String() string
- func (o *UpdateOrganizationURL) StringFull(scheme, host string) string
- func (o *UpdateOrganizationURL) WithBasePath(bp string) *UpdateOrganizationURL
- type UpdateOrganizationUnauthorized
Constants ¶
const AddOrganizationBadRequestCode int = 400
AddOrganizationBadRequestCode is the HTTP code returned for type AddOrganizationBadRequest
const AddOrganizationConflictCode int = 409
AddOrganizationConflictCode is the HTTP code returned for type AddOrganizationConflict
const AddOrganizationCreatedCode int = 201
AddOrganizationCreatedCode is the HTTP code returned for type AddOrganizationCreated
const AddOrganizationForbiddenCode int = 403
AddOrganizationForbiddenCode is the HTTP code returned for type AddOrganizationForbidden
AddOrganizationUnauthorizedCode is the HTTP code returned for type AddOrganizationUnauthorized
const DeleteOrganizationBadRequestCode int = 400
DeleteOrganizationBadRequestCode is the HTTP code returned for type DeleteOrganizationBadRequest
const DeleteOrganizationForbiddenCode int = 403
DeleteOrganizationForbiddenCode is the HTTP code returned for type DeleteOrganizationForbidden
const DeleteOrganizationNotFoundCode int = 404
DeleteOrganizationNotFoundCode is the HTTP code returned for type DeleteOrganizationNotFound
const DeleteOrganizationOKCode int = 200
DeleteOrganizationOKCode is the HTTP code returned for type DeleteOrganizationOK
DeleteOrganizationUnauthorizedCode is the HTTP code returned for type DeleteOrganizationUnauthorized
const GetOrganizationBadRequestCode int = 400
GetOrganizationBadRequestCode is the HTTP code returned for type GetOrganizationBadRequest
const GetOrganizationForbiddenCode int = 403
GetOrganizationForbiddenCode is the HTTP code returned for type GetOrganizationForbidden
const GetOrganizationNotFoundCode int = 404
GetOrganizationNotFoundCode is the HTTP code returned for type GetOrganizationNotFound
const GetOrganizationOKCode int = 200
GetOrganizationOKCode is the HTTP code returned for type GetOrganizationOK
GetOrganizationUnauthorizedCode is the HTTP code returned for type GetOrganizationUnauthorized
const GetOrganizationsForbiddenCode int = 403
GetOrganizationsForbiddenCode is the HTTP code returned for type GetOrganizationsForbidden
const GetOrganizationsOKCode int = 200
GetOrganizationsOKCode is the HTTP code returned for type GetOrganizationsOK
GetOrganizationsUnauthorizedCode is the HTTP code returned for type GetOrganizationsUnauthorized
const UpdateOrganizationBadRequestCode int = 400
UpdateOrganizationBadRequestCode is the HTTP code returned for type UpdateOrganizationBadRequest
const UpdateOrganizationForbiddenCode int = 403
UpdateOrganizationForbiddenCode is the HTTP code returned for type UpdateOrganizationForbidden
const UpdateOrganizationNotFoundCode int = 404
UpdateOrganizationNotFoundCode is the HTTP code returned for type UpdateOrganizationNotFound
const UpdateOrganizationOKCode int = 200
UpdateOrganizationOKCode is the HTTP code returned for type UpdateOrganizationOK
UpdateOrganizationUnauthorizedCode is the HTTP code returned for type UpdateOrganizationUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOrganization ¶
type AddOrganization struct { Context *middleware.Context Handler AddOrganizationHandler }
AddOrganization swagger:route POST /v1/iam/organization organization addOrganization
Add a new organization
func NewAddOrganization ¶
func NewAddOrganization(ctx *middleware.Context, handler AddOrganizationHandler) *AddOrganization
NewAddOrganization creates a new http.Handler for the add organization operation
func (*AddOrganization) ServeHTTP ¶
func (o *AddOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddOrganizationBadRequest ¶
AddOrganizationBadRequest Invalid input
swagger:response addOrganizationBadRequest
func NewAddOrganizationBadRequest ¶
func NewAddOrganizationBadRequest() *AddOrganizationBadRequest
NewAddOrganizationBadRequest creates AddOrganizationBadRequest with default headers values
func (*AddOrganizationBadRequest) SetPayload ¶
func (o *AddOrganizationBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add organization bad request response
func (*AddOrganizationBadRequest) WithPayload ¶
func (o *AddOrganizationBadRequest) WithPayload(payload *v1.Error) *AddOrganizationBadRequest
WithPayload adds the payload to the add organization bad request response
func (*AddOrganizationBadRequest) WriteResponse ¶
func (o *AddOrganizationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddOrganizationConflict ¶
AddOrganizationConflict Already Exists
swagger:response addOrganizationConflict
func NewAddOrganizationConflict ¶
func NewAddOrganizationConflict() *AddOrganizationConflict
NewAddOrganizationConflict creates AddOrganizationConflict with default headers values
func (*AddOrganizationConflict) SetPayload ¶
func (o *AddOrganizationConflict) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add organization conflict response
func (*AddOrganizationConflict) WithPayload ¶
func (o *AddOrganizationConflict) WithPayload(payload *v1.Error) *AddOrganizationConflict
WithPayload adds the payload to the add organization conflict response
func (*AddOrganizationConflict) WriteResponse ¶
func (o *AddOrganizationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddOrganizationCreated ¶
type AddOrganizationCreated struct { /* In: Body */ Payload *v1.Organization `json:"body,omitempty"` }
AddOrganizationCreated created
swagger:response addOrganizationCreated
func NewAddOrganizationCreated ¶
func NewAddOrganizationCreated() *AddOrganizationCreated
NewAddOrganizationCreated creates AddOrganizationCreated with default headers values
func (*AddOrganizationCreated) SetPayload ¶
func (o *AddOrganizationCreated) SetPayload(payload *v1.Organization)
SetPayload sets the payload to the add organization created response
func (*AddOrganizationCreated) WithPayload ¶
func (o *AddOrganizationCreated) WithPayload(payload *v1.Organization) *AddOrganizationCreated
WithPayload adds the payload to the add organization created response
func (*AddOrganizationCreated) WriteResponse ¶
func (o *AddOrganizationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddOrganizationDefault ¶
type AddOrganizationDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddOrganizationDefault Generic error response
swagger:response addOrganizationDefault
func NewAddOrganizationDefault ¶
func NewAddOrganizationDefault(code int) *AddOrganizationDefault
NewAddOrganizationDefault creates AddOrganizationDefault with default headers values
func (*AddOrganizationDefault) SetPayload ¶
func (o *AddOrganizationDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add organization default response
func (*AddOrganizationDefault) SetStatusCode ¶
func (o *AddOrganizationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add organization default response
func (*AddOrganizationDefault) WithPayload ¶
func (o *AddOrganizationDefault) WithPayload(payload *v1.Error) *AddOrganizationDefault
WithPayload adds the payload to the add organization default response
func (*AddOrganizationDefault) WithStatusCode ¶
func (o *AddOrganizationDefault) WithStatusCode(code int) *AddOrganizationDefault
WithStatusCode adds the status to the add organization default response
func (*AddOrganizationDefault) WriteResponse ¶
func (o *AddOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddOrganizationForbidden ¶ added in v0.1.18
AddOrganizationForbidden access to this resource is forbidden
swagger:response addOrganizationForbidden
func NewAddOrganizationForbidden ¶ added in v0.1.18
func NewAddOrganizationForbidden() *AddOrganizationForbidden
NewAddOrganizationForbidden creates AddOrganizationForbidden with default headers values
func (*AddOrganizationForbidden) SetPayload ¶ added in v0.1.18
func (o *AddOrganizationForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add organization forbidden response
func (*AddOrganizationForbidden) WithPayload ¶ added in v0.1.18
func (o *AddOrganizationForbidden) WithPayload(payload *v1.Error) *AddOrganizationForbidden
WithPayload adds the payload to the add organization forbidden response
func (*AddOrganizationForbidden) WriteResponse ¶ added in v0.1.18
func (o *AddOrganizationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddOrganizationHandler ¶
type AddOrganizationHandler interface {
Handle(AddOrganizationParams, interface{}) middleware.Responder
}
AddOrganizationHandler interface for that can handle valid add organization params
type AddOrganizationHandlerFunc ¶
type AddOrganizationHandlerFunc func(AddOrganizationParams, interface{}) middleware.Responder
AddOrganizationHandlerFunc turns a function with the right signature into a add organization handler
func (AddOrganizationHandlerFunc) Handle ¶
func (fn AddOrganizationHandlerFunc) Handle(params AddOrganizationParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type AddOrganizationParams ¶
type AddOrganizationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: header */ XDispatchOrg *string /*Organization Object Required: true In: body */ Body *v1.Organization }
AddOrganizationParams contains all the bound params for the add organization operation typically these are obtained from a http.Request
swagger:parameters addOrganization
func NewAddOrganizationParams ¶
func NewAddOrganizationParams() AddOrganizationParams
NewAddOrganizationParams creates a new AddOrganizationParams object no default values defined in spec.
func (*AddOrganizationParams) BindRequest ¶
func (o *AddOrganizationParams) 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 NewAddOrganizationParams() beforehand.
type AddOrganizationURL ¶
type AddOrganizationURL struct {
// contains filtered or unexported fields
}
AddOrganizationURL generates an URL for the add organization operation
func (*AddOrganizationURL) Build ¶
func (o *AddOrganizationURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddOrganizationURL) BuildFull ¶
func (o *AddOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddOrganizationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddOrganizationURL) SetBasePath ¶
func (o *AddOrganizationURL) 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 (*AddOrganizationURL) String ¶
func (o *AddOrganizationURL) String() string
String returns the string representation of the path with query string
func (*AddOrganizationURL) StringFull ¶
func (o *AddOrganizationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddOrganizationURL) WithBasePath ¶
func (o *AddOrganizationURL) WithBasePath(bp string) *AddOrganizationURL
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 AddOrganizationUnauthorized ¶ added in v0.1.18
AddOrganizationUnauthorized Unauthorized Request
swagger:response addOrganizationUnauthorized
func NewAddOrganizationUnauthorized ¶ added in v0.1.18
func NewAddOrganizationUnauthorized() *AddOrganizationUnauthorized
NewAddOrganizationUnauthorized creates AddOrganizationUnauthorized with default headers values
func (*AddOrganizationUnauthorized) SetPayload ¶ added in v0.1.18
func (o *AddOrganizationUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add organization unauthorized response
func (*AddOrganizationUnauthorized) WithPayload ¶ added in v0.1.18
func (o *AddOrganizationUnauthorized) WithPayload(payload *v1.Error) *AddOrganizationUnauthorized
WithPayload adds the payload to the add organization unauthorized response
func (*AddOrganizationUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *AddOrganizationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteOrganization ¶
type DeleteOrganization struct { Context *middleware.Context Handler DeleteOrganizationHandler }
DeleteOrganization swagger:route DELETE /v1/iam/organization/{organizationName} organization deleteOrganization
Deletes an Organization
func NewDeleteOrganization ¶
func NewDeleteOrganization(ctx *middleware.Context, handler DeleteOrganizationHandler) *DeleteOrganization
NewDeleteOrganization creates a new http.Handler for the delete organization operation
func (*DeleteOrganization) ServeHTTP ¶
func (o *DeleteOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteOrganizationBadRequest ¶
type DeleteOrganizationBadRequest struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
DeleteOrganizationBadRequest Invalid Name supplied
swagger:response deleteOrganizationBadRequest
func NewDeleteOrganizationBadRequest ¶
func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest
NewDeleteOrganizationBadRequest creates DeleteOrganizationBadRequest with default headers values
func (*DeleteOrganizationBadRequest) SetPayload ¶
func (o *DeleteOrganizationBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete organization bad request response
func (*DeleteOrganizationBadRequest) WithPayload ¶
func (o *DeleteOrganizationBadRequest) WithPayload(payload *v1.Error) *DeleteOrganizationBadRequest
WithPayload adds the payload to the delete organization bad request response
func (*DeleteOrganizationBadRequest) WriteResponse ¶
func (o *DeleteOrganizationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteOrganizationDefault ¶ added in v0.1.18
type DeleteOrganizationDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteOrganizationDefault Unknown error
swagger:response deleteOrganizationDefault
func NewDeleteOrganizationDefault ¶ added in v0.1.18
func NewDeleteOrganizationDefault(code int) *DeleteOrganizationDefault
NewDeleteOrganizationDefault creates DeleteOrganizationDefault with default headers values
func (*DeleteOrganizationDefault) SetPayload ¶ added in v0.1.18
func (o *DeleteOrganizationDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete organization default response
func (*DeleteOrganizationDefault) SetStatusCode ¶ added in v0.1.18
func (o *DeleteOrganizationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete organization default response
func (*DeleteOrganizationDefault) WithPayload ¶ added in v0.1.18
func (o *DeleteOrganizationDefault) WithPayload(payload *v1.Error) *DeleteOrganizationDefault
WithPayload adds the payload to the delete organization default response
func (*DeleteOrganizationDefault) WithStatusCode ¶ added in v0.1.18
func (o *DeleteOrganizationDefault) WithStatusCode(code int) *DeleteOrganizationDefault
WithStatusCode adds the status to the delete organization default response
func (*DeleteOrganizationDefault) WriteResponse ¶ added in v0.1.18
func (o *DeleteOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteOrganizationForbidden ¶ added in v0.1.18
type DeleteOrganizationForbidden struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
DeleteOrganizationForbidden access to this resource is forbidden
swagger:response deleteOrganizationForbidden
func NewDeleteOrganizationForbidden ¶ added in v0.1.18
func NewDeleteOrganizationForbidden() *DeleteOrganizationForbidden
NewDeleteOrganizationForbidden creates DeleteOrganizationForbidden with default headers values
func (*DeleteOrganizationForbidden) SetPayload ¶ added in v0.1.18
func (o *DeleteOrganizationForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete organization forbidden response
func (*DeleteOrganizationForbidden) WithPayload ¶ added in v0.1.18
func (o *DeleteOrganizationForbidden) WithPayload(payload *v1.Error) *DeleteOrganizationForbidden
WithPayload adds the payload to the delete organization forbidden response
func (*DeleteOrganizationForbidden) WriteResponse ¶ added in v0.1.18
func (o *DeleteOrganizationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteOrganizationHandler ¶
type DeleteOrganizationHandler interface {
Handle(DeleteOrganizationParams, interface{}) middleware.Responder
}
DeleteOrganizationHandler interface for that can handle valid delete organization params
type DeleteOrganizationHandlerFunc ¶
type DeleteOrganizationHandlerFunc func(DeleteOrganizationParams, interface{}) middleware.Responder
DeleteOrganizationHandlerFunc turns a function with the right signature into a delete organization handler
func (DeleteOrganizationHandlerFunc) Handle ¶
func (fn DeleteOrganizationHandlerFunc) Handle(params DeleteOrganizationParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteOrganizationNotFound ¶
DeleteOrganizationNotFound Organization not found
swagger:response deleteOrganizationNotFound
func NewDeleteOrganizationNotFound ¶
func NewDeleteOrganizationNotFound() *DeleteOrganizationNotFound
NewDeleteOrganizationNotFound creates DeleteOrganizationNotFound with default headers values
func (*DeleteOrganizationNotFound) SetPayload ¶
func (o *DeleteOrganizationNotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete organization not found response
func (*DeleteOrganizationNotFound) WithPayload ¶
func (o *DeleteOrganizationNotFound) WithPayload(payload *v1.Error) *DeleteOrganizationNotFound
WithPayload adds the payload to the delete organization not found response
func (*DeleteOrganizationNotFound) WriteResponse ¶
func (o *DeleteOrganizationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteOrganizationOK ¶
type DeleteOrganizationOK struct { /* In: Body */ Payload *v1.Organization `json:"body,omitempty"` }
DeleteOrganizationOK Successful operation
swagger:response deleteOrganizationOK
func NewDeleteOrganizationOK ¶
func NewDeleteOrganizationOK() *DeleteOrganizationOK
NewDeleteOrganizationOK creates DeleteOrganizationOK with default headers values
func (*DeleteOrganizationOK) SetPayload ¶
func (o *DeleteOrganizationOK) SetPayload(payload *v1.Organization)
SetPayload sets the payload to the delete organization o k response
func (*DeleteOrganizationOK) WithPayload ¶
func (o *DeleteOrganizationOK) WithPayload(payload *v1.Organization) *DeleteOrganizationOK
WithPayload adds the payload to the delete organization o k response
func (*DeleteOrganizationOK) WriteResponse ¶
func (o *DeleteOrganizationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteOrganizationParams ¶
type DeleteOrganizationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XDispatchOrg string /*Name of Organization to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ OrganizationName string }
DeleteOrganizationParams contains all the bound params for the delete organization operation typically these are obtained from a http.Request
swagger:parameters deleteOrganization
func NewDeleteOrganizationParams ¶
func NewDeleteOrganizationParams() DeleteOrganizationParams
NewDeleteOrganizationParams creates a new DeleteOrganizationParams object no default values defined in spec.
func (*DeleteOrganizationParams) BindRequest ¶
func (o *DeleteOrganizationParams) 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 NewDeleteOrganizationParams() beforehand.
type DeleteOrganizationURL ¶
type DeleteOrganizationURL struct { OrganizationName string // contains filtered or unexported fields }
DeleteOrganizationURL generates an URL for the delete organization operation
func (*DeleteOrganizationURL) Build ¶
func (o *DeleteOrganizationURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteOrganizationURL) BuildFull ¶
func (o *DeleteOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteOrganizationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteOrganizationURL) SetBasePath ¶
func (o *DeleteOrganizationURL) 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 (*DeleteOrganizationURL) String ¶
func (o *DeleteOrganizationURL) String() string
String returns the string representation of the path with query string
func (*DeleteOrganizationURL) StringFull ¶
func (o *DeleteOrganizationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteOrganizationURL) WithBasePath ¶
func (o *DeleteOrganizationURL) WithBasePath(bp string) *DeleteOrganizationURL
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 DeleteOrganizationUnauthorized ¶ added in v0.1.18
DeleteOrganizationUnauthorized Unauthorized Request
swagger:response deleteOrganizationUnauthorized
func NewDeleteOrganizationUnauthorized ¶ added in v0.1.18
func NewDeleteOrganizationUnauthorized() *DeleteOrganizationUnauthorized
NewDeleteOrganizationUnauthorized creates DeleteOrganizationUnauthorized with default headers values
func (*DeleteOrganizationUnauthorized) SetPayload ¶ added in v0.1.18
func (o *DeleteOrganizationUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete organization unauthorized response
func (*DeleteOrganizationUnauthorized) WithPayload ¶ added in v0.1.18
func (o *DeleteOrganizationUnauthorized) WithPayload(payload *v1.Error) *DeleteOrganizationUnauthorized
WithPayload adds the payload to the delete organization unauthorized response
func (*DeleteOrganizationUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *DeleteOrganizationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganization ¶
type GetOrganization struct { Context *middleware.Context Handler GetOrganizationHandler }
GetOrganization swagger:route GET /v1/iam/organization/{organizationName} organization getOrganization
Find Organization by name ¶
get an Organization by name
func NewGetOrganization ¶
func NewGetOrganization(ctx *middleware.Context, handler GetOrganizationHandler) *GetOrganization
NewGetOrganization creates a new http.Handler for the get organization operation
func (*GetOrganization) ServeHTTP ¶
func (o *GetOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetOrganizationBadRequest ¶
GetOrganizationBadRequest Invalid Name supplied
swagger:response getOrganizationBadRequest
func NewGetOrganizationBadRequest ¶
func NewGetOrganizationBadRequest() *GetOrganizationBadRequest
NewGetOrganizationBadRequest creates GetOrganizationBadRequest with default headers values
func (*GetOrganizationBadRequest) SetPayload ¶
func (o *GetOrganizationBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get organization bad request response
func (*GetOrganizationBadRequest) WithPayload ¶
func (o *GetOrganizationBadRequest) WithPayload(payload *v1.Error) *GetOrganizationBadRequest
WithPayload adds the payload to the get organization bad request response
func (*GetOrganizationBadRequest) WriteResponse ¶
func (o *GetOrganizationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizationDefault ¶ added in v0.1.18
type GetOrganizationDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetOrganizationDefault Unknown error
swagger:response getOrganizationDefault
func NewGetOrganizationDefault ¶ added in v0.1.18
func NewGetOrganizationDefault(code int) *GetOrganizationDefault
NewGetOrganizationDefault creates GetOrganizationDefault with default headers values
func (*GetOrganizationDefault) SetPayload ¶ added in v0.1.18
func (o *GetOrganizationDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get organization default response
func (*GetOrganizationDefault) SetStatusCode ¶ added in v0.1.18
func (o *GetOrganizationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get organization default response
func (*GetOrganizationDefault) WithPayload ¶ added in v0.1.18
func (o *GetOrganizationDefault) WithPayload(payload *v1.Error) *GetOrganizationDefault
WithPayload adds the payload to the get organization default response
func (*GetOrganizationDefault) WithStatusCode ¶ added in v0.1.18
func (o *GetOrganizationDefault) WithStatusCode(code int) *GetOrganizationDefault
WithStatusCode adds the status to the get organization default response
func (*GetOrganizationDefault) WriteResponse ¶ added in v0.1.18
func (o *GetOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizationForbidden ¶ added in v0.1.18
GetOrganizationForbidden access to this resource is forbidden
swagger:response getOrganizationForbidden
func NewGetOrganizationForbidden ¶ added in v0.1.18
func NewGetOrganizationForbidden() *GetOrganizationForbidden
NewGetOrganizationForbidden creates GetOrganizationForbidden with default headers values
func (*GetOrganizationForbidden) SetPayload ¶ added in v0.1.18
func (o *GetOrganizationForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get organization forbidden response
func (*GetOrganizationForbidden) WithPayload ¶ added in v0.1.18
func (o *GetOrganizationForbidden) WithPayload(payload *v1.Error) *GetOrganizationForbidden
WithPayload adds the payload to the get organization forbidden response
func (*GetOrganizationForbidden) WriteResponse ¶ added in v0.1.18
func (o *GetOrganizationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizationHandler ¶
type GetOrganizationHandler interface {
Handle(GetOrganizationParams, interface{}) middleware.Responder
}
GetOrganizationHandler interface for that can handle valid get organization params
type GetOrganizationHandlerFunc ¶
type GetOrganizationHandlerFunc func(GetOrganizationParams, interface{}) middleware.Responder
GetOrganizationHandlerFunc turns a function with the right signature into a get organization handler
func (GetOrganizationHandlerFunc) Handle ¶
func (fn GetOrganizationHandlerFunc) Handle(params GetOrganizationParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetOrganizationNotFound ¶
GetOrganizationNotFound Organization not found
swagger:response getOrganizationNotFound
func NewGetOrganizationNotFound ¶
func NewGetOrganizationNotFound() *GetOrganizationNotFound
NewGetOrganizationNotFound creates GetOrganizationNotFound with default headers values
func (*GetOrganizationNotFound) SetPayload ¶
func (o *GetOrganizationNotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get organization not found response
func (*GetOrganizationNotFound) WithPayload ¶
func (o *GetOrganizationNotFound) WithPayload(payload *v1.Error) *GetOrganizationNotFound
WithPayload adds the payload to the get organization not found response
func (*GetOrganizationNotFound) WriteResponse ¶
func (o *GetOrganizationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizationOK ¶
type GetOrganizationOK struct { /* In: Body */ Payload *v1.Organization `json:"body,omitempty"` }
GetOrganizationOK Successful operation
swagger:response getOrganizationOK
func NewGetOrganizationOK ¶
func NewGetOrganizationOK() *GetOrganizationOK
NewGetOrganizationOK creates GetOrganizationOK with default headers values
func (*GetOrganizationOK) SetPayload ¶
func (o *GetOrganizationOK) SetPayload(payload *v1.Organization)
SetPayload sets the payload to the get organization o k response
func (*GetOrganizationOK) WithPayload ¶
func (o *GetOrganizationOK) WithPayload(payload *v1.Organization) *GetOrganizationOK
WithPayload adds the payload to the get organization o k response
func (*GetOrganizationOK) WriteResponse ¶
func (o *GetOrganizationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizationParams ¶
type GetOrganizationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XDispatchOrg string /*Name of Organization to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ OrganizationName string }
GetOrganizationParams contains all the bound params for the get organization operation typically these are obtained from a http.Request
swagger:parameters getOrganization
func NewGetOrganizationParams ¶
func NewGetOrganizationParams() GetOrganizationParams
NewGetOrganizationParams creates a new GetOrganizationParams object no default values defined in spec.
func (*GetOrganizationParams) BindRequest ¶
func (o *GetOrganizationParams) 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 NewGetOrganizationParams() beforehand.
type GetOrganizationURL ¶
type GetOrganizationURL struct { OrganizationName string // contains filtered or unexported fields }
GetOrganizationURL generates an URL for the get organization operation
func (*GetOrganizationURL) Build ¶
func (o *GetOrganizationURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOrganizationURL) BuildFull ¶
func (o *GetOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOrganizationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetOrganizationURL) SetBasePath ¶
func (o *GetOrganizationURL) 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 (*GetOrganizationURL) String ¶
func (o *GetOrganizationURL) String() string
String returns the string representation of the path with query string
func (*GetOrganizationURL) StringFull ¶
func (o *GetOrganizationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOrganizationURL) WithBasePath ¶
func (o *GetOrganizationURL) WithBasePath(bp string) *GetOrganizationURL
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 GetOrganizationUnauthorized ¶ added in v0.1.18
GetOrganizationUnauthorized Unauthorized Request
swagger:response getOrganizationUnauthorized
func NewGetOrganizationUnauthorized ¶ added in v0.1.18
func NewGetOrganizationUnauthorized() *GetOrganizationUnauthorized
NewGetOrganizationUnauthorized creates GetOrganizationUnauthorized with default headers values
func (*GetOrganizationUnauthorized) SetPayload ¶ added in v0.1.18
func (o *GetOrganizationUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get organization unauthorized response
func (*GetOrganizationUnauthorized) WithPayload ¶ added in v0.1.18
func (o *GetOrganizationUnauthorized) WithPayload(payload *v1.Error) *GetOrganizationUnauthorized
WithPayload adds the payload to the get organization unauthorized response
func (*GetOrganizationUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *GetOrganizationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizations ¶
type GetOrganizations struct { Context *middleware.Context Handler GetOrganizationsHandler }
GetOrganizations swagger:route GET /v1/iam/organization organization getOrganizations
List all existing organizations
func NewGetOrganizations ¶
func NewGetOrganizations(ctx *middleware.Context, handler GetOrganizationsHandler) *GetOrganizations
NewGetOrganizations creates a new http.Handler for the get organizations operation
func (*GetOrganizations) ServeHTTP ¶
func (o *GetOrganizations) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetOrganizationsDefault ¶
type GetOrganizationsDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetOrganizationsDefault Unexpected Error
swagger:response getOrganizationsDefault
func NewGetOrganizationsDefault ¶
func NewGetOrganizationsDefault(code int) *GetOrganizationsDefault
NewGetOrganizationsDefault creates GetOrganizationsDefault with default headers values
func (*GetOrganizationsDefault) SetPayload ¶
func (o *GetOrganizationsDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get organizations default response
func (*GetOrganizationsDefault) SetStatusCode ¶
func (o *GetOrganizationsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get organizations default response
func (*GetOrganizationsDefault) WithPayload ¶
func (o *GetOrganizationsDefault) WithPayload(payload *v1.Error) *GetOrganizationsDefault
WithPayload adds the payload to the get organizations default response
func (*GetOrganizationsDefault) WithStatusCode ¶
func (o *GetOrganizationsDefault) WithStatusCode(code int) *GetOrganizationsDefault
WithStatusCode adds the status to the get organizations default response
func (*GetOrganizationsDefault) WriteResponse ¶
func (o *GetOrganizationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizationsForbidden ¶ added in v0.1.18
GetOrganizationsForbidden access to this resource is forbidden
swagger:response getOrganizationsForbidden
func NewGetOrganizationsForbidden ¶ added in v0.1.18
func NewGetOrganizationsForbidden() *GetOrganizationsForbidden
NewGetOrganizationsForbidden creates GetOrganizationsForbidden with default headers values
func (*GetOrganizationsForbidden) SetPayload ¶ added in v0.1.18
func (o *GetOrganizationsForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get organizations forbidden response
func (*GetOrganizationsForbidden) WithPayload ¶ added in v0.1.18
func (o *GetOrganizationsForbidden) WithPayload(payload *v1.Error) *GetOrganizationsForbidden
WithPayload adds the payload to the get organizations forbidden response
func (*GetOrganizationsForbidden) WriteResponse ¶ added in v0.1.18
func (o *GetOrganizationsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizationsHandler ¶
type GetOrganizationsHandler interface {
Handle(GetOrganizationsParams, interface{}) middleware.Responder
}
GetOrganizationsHandler interface for that can handle valid get organizations params
type GetOrganizationsHandlerFunc ¶
type GetOrganizationsHandlerFunc func(GetOrganizationsParams, interface{}) middleware.Responder
GetOrganizationsHandlerFunc turns a function with the right signature into a get organizations handler
func (GetOrganizationsHandlerFunc) Handle ¶
func (fn GetOrganizationsHandlerFunc) Handle(params GetOrganizationsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetOrganizationsOK ¶
type GetOrganizationsOK struct { /* In: Body */ Payload []*v1.Organization `json:"body,omitempty"` }
GetOrganizationsOK Successful operation
swagger:response getOrganizationsOK
func NewGetOrganizationsOK ¶
func NewGetOrganizationsOK() *GetOrganizationsOK
NewGetOrganizationsOK creates GetOrganizationsOK with default headers values
func (*GetOrganizationsOK) SetPayload ¶
func (o *GetOrganizationsOK) SetPayload(payload []*v1.Organization)
SetPayload sets the payload to the get organizations o k response
func (*GetOrganizationsOK) WithPayload ¶
func (o *GetOrganizationsOK) WithPayload(payload []*v1.Organization) *GetOrganizationsOK
WithPayload adds the payload to the get organizations o k response
func (*GetOrganizationsOK) WriteResponse ¶
func (o *GetOrganizationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrganizationsParams ¶
type GetOrganizationsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: header */ XDispatchOrg *string }
GetOrganizationsParams contains all the bound params for the get organizations operation typically these are obtained from a http.Request
swagger:parameters getOrganizations
func NewGetOrganizationsParams ¶
func NewGetOrganizationsParams() GetOrganizationsParams
NewGetOrganizationsParams creates a new GetOrganizationsParams object no default values defined in spec.
func (*GetOrganizationsParams) BindRequest ¶
func (o *GetOrganizationsParams) 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 NewGetOrganizationsParams() beforehand.
type GetOrganizationsURL ¶
type GetOrganizationsURL struct {
// contains filtered or unexported fields
}
GetOrganizationsURL generates an URL for the get organizations operation
func (*GetOrganizationsURL) Build ¶
func (o *GetOrganizationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOrganizationsURL) BuildFull ¶
func (o *GetOrganizationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOrganizationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetOrganizationsURL) SetBasePath ¶
func (o *GetOrganizationsURL) 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 (*GetOrganizationsURL) String ¶
func (o *GetOrganizationsURL) String() string
String returns the string representation of the path with query string
func (*GetOrganizationsURL) StringFull ¶
func (o *GetOrganizationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOrganizationsURL) WithBasePath ¶
func (o *GetOrganizationsURL) WithBasePath(bp string) *GetOrganizationsURL
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 GetOrganizationsUnauthorized ¶ added in v0.1.18
GetOrganizationsUnauthorized Unauthorized Request
swagger:response getOrganizationsUnauthorized
func NewGetOrganizationsUnauthorized ¶ added in v0.1.18
func NewGetOrganizationsUnauthorized() *GetOrganizationsUnauthorized
NewGetOrganizationsUnauthorized creates GetOrganizationsUnauthorized with default headers values
func (*GetOrganizationsUnauthorized) SetPayload ¶ added in v0.1.18
func (o *GetOrganizationsUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get organizations unauthorized response
func (*GetOrganizationsUnauthorized) WithPayload ¶ added in v0.1.18
func (o *GetOrganizationsUnauthorized) WithPayload(payload *v1.Error) *GetOrganizationsUnauthorized
WithPayload adds the payload to the get organizations unauthorized response
func (*GetOrganizationsUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *GetOrganizationsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrganization ¶
type UpdateOrganization struct { Context *middleware.Context Handler UpdateOrganizationHandler }
UpdateOrganization swagger:route PUT /v1/iam/organization/{organizationName} organization updateOrganization
Update a Organization
func NewUpdateOrganization ¶
func NewUpdateOrganization(ctx *middleware.Context, handler UpdateOrganizationHandler) *UpdateOrganization
NewUpdateOrganization creates a new http.Handler for the update organization operation
func (*UpdateOrganization) ServeHTTP ¶
func (o *UpdateOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateOrganizationBadRequest ¶
type UpdateOrganizationBadRequest struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
UpdateOrganizationBadRequest Invalid input
swagger:response updateOrganizationBadRequest
func NewUpdateOrganizationBadRequest ¶
func NewUpdateOrganizationBadRequest() *UpdateOrganizationBadRequest
NewUpdateOrganizationBadRequest creates UpdateOrganizationBadRequest with default headers values
func (*UpdateOrganizationBadRequest) SetPayload ¶
func (o *UpdateOrganizationBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update organization bad request response
func (*UpdateOrganizationBadRequest) WithPayload ¶
func (o *UpdateOrganizationBadRequest) WithPayload(payload *v1.Error) *UpdateOrganizationBadRequest
WithPayload adds the payload to the update organization bad request response
func (*UpdateOrganizationBadRequest) WriteResponse ¶
func (o *UpdateOrganizationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrganizationDefault ¶ added in v0.1.18
type UpdateOrganizationDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateOrganizationDefault Unknown error
swagger:response updateOrganizationDefault
func NewUpdateOrganizationDefault ¶ added in v0.1.18
func NewUpdateOrganizationDefault(code int) *UpdateOrganizationDefault
NewUpdateOrganizationDefault creates UpdateOrganizationDefault with default headers values
func (*UpdateOrganizationDefault) SetPayload ¶ added in v0.1.18
func (o *UpdateOrganizationDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update organization default response
func (*UpdateOrganizationDefault) SetStatusCode ¶ added in v0.1.18
func (o *UpdateOrganizationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update organization default response
func (*UpdateOrganizationDefault) WithPayload ¶ added in v0.1.18
func (o *UpdateOrganizationDefault) WithPayload(payload *v1.Error) *UpdateOrganizationDefault
WithPayload adds the payload to the update organization default response
func (*UpdateOrganizationDefault) WithStatusCode ¶ added in v0.1.18
func (o *UpdateOrganizationDefault) WithStatusCode(code int) *UpdateOrganizationDefault
WithStatusCode adds the status to the update organization default response
func (*UpdateOrganizationDefault) WriteResponse ¶ added in v0.1.18
func (o *UpdateOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrganizationForbidden ¶ added in v0.1.18
type UpdateOrganizationForbidden struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
UpdateOrganizationForbidden access to this resource is forbidden
swagger:response updateOrganizationForbidden
func NewUpdateOrganizationForbidden ¶ added in v0.1.18
func NewUpdateOrganizationForbidden() *UpdateOrganizationForbidden
NewUpdateOrganizationForbidden creates UpdateOrganizationForbidden with default headers values
func (*UpdateOrganizationForbidden) SetPayload ¶ added in v0.1.18
func (o *UpdateOrganizationForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update organization forbidden response
func (*UpdateOrganizationForbidden) WithPayload ¶ added in v0.1.18
func (o *UpdateOrganizationForbidden) WithPayload(payload *v1.Error) *UpdateOrganizationForbidden
WithPayload adds the payload to the update organization forbidden response
func (*UpdateOrganizationForbidden) WriteResponse ¶ added in v0.1.18
func (o *UpdateOrganizationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrganizationHandler ¶
type UpdateOrganizationHandler interface {
Handle(UpdateOrganizationParams, interface{}) middleware.Responder
}
UpdateOrganizationHandler interface for that can handle valid update organization params
type UpdateOrganizationHandlerFunc ¶
type UpdateOrganizationHandlerFunc func(UpdateOrganizationParams, interface{}) middleware.Responder
UpdateOrganizationHandlerFunc turns a function with the right signature into a update organization handler
func (UpdateOrganizationHandlerFunc) Handle ¶
func (fn UpdateOrganizationHandlerFunc) Handle(params UpdateOrganizationParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateOrganizationNotFound ¶
UpdateOrganizationNotFound Organization not found
swagger:response updateOrganizationNotFound
func NewUpdateOrganizationNotFound ¶
func NewUpdateOrganizationNotFound() *UpdateOrganizationNotFound
NewUpdateOrganizationNotFound creates UpdateOrganizationNotFound with default headers values
func (*UpdateOrganizationNotFound) SetPayload ¶
func (o *UpdateOrganizationNotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update organization not found response
func (*UpdateOrganizationNotFound) WithPayload ¶
func (o *UpdateOrganizationNotFound) WithPayload(payload *v1.Error) *UpdateOrganizationNotFound
WithPayload adds the payload to the update organization not found response
func (*UpdateOrganizationNotFound) WriteResponse ¶
func (o *UpdateOrganizationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrganizationOK ¶
type UpdateOrganizationOK struct { /* In: Body */ Payload *v1.Organization `json:"body,omitempty"` }
UpdateOrganizationOK Successful update
swagger:response updateOrganizationOK
func NewUpdateOrganizationOK ¶
func NewUpdateOrganizationOK() *UpdateOrganizationOK
NewUpdateOrganizationOK creates UpdateOrganizationOK with default headers values
func (*UpdateOrganizationOK) SetPayload ¶
func (o *UpdateOrganizationOK) SetPayload(payload *v1.Organization)
SetPayload sets the payload to the update organization o k response
func (*UpdateOrganizationOK) WithPayload ¶
func (o *UpdateOrganizationOK) WithPayload(payload *v1.Organization) *UpdateOrganizationOK
WithPayload adds the payload to the update organization o k response
func (*UpdateOrganizationOK) WriteResponse ¶
func (o *UpdateOrganizationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrganizationParams ¶
type UpdateOrganizationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XDispatchOrg string /*Organization object Required: true In: body */ Body *v1.Organization /*Name of Organization to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ OrganizationName string }
UpdateOrganizationParams contains all the bound params for the update organization operation typically these are obtained from a http.Request
swagger:parameters updateOrganization
func NewUpdateOrganizationParams ¶
func NewUpdateOrganizationParams() UpdateOrganizationParams
NewUpdateOrganizationParams creates a new UpdateOrganizationParams object no default values defined in spec.
func (*UpdateOrganizationParams) BindRequest ¶
func (o *UpdateOrganizationParams) 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 NewUpdateOrganizationParams() beforehand.
type UpdateOrganizationURL ¶
type UpdateOrganizationURL struct { OrganizationName string // contains filtered or unexported fields }
UpdateOrganizationURL generates an URL for the update organization operation
func (*UpdateOrganizationURL) Build ¶
func (o *UpdateOrganizationURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateOrganizationURL) BuildFull ¶
func (o *UpdateOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateOrganizationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateOrganizationURL) SetBasePath ¶
func (o *UpdateOrganizationURL) 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 (*UpdateOrganizationURL) String ¶
func (o *UpdateOrganizationURL) String() string
String returns the string representation of the path with query string
func (*UpdateOrganizationURL) StringFull ¶
func (o *UpdateOrganizationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateOrganizationURL) WithBasePath ¶
func (o *UpdateOrganizationURL) WithBasePath(bp string) *UpdateOrganizationURL
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 UpdateOrganizationUnauthorized ¶ added in v0.1.18
UpdateOrganizationUnauthorized Unauthorized Request
swagger:response updateOrganizationUnauthorized
func NewUpdateOrganizationUnauthorized ¶ added in v0.1.18
func NewUpdateOrganizationUnauthorized() *UpdateOrganizationUnauthorized
NewUpdateOrganizationUnauthorized creates UpdateOrganizationUnauthorized with default headers values
func (*UpdateOrganizationUnauthorized) SetPayload ¶ added in v0.1.18
func (o *UpdateOrganizationUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update organization unauthorized response
func (*UpdateOrganizationUnauthorized) WithPayload ¶ added in v0.1.18
func (o *UpdateOrganizationUnauthorized) WithPayload(payload *v1.Error) *UpdateOrganizationUnauthorized
WithPayload adds the payload to the update organization unauthorized response
func (*UpdateOrganizationUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *UpdateOrganizationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- add_organization.go
- add_organization_parameters.go
- add_organization_responses.go
- add_organization_urlbuilder.go
- delete_organization.go
- delete_organization_parameters.go
- delete_organization_responses.go
- delete_organization_urlbuilder.go
- get_organization.go
- get_organization_parameters.go
- get_organization_responses.go
- get_organization_urlbuilder.go
- get_organizations.go
- get_organizations_parameters.go
- get_organizations_responses.go
- get_organizations_urlbuilder.go
- update_organization.go
- update_organization_parameters.go
- update_organization_responses.go
- update_organization_urlbuilder.go