serviceaccount

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AddServiceAccountBadRequestCode int = 400

AddServiceAccountBadRequestCode is the HTTP code returned for type AddServiceAccountBadRequest

View Source
const AddServiceAccountConflictCode int = 409

AddServiceAccountConflictCode is the HTTP code returned for type AddServiceAccountConflict

View Source
const AddServiceAccountCreatedCode int = 201

AddServiceAccountCreatedCode is the HTTP code returned for type AddServiceAccountCreated

View Source
const AddServiceAccountForbiddenCode int = 403

AddServiceAccountForbiddenCode is the HTTP code returned for type AddServiceAccountForbidden

View Source
const AddServiceAccountUnauthorizedCode int = 401

AddServiceAccountUnauthorizedCode is the HTTP code returned for type AddServiceAccountUnauthorized

View Source
const DeleteServiceAccountBadRequestCode int = 400

DeleteServiceAccountBadRequestCode is the HTTP code returned for type DeleteServiceAccountBadRequest

View Source
const DeleteServiceAccountForbiddenCode int = 403

DeleteServiceAccountForbiddenCode is the HTTP code returned for type DeleteServiceAccountForbidden

View Source
const DeleteServiceAccountNotFoundCode int = 404

DeleteServiceAccountNotFoundCode is the HTTP code returned for type DeleteServiceAccountNotFound

View Source
const DeleteServiceAccountOKCode int = 200

DeleteServiceAccountOKCode is the HTTP code returned for type DeleteServiceAccountOK

View Source
const DeleteServiceAccountUnauthorizedCode int = 401

DeleteServiceAccountUnauthorizedCode is the HTTP code returned for type DeleteServiceAccountUnauthorized

View Source
const GetServiceAccountBadRequestCode int = 400

GetServiceAccountBadRequestCode is the HTTP code returned for type GetServiceAccountBadRequest

View Source
const GetServiceAccountForbiddenCode int = 403

GetServiceAccountForbiddenCode is the HTTP code returned for type GetServiceAccountForbidden

View Source
const GetServiceAccountNotFoundCode int = 404

GetServiceAccountNotFoundCode is the HTTP code returned for type GetServiceAccountNotFound

View Source
const GetServiceAccountOKCode int = 200

GetServiceAccountOKCode is the HTTP code returned for type GetServiceAccountOK

View Source
const GetServiceAccountUnauthorizedCode int = 401

GetServiceAccountUnauthorizedCode is the HTTP code returned for type GetServiceAccountUnauthorized

View Source
const GetServiceAccountsForbiddenCode int = 403

GetServiceAccountsForbiddenCode is the HTTP code returned for type GetServiceAccountsForbidden

View Source
const GetServiceAccountsOKCode int = 200

GetServiceAccountsOKCode is the HTTP code returned for type GetServiceAccountsOK

View Source
const GetServiceAccountsUnauthorizedCode int = 401

GetServiceAccountsUnauthorizedCode is the HTTP code returned for type GetServiceAccountsUnauthorized

View Source
const UpdateServiceAccountBadRequestCode int = 400

UpdateServiceAccountBadRequestCode is the HTTP code returned for type UpdateServiceAccountBadRequest

View Source
const UpdateServiceAccountForbiddenCode int = 403

UpdateServiceAccountForbiddenCode is the HTTP code returned for type UpdateServiceAccountForbidden

View Source
const UpdateServiceAccountNotFoundCode int = 404

UpdateServiceAccountNotFoundCode is the HTTP code returned for type UpdateServiceAccountNotFound

View Source
const UpdateServiceAccountOKCode int = 200

UpdateServiceAccountOKCode is the HTTP code returned for type UpdateServiceAccountOK

View Source
const UpdateServiceAccountUnauthorizedCode int = 401

UpdateServiceAccountUnauthorizedCode is the HTTP code returned for type UpdateServiceAccountUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddServiceAccount

type AddServiceAccount struct {
	Context *middleware.Context
	Handler AddServiceAccountHandler
}

AddServiceAccount swagger:route POST /v1/iam/serviceaccount serviceaccount addServiceAccount

Add a new service account

func NewAddServiceAccount

func NewAddServiceAccount(ctx *middleware.Context, handler AddServiceAccountHandler) *AddServiceAccount

NewAddServiceAccount creates a new http.Handler for the add service account operation

func (*AddServiceAccount) ServeHTTP

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

type AddServiceAccountBadRequest

type AddServiceAccountBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddServiceAccountBadRequest Invalid input

swagger:response addServiceAccountBadRequest

func NewAddServiceAccountBadRequest

func NewAddServiceAccountBadRequest() *AddServiceAccountBadRequest

NewAddServiceAccountBadRequest creates AddServiceAccountBadRequest with default headers values

func (*AddServiceAccountBadRequest) SetPayload

func (o *AddServiceAccountBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service account bad request response

func (*AddServiceAccountBadRequest) WithPayload

WithPayload adds the payload to the add service account bad request response

func (*AddServiceAccountBadRequest) WriteResponse

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

WriteResponse to the client

type AddServiceAccountConflict

type AddServiceAccountConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddServiceAccountConflict Already Exists

swagger:response addServiceAccountConflict

func NewAddServiceAccountConflict

func NewAddServiceAccountConflict() *AddServiceAccountConflict

NewAddServiceAccountConflict creates AddServiceAccountConflict with default headers values

func (*AddServiceAccountConflict) SetPayload

func (o *AddServiceAccountConflict) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service account conflict response

func (*AddServiceAccountConflict) WithPayload

func (o *AddServiceAccountConflict) WithPayload(payload *v1.Error) *AddServiceAccountConflict

WithPayload adds the payload to the add service account conflict response

func (*AddServiceAccountConflict) WriteResponse

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

WriteResponse to the client

type AddServiceAccountCreated

type AddServiceAccountCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.ServiceAccount `json:"body,omitempty"`
}

AddServiceAccountCreated created

swagger:response addServiceAccountCreated

func NewAddServiceAccountCreated

func NewAddServiceAccountCreated() *AddServiceAccountCreated

NewAddServiceAccountCreated creates AddServiceAccountCreated with default headers values

func (*AddServiceAccountCreated) SetPayload

func (o *AddServiceAccountCreated) SetPayload(payload *v1.ServiceAccount)

SetPayload sets the payload to the add service account created response

func (*AddServiceAccountCreated) WithPayload

WithPayload adds the payload to the add service account created response

func (*AddServiceAccountCreated) WriteResponse

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

WriteResponse to the client

type AddServiceAccountDefault

type AddServiceAccountDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

AddServiceAccountDefault Generic error response

swagger:response addServiceAccountDefault

func NewAddServiceAccountDefault

func NewAddServiceAccountDefault(code int) *AddServiceAccountDefault

NewAddServiceAccountDefault creates AddServiceAccountDefault with default headers values

func (*AddServiceAccountDefault) SetPayload

func (o *AddServiceAccountDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service account default response

func (*AddServiceAccountDefault) SetStatusCode

func (o *AddServiceAccountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add service account default response

func (*AddServiceAccountDefault) WithPayload

func (o *AddServiceAccountDefault) WithPayload(payload *v1.Error) *AddServiceAccountDefault

WithPayload adds the payload to the add service account default response

func (*AddServiceAccountDefault) WithStatusCode

func (o *AddServiceAccountDefault) WithStatusCode(code int) *AddServiceAccountDefault

WithStatusCode adds the status to the add service account default response

func (*AddServiceAccountDefault) WriteResponse

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

WriteResponse to the client

type AddServiceAccountForbidden added in v0.1.18

type AddServiceAccountForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddServiceAccountForbidden access to this resource is forbidden

swagger:response addServiceAccountForbidden

func NewAddServiceAccountForbidden added in v0.1.18

func NewAddServiceAccountForbidden() *AddServiceAccountForbidden

NewAddServiceAccountForbidden creates AddServiceAccountForbidden with default headers values

func (*AddServiceAccountForbidden) SetPayload added in v0.1.18

func (o *AddServiceAccountForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service account forbidden response

func (*AddServiceAccountForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the add service account forbidden response

func (*AddServiceAccountForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type AddServiceAccountHandler

type AddServiceAccountHandler interface {
	Handle(AddServiceAccountParams, interface{}) middleware.Responder
}

AddServiceAccountHandler interface for that can handle valid add service account params

type AddServiceAccountHandlerFunc

type AddServiceAccountHandlerFunc func(AddServiceAccountParams, interface{}) middleware.Responder

AddServiceAccountHandlerFunc turns a function with the right signature into a add service account handler

func (AddServiceAccountHandlerFunc) Handle

func (fn AddServiceAccountHandlerFunc) Handle(params AddServiceAccountParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddServiceAccountParams

type AddServiceAccountParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Service Account Object
	  Required: true
	  In: body
	*/
	Body *v1.ServiceAccount
}

AddServiceAccountParams contains all the bound params for the add service account operation typically these are obtained from a http.Request

swagger:parameters addServiceAccount

func NewAddServiceAccountParams

func NewAddServiceAccountParams() AddServiceAccountParams

NewAddServiceAccountParams creates a new AddServiceAccountParams object no default values defined in spec.

func (*AddServiceAccountParams) BindRequest

func (o *AddServiceAccountParams) 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 NewAddServiceAccountParams() beforehand.

type AddServiceAccountURL

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

AddServiceAccountURL generates an URL for the add service account operation

func (*AddServiceAccountURL) Build

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

Build a url path and query string

func (*AddServiceAccountURL) BuildFull

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

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

func (*AddServiceAccountURL) Must

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

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

func (*AddServiceAccountURL) SetBasePath

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

func (o *AddServiceAccountURL) String() string

String returns the string representation of the path with query string

func (*AddServiceAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddServiceAccountURL) WithBasePath

func (o *AddServiceAccountURL) WithBasePath(bp string) *AddServiceAccountURL

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 AddServiceAccountUnauthorized added in v0.1.18

type AddServiceAccountUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddServiceAccountUnauthorized Unauthorized Request

swagger:response addServiceAccountUnauthorized

func NewAddServiceAccountUnauthorized added in v0.1.18

func NewAddServiceAccountUnauthorized() *AddServiceAccountUnauthorized

NewAddServiceAccountUnauthorized creates AddServiceAccountUnauthorized with default headers values

func (*AddServiceAccountUnauthorized) SetPayload added in v0.1.18

func (o *AddServiceAccountUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service account unauthorized response

func (*AddServiceAccountUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the add service account unauthorized response

func (*AddServiceAccountUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteServiceAccount

type DeleteServiceAccount struct {
	Context *middleware.Context
	Handler DeleteServiceAccountHandler
}

DeleteServiceAccount swagger:route DELETE /v1/iam/serviceaccount/{serviceAccountName} serviceaccount deleteServiceAccount

Deletes an Service Account

func NewDeleteServiceAccount

func NewDeleteServiceAccount(ctx *middleware.Context, handler DeleteServiceAccountHandler) *DeleteServiceAccount

NewDeleteServiceAccount creates a new http.Handler for the delete service account operation

func (*DeleteServiceAccount) ServeHTTP

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

type DeleteServiceAccountBadRequest

type DeleteServiceAccountBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteServiceAccountBadRequest Invalid Name supplied

swagger:response deleteServiceAccountBadRequest

func NewDeleteServiceAccountBadRequest

func NewDeleteServiceAccountBadRequest() *DeleteServiceAccountBadRequest

NewDeleteServiceAccountBadRequest creates DeleteServiceAccountBadRequest with default headers values

func (*DeleteServiceAccountBadRequest) SetPayload

func (o *DeleteServiceAccountBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service account bad request response

func (*DeleteServiceAccountBadRequest) WithPayload

WithPayload adds the payload to the delete service account bad request response

func (*DeleteServiceAccountBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteServiceAccountDefault added in v0.1.18

type DeleteServiceAccountDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteServiceAccountDefault Unknown error

swagger:response deleteServiceAccountDefault

func NewDeleteServiceAccountDefault added in v0.1.18

func NewDeleteServiceAccountDefault(code int) *DeleteServiceAccountDefault

NewDeleteServiceAccountDefault creates DeleteServiceAccountDefault with default headers values

func (*DeleteServiceAccountDefault) SetPayload added in v0.1.18

func (o *DeleteServiceAccountDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service account default response

func (*DeleteServiceAccountDefault) SetStatusCode added in v0.1.18

func (o *DeleteServiceAccountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete service account default response

func (*DeleteServiceAccountDefault) WithPayload added in v0.1.18

WithPayload adds the payload to the delete service account default response

func (*DeleteServiceAccountDefault) WithStatusCode added in v0.1.18

WithStatusCode adds the status to the delete service account default response

func (*DeleteServiceAccountDefault) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteServiceAccountForbidden added in v0.1.18

type DeleteServiceAccountForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteServiceAccountForbidden access to this resource is forbidden

swagger:response deleteServiceAccountForbidden

func NewDeleteServiceAccountForbidden added in v0.1.18

func NewDeleteServiceAccountForbidden() *DeleteServiceAccountForbidden

NewDeleteServiceAccountForbidden creates DeleteServiceAccountForbidden with default headers values

func (*DeleteServiceAccountForbidden) SetPayload added in v0.1.18

func (o *DeleteServiceAccountForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service account forbidden response

func (*DeleteServiceAccountForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the delete service account forbidden response

func (*DeleteServiceAccountForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteServiceAccountHandler

type DeleteServiceAccountHandler interface {
	Handle(DeleteServiceAccountParams, interface{}) middleware.Responder
}

DeleteServiceAccountHandler interface for that can handle valid delete service account params

type DeleteServiceAccountHandlerFunc

type DeleteServiceAccountHandlerFunc func(DeleteServiceAccountParams, interface{}) middleware.Responder

DeleteServiceAccountHandlerFunc turns a function with the right signature into a delete service account handler

func (DeleteServiceAccountHandlerFunc) Handle

func (fn DeleteServiceAccountHandlerFunc) Handle(params DeleteServiceAccountParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteServiceAccountNotFound

type DeleteServiceAccountNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteServiceAccountNotFound Service Account not found

swagger:response deleteServiceAccountNotFound

func NewDeleteServiceAccountNotFound

func NewDeleteServiceAccountNotFound() *DeleteServiceAccountNotFound

NewDeleteServiceAccountNotFound creates DeleteServiceAccountNotFound with default headers values

func (*DeleteServiceAccountNotFound) SetPayload

func (o *DeleteServiceAccountNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service account not found response

func (*DeleteServiceAccountNotFound) WithPayload

WithPayload adds the payload to the delete service account not found response

func (*DeleteServiceAccountNotFound) WriteResponse

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

WriteResponse to the client

type DeleteServiceAccountOK

type DeleteServiceAccountOK struct {

	/*
	  In: Body
	*/
	Payload *v1.ServiceAccount `json:"body,omitempty"`
}

DeleteServiceAccountOK Successful operation

swagger:response deleteServiceAccountOK

func NewDeleteServiceAccountOK

func NewDeleteServiceAccountOK() *DeleteServiceAccountOK

NewDeleteServiceAccountOK creates DeleteServiceAccountOK with default headers values

func (*DeleteServiceAccountOK) SetPayload

func (o *DeleteServiceAccountOK) SetPayload(payload *v1.ServiceAccount)

SetPayload sets the payload to the delete service account o k response

func (*DeleteServiceAccountOK) WithPayload

WithPayload adds the payload to the delete service account o k response

func (*DeleteServiceAccountOK) WriteResponse

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

WriteResponse to the client

type DeleteServiceAccountParams

type DeleteServiceAccountParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of ServiceAccount to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	ServiceAccountName string
}

DeleteServiceAccountParams contains all the bound params for the delete service account operation typically these are obtained from a http.Request

swagger:parameters deleteServiceAccount

func NewDeleteServiceAccountParams

func NewDeleteServiceAccountParams() DeleteServiceAccountParams

NewDeleteServiceAccountParams creates a new DeleteServiceAccountParams object no default values defined in spec.

func (*DeleteServiceAccountParams) 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 NewDeleteServiceAccountParams() beforehand.

type DeleteServiceAccountURL

type DeleteServiceAccountURL struct {
	ServiceAccountName string
	// contains filtered or unexported fields
}

DeleteServiceAccountURL generates an URL for the delete service account operation

func (*DeleteServiceAccountURL) Build

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

Build a url path and query string

func (*DeleteServiceAccountURL) BuildFull

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

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

func (*DeleteServiceAccountURL) Must

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

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

func (*DeleteServiceAccountURL) SetBasePath

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

func (o *DeleteServiceAccountURL) String() string

String returns the string representation of the path with query string

func (*DeleteServiceAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteServiceAccountURL) 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 DeleteServiceAccountUnauthorized added in v0.1.18

type DeleteServiceAccountUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteServiceAccountUnauthorized Unauthorized Request

swagger:response deleteServiceAccountUnauthorized

func NewDeleteServiceAccountUnauthorized added in v0.1.18

func NewDeleteServiceAccountUnauthorized() *DeleteServiceAccountUnauthorized

NewDeleteServiceAccountUnauthorized creates DeleteServiceAccountUnauthorized with default headers values

func (*DeleteServiceAccountUnauthorized) SetPayload added in v0.1.18

func (o *DeleteServiceAccountUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service account unauthorized response

func (*DeleteServiceAccountUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the delete service account unauthorized response

func (*DeleteServiceAccountUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetServiceAccount

type GetServiceAccount struct {
	Context *middleware.Context
	Handler GetServiceAccountHandler
}

GetServiceAccount swagger:route GET /v1/iam/serviceaccount/{serviceAccountName} serviceaccount getServiceAccount

Find Service Account by name

get a Service Account by name

func NewGetServiceAccount

func NewGetServiceAccount(ctx *middleware.Context, handler GetServiceAccountHandler) *GetServiceAccount

NewGetServiceAccount creates a new http.Handler for the get service account operation

func (*GetServiceAccount) ServeHTTP

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

type GetServiceAccountBadRequest

type GetServiceAccountBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceAccountBadRequest Invalid Name supplied

swagger:response getServiceAccountBadRequest

func NewGetServiceAccountBadRequest

func NewGetServiceAccountBadRequest() *GetServiceAccountBadRequest

NewGetServiceAccountBadRequest creates GetServiceAccountBadRequest with default headers values

func (*GetServiceAccountBadRequest) SetPayload

func (o *GetServiceAccountBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service account bad request response

func (*GetServiceAccountBadRequest) WithPayload

WithPayload adds the payload to the get service account bad request response

func (*GetServiceAccountBadRequest) WriteResponse

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

WriteResponse to the client

type GetServiceAccountDefault added in v0.1.18

type GetServiceAccountDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetServiceAccountDefault Unknown error

swagger:response getServiceAccountDefault

func NewGetServiceAccountDefault added in v0.1.18

func NewGetServiceAccountDefault(code int) *GetServiceAccountDefault

NewGetServiceAccountDefault creates GetServiceAccountDefault with default headers values

func (*GetServiceAccountDefault) SetPayload added in v0.1.18

func (o *GetServiceAccountDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service account default response

func (*GetServiceAccountDefault) SetStatusCode added in v0.1.18

func (o *GetServiceAccountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get service account default response

func (*GetServiceAccountDefault) WithPayload added in v0.1.18

func (o *GetServiceAccountDefault) WithPayload(payload *v1.Error) *GetServiceAccountDefault

WithPayload adds the payload to the get service account default response

func (*GetServiceAccountDefault) WithStatusCode added in v0.1.18

func (o *GetServiceAccountDefault) WithStatusCode(code int) *GetServiceAccountDefault

WithStatusCode adds the status to the get service account default response

func (*GetServiceAccountDefault) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetServiceAccountForbidden added in v0.1.18

type GetServiceAccountForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceAccountForbidden access to this resource is forbidden

swagger:response getServiceAccountForbidden

func NewGetServiceAccountForbidden added in v0.1.18

func NewGetServiceAccountForbidden() *GetServiceAccountForbidden

NewGetServiceAccountForbidden creates GetServiceAccountForbidden with default headers values

func (*GetServiceAccountForbidden) SetPayload added in v0.1.18

func (o *GetServiceAccountForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service account forbidden response

func (*GetServiceAccountForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the get service account forbidden response

func (*GetServiceAccountForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetServiceAccountHandler

type GetServiceAccountHandler interface {
	Handle(GetServiceAccountParams, interface{}) middleware.Responder
}

GetServiceAccountHandler interface for that can handle valid get service account params

type GetServiceAccountHandlerFunc

type GetServiceAccountHandlerFunc func(GetServiceAccountParams, interface{}) middleware.Responder

GetServiceAccountHandlerFunc turns a function with the right signature into a get service account handler

func (GetServiceAccountHandlerFunc) Handle

func (fn GetServiceAccountHandlerFunc) Handle(params GetServiceAccountParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetServiceAccountNotFound

type GetServiceAccountNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceAccountNotFound Service Account not found

swagger:response getServiceAccountNotFound

func NewGetServiceAccountNotFound

func NewGetServiceAccountNotFound() *GetServiceAccountNotFound

NewGetServiceAccountNotFound creates GetServiceAccountNotFound with default headers values

func (*GetServiceAccountNotFound) SetPayload

func (o *GetServiceAccountNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service account not found response

func (*GetServiceAccountNotFound) WithPayload

func (o *GetServiceAccountNotFound) WithPayload(payload *v1.Error) *GetServiceAccountNotFound

WithPayload adds the payload to the get service account not found response

func (*GetServiceAccountNotFound) WriteResponse

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

WriteResponse to the client

type GetServiceAccountOK

type GetServiceAccountOK struct {

	/*
	  In: Body
	*/
	Payload *v1.ServiceAccount `json:"body,omitempty"`
}

GetServiceAccountOK Successful operation

swagger:response getServiceAccountOK

func NewGetServiceAccountOK

func NewGetServiceAccountOK() *GetServiceAccountOK

NewGetServiceAccountOK creates GetServiceAccountOK with default headers values

func (*GetServiceAccountOK) SetPayload

func (o *GetServiceAccountOK) SetPayload(payload *v1.ServiceAccount)

SetPayload sets the payload to the get service account o k response

func (*GetServiceAccountOK) WithPayload

func (o *GetServiceAccountOK) WithPayload(payload *v1.ServiceAccount) *GetServiceAccountOK

WithPayload adds the payload to the get service account o k response

func (*GetServiceAccountOK) WriteResponse

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

WriteResponse to the client

type GetServiceAccountParams

type GetServiceAccountParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of ServiceAccount to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	ServiceAccountName string
}

GetServiceAccountParams contains all the bound params for the get service account operation typically these are obtained from a http.Request

swagger:parameters getServiceAccount

func NewGetServiceAccountParams

func NewGetServiceAccountParams() GetServiceAccountParams

NewGetServiceAccountParams creates a new GetServiceAccountParams object no default values defined in spec.

func (*GetServiceAccountParams) BindRequest

func (o *GetServiceAccountParams) 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 NewGetServiceAccountParams() beforehand.

type GetServiceAccountURL

type GetServiceAccountURL struct {
	ServiceAccountName string
	// contains filtered or unexported fields
}

GetServiceAccountURL generates an URL for the get service account operation

func (*GetServiceAccountURL) Build

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

Build a url path and query string

func (*GetServiceAccountURL) BuildFull

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

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

func (*GetServiceAccountURL) Must

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

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

func (*GetServiceAccountURL) SetBasePath

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

func (o *GetServiceAccountURL) String() string

String returns the string representation of the path with query string

func (*GetServiceAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetServiceAccountURL) WithBasePath

func (o *GetServiceAccountURL) WithBasePath(bp string) *GetServiceAccountURL

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 GetServiceAccountUnauthorized added in v0.1.18

type GetServiceAccountUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceAccountUnauthorized Unauthorized Request

swagger:response getServiceAccountUnauthorized

func NewGetServiceAccountUnauthorized added in v0.1.18

func NewGetServiceAccountUnauthorized() *GetServiceAccountUnauthorized

NewGetServiceAccountUnauthorized creates GetServiceAccountUnauthorized with default headers values

func (*GetServiceAccountUnauthorized) SetPayload added in v0.1.18

func (o *GetServiceAccountUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service account unauthorized response

func (*GetServiceAccountUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the get service account unauthorized response

func (*GetServiceAccountUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetServiceAccounts

type GetServiceAccounts struct {
	Context *middleware.Context
	Handler GetServiceAccountsHandler
}

GetServiceAccounts swagger:route GET /v1/iam/serviceaccount serviceaccount getServiceAccounts

List all existing service accounts

func NewGetServiceAccounts

func NewGetServiceAccounts(ctx *middleware.Context, handler GetServiceAccountsHandler) *GetServiceAccounts

NewGetServiceAccounts creates a new http.Handler for the get service accounts operation

func (*GetServiceAccounts) ServeHTTP

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

type GetServiceAccountsDefault

type GetServiceAccountsDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetServiceAccountsDefault Unexpected Error

swagger:response getServiceAccountsDefault

func NewGetServiceAccountsDefault

func NewGetServiceAccountsDefault(code int) *GetServiceAccountsDefault

NewGetServiceAccountsDefault creates GetServiceAccountsDefault with default headers values

func (*GetServiceAccountsDefault) SetPayload

func (o *GetServiceAccountsDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service accounts default response

func (*GetServiceAccountsDefault) SetStatusCode

func (o *GetServiceAccountsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get service accounts default response

func (*GetServiceAccountsDefault) WithPayload

func (o *GetServiceAccountsDefault) WithPayload(payload *v1.Error) *GetServiceAccountsDefault

WithPayload adds the payload to the get service accounts default response

func (*GetServiceAccountsDefault) WithStatusCode

func (o *GetServiceAccountsDefault) WithStatusCode(code int) *GetServiceAccountsDefault

WithStatusCode adds the status to the get service accounts default response

func (*GetServiceAccountsDefault) WriteResponse

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

WriteResponse to the client

type GetServiceAccountsForbidden added in v0.1.18

type GetServiceAccountsForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceAccountsForbidden access to this resource is forbidden

swagger:response getServiceAccountsForbidden

func NewGetServiceAccountsForbidden added in v0.1.18

func NewGetServiceAccountsForbidden() *GetServiceAccountsForbidden

NewGetServiceAccountsForbidden creates GetServiceAccountsForbidden with default headers values

func (*GetServiceAccountsForbidden) SetPayload added in v0.1.18

func (o *GetServiceAccountsForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service accounts forbidden response

func (*GetServiceAccountsForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the get service accounts forbidden response

func (*GetServiceAccountsForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetServiceAccountsHandler

type GetServiceAccountsHandler interface {
	Handle(GetServiceAccountsParams, interface{}) middleware.Responder
}

GetServiceAccountsHandler interface for that can handle valid get service accounts params

type GetServiceAccountsHandlerFunc

type GetServiceAccountsHandlerFunc func(GetServiceAccountsParams, interface{}) middleware.Responder

GetServiceAccountsHandlerFunc turns a function with the right signature into a get service accounts handler

func (GetServiceAccountsHandlerFunc) Handle

func (fn GetServiceAccountsHandlerFunc) Handle(params GetServiceAccountsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetServiceAccountsOK

type GetServiceAccountsOK struct {

	/*
	  In: Body
	*/
	Payload []*v1.ServiceAccount `json:"body,omitempty"`
}

GetServiceAccountsOK Successful operation

swagger:response getServiceAccountsOK

func NewGetServiceAccountsOK

func NewGetServiceAccountsOK() *GetServiceAccountsOK

NewGetServiceAccountsOK creates GetServiceAccountsOK with default headers values

func (*GetServiceAccountsOK) SetPayload

func (o *GetServiceAccountsOK) SetPayload(payload []*v1.ServiceAccount)

SetPayload sets the payload to the get service accounts o k response

func (*GetServiceAccountsOK) WithPayload

func (o *GetServiceAccountsOK) WithPayload(payload []*v1.ServiceAccount) *GetServiceAccountsOK

WithPayload adds the payload to the get service accounts o k response

func (*GetServiceAccountsOK) WriteResponse

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

WriteResponse to the client

type GetServiceAccountsParams

type GetServiceAccountsParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
}

GetServiceAccountsParams contains all the bound params for the get service accounts operation typically these are obtained from a http.Request

swagger:parameters getServiceAccounts

func NewGetServiceAccountsParams

func NewGetServiceAccountsParams() GetServiceAccountsParams

NewGetServiceAccountsParams creates a new GetServiceAccountsParams object no default values defined in spec.

func (*GetServiceAccountsParams) 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 NewGetServiceAccountsParams() beforehand.

type GetServiceAccountsURL

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

GetServiceAccountsURL generates an URL for the get service accounts operation

func (*GetServiceAccountsURL) Build

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

Build a url path and query string

func (*GetServiceAccountsURL) BuildFull

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

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

func (*GetServiceAccountsURL) Must

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

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

func (*GetServiceAccountsURL) SetBasePath

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

func (o *GetServiceAccountsURL) String() string

String returns the string representation of the path with query string

func (*GetServiceAccountsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetServiceAccountsURL) WithBasePath

func (o *GetServiceAccountsURL) WithBasePath(bp string) *GetServiceAccountsURL

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 GetServiceAccountsUnauthorized added in v0.1.18

type GetServiceAccountsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceAccountsUnauthorized Unauthorized Request

swagger:response getServiceAccountsUnauthorized

func NewGetServiceAccountsUnauthorized added in v0.1.18

func NewGetServiceAccountsUnauthorized() *GetServiceAccountsUnauthorized

NewGetServiceAccountsUnauthorized creates GetServiceAccountsUnauthorized with default headers values

func (*GetServiceAccountsUnauthorized) SetPayload added in v0.1.18

func (o *GetServiceAccountsUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service accounts unauthorized response

func (*GetServiceAccountsUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the get service accounts unauthorized response

func (*GetServiceAccountsUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateServiceAccount

type UpdateServiceAccount struct {
	Context *middleware.Context
	Handler UpdateServiceAccountHandler
}

UpdateServiceAccount swagger:route PUT /v1/iam/serviceaccount/{serviceAccountName} serviceaccount updateServiceAccount

Update a Service Account

func NewUpdateServiceAccount

func NewUpdateServiceAccount(ctx *middleware.Context, handler UpdateServiceAccountHandler) *UpdateServiceAccount

NewUpdateServiceAccount creates a new http.Handler for the update service account operation

func (*UpdateServiceAccount) ServeHTTP

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

type UpdateServiceAccountBadRequest

type UpdateServiceAccountBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateServiceAccountBadRequest Invalid input

swagger:response updateServiceAccountBadRequest

func NewUpdateServiceAccountBadRequest

func NewUpdateServiceAccountBadRequest() *UpdateServiceAccountBadRequest

NewUpdateServiceAccountBadRequest creates UpdateServiceAccountBadRequest with default headers values

func (*UpdateServiceAccountBadRequest) SetPayload

func (o *UpdateServiceAccountBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update service account bad request response

func (*UpdateServiceAccountBadRequest) WithPayload

WithPayload adds the payload to the update service account bad request response

func (*UpdateServiceAccountBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateServiceAccountDefault added in v0.1.18

type UpdateServiceAccountDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateServiceAccountDefault Unknown error

swagger:response updateServiceAccountDefault

func NewUpdateServiceAccountDefault added in v0.1.18

func NewUpdateServiceAccountDefault(code int) *UpdateServiceAccountDefault

NewUpdateServiceAccountDefault creates UpdateServiceAccountDefault with default headers values

func (*UpdateServiceAccountDefault) SetPayload added in v0.1.18

func (o *UpdateServiceAccountDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update service account default response

func (*UpdateServiceAccountDefault) SetStatusCode added in v0.1.18

func (o *UpdateServiceAccountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update service account default response

func (*UpdateServiceAccountDefault) WithPayload added in v0.1.18

WithPayload adds the payload to the update service account default response

func (*UpdateServiceAccountDefault) WithStatusCode added in v0.1.18

WithStatusCode adds the status to the update service account default response

func (*UpdateServiceAccountDefault) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateServiceAccountForbidden added in v0.1.18

type UpdateServiceAccountForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateServiceAccountForbidden access to this resource is forbidden

swagger:response updateServiceAccountForbidden

func NewUpdateServiceAccountForbidden added in v0.1.18

func NewUpdateServiceAccountForbidden() *UpdateServiceAccountForbidden

NewUpdateServiceAccountForbidden creates UpdateServiceAccountForbidden with default headers values

func (*UpdateServiceAccountForbidden) SetPayload added in v0.1.18

func (o *UpdateServiceAccountForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update service account forbidden response

func (*UpdateServiceAccountForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the update service account forbidden response

func (*UpdateServiceAccountForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateServiceAccountHandler

type UpdateServiceAccountHandler interface {
	Handle(UpdateServiceAccountParams, interface{}) middleware.Responder
}

UpdateServiceAccountHandler interface for that can handle valid update service account params

type UpdateServiceAccountHandlerFunc

type UpdateServiceAccountHandlerFunc func(UpdateServiceAccountParams, interface{}) middleware.Responder

UpdateServiceAccountHandlerFunc turns a function with the right signature into a update service account handler

func (UpdateServiceAccountHandlerFunc) Handle

func (fn UpdateServiceAccountHandlerFunc) Handle(params UpdateServiceAccountParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateServiceAccountNotFound

type UpdateServiceAccountNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateServiceAccountNotFound Service Account not found

swagger:response updateServiceAccountNotFound

func NewUpdateServiceAccountNotFound

func NewUpdateServiceAccountNotFound() *UpdateServiceAccountNotFound

NewUpdateServiceAccountNotFound creates UpdateServiceAccountNotFound with default headers values

func (*UpdateServiceAccountNotFound) SetPayload

func (o *UpdateServiceAccountNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update service account not found response

func (*UpdateServiceAccountNotFound) WithPayload

WithPayload adds the payload to the update service account not found response

func (*UpdateServiceAccountNotFound) WriteResponse

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

WriteResponse to the client

type UpdateServiceAccountOK

type UpdateServiceAccountOK struct {

	/*
	  In: Body
	*/
	Payload *v1.ServiceAccount `json:"body,omitempty"`
}

UpdateServiceAccountOK Successful update

swagger:response updateServiceAccountOK

func NewUpdateServiceAccountOK

func NewUpdateServiceAccountOK() *UpdateServiceAccountOK

NewUpdateServiceAccountOK creates UpdateServiceAccountOK with default headers values

func (*UpdateServiceAccountOK) SetPayload

func (o *UpdateServiceAccountOK) SetPayload(payload *v1.ServiceAccount)

SetPayload sets the payload to the update service account o k response

func (*UpdateServiceAccountOK) WithPayload

WithPayload adds the payload to the update service account o k response

func (*UpdateServiceAccountOK) WriteResponse

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

WriteResponse to the client

type UpdateServiceAccountParams

type UpdateServiceAccountParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Service Account object
	  Required: true
	  In: body
	*/
	Body *v1.ServiceAccount
	/*Name of ServiceAccount to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	ServiceAccountName string
}

UpdateServiceAccountParams contains all the bound params for the update service account operation typically these are obtained from a http.Request

swagger:parameters updateServiceAccount

func NewUpdateServiceAccountParams

func NewUpdateServiceAccountParams() UpdateServiceAccountParams

NewUpdateServiceAccountParams creates a new UpdateServiceAccountParams object no default values defined in spec.

func (*UpdateServiceAccountParams) 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 NewUpdateServiceAccountParams() beforehand.

type UpdateServiceAccountURL

type UpdateServiceAccountURL struct {
	ServiceAccountName string
	// contains filtered or unexported fields
}

UpdateServiceAccountURL generates an URL for the update service account operation

func (*UpdateServiceAccountURL) Build

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

Build a url path and query string

func (*UpdateServiceAccountURL) BuildFull

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

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

func (*UpdateServiceAccountURL) Must

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

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

func (*UpdateServiceAccountURL) SetBasePath

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

func (o *UpdateServiceAccountURL) String() string

String returns the string representation of the path with query string

func (*UpdateServiceAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateServiceAccountURL) 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 UpdateServiceAccountUnauthorized added in v0.1.18

type UpdateServiceAccountUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateServiceAccountUnauthorized Unauthorized Request

swagger:response updateServiceAccountUnauthorized

func NewUpdateServiceAccountUnauthorized added in v0.1.18

func NewUpdateServiceAccountUnauthorized() *UpdateServiceAccountUnauthorized

NewUpdateServiceAccountUnauthorized creates UpdateServiceAccountUnauthorized with default headers values

func (*UpdateServiceAccountUnauthorized) SetPayload added in v0.1.18

func (o *UpdateServiceAccountUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update service account unauthorized response

func (*UpdateServiceAccountUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the update service account unauthorized response

func (*UpdateServiceAccountUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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