Documentation ¶
Index ¶
- Constants
- type CreateAuthenticationV1TokenReview
- type CreateAuthenticationV1TokenReviewAccepted
- func (o *CreateAuthenticationV1TokenReviewAccepted) SetPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview)
- func (o *CreateAuthenticationV1TokenReviewAccepted) WithPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview) *CreateAuthenticationV1TokenReviewAccepted
- func (o *CreateAuthenticationV1TokenReviewAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthenticationV1TokenReviewCreated
- func (o *CreateAuthenticationV1TokenReviewCreated) SetPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview)
- func (o *CreateAuthenticationV1TokenReviewCreated) WithPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview) *CreateAuthenticationV1TokenReviewCreated
- func (o *CreateAuthenticationV1TokenReviewCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthenticationV1TokenReviewHandler
- type CreateAuthenticationV1TokenReviewHandlerFunc
- type CreateAuthenticationV1TokenReviewOK
- func (o *CreateAuthenticationV1TokenReviewOK) SetPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview)
- func (o *CreateAuthenticationV1TokenReviewOK) WithPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview) *CreateAuthenticationV1TokenReviewOK
- func (o *CreateAuthenticationV1TokenReviewOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthenticationV1TokenReviewParams
- type CreateAuthenticationV1TokenReviewUnauthorized
- type GetAuthenticationV1APIResources
- type GetAuthenticationV1APIResourcesHandler
- type GetAuthenticationV1APIResourcesHandlerFunc
- type GetAuthenticationV1APIResourcesOK
- func (o *GetAuthenticationV1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetAuthenticationV1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetAuthenticationV1APIResourcesOK
- func (o *GetAuthenticationV1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAuthenticationV1APIResourcesParams
- type GetAuthenticationV1APIResourcesUnauthorized
Constants ¶
const CreateAuthenticationV1TokenReviewAcceptedCode int = 202
CreateAuthenticationV1TokenReviewAcceptedCode is the HTTP code returned for type CreateAuthenticationV1TokenReviewAccepted
const CreateAuthenticationV1TokenReviewCreatedCode int = 201
CreateAuthenticationV1TokenReviewCreatedCode is the HTTP code returned for type CreateAuthenticationV1TokenReviewCreated
const CreateAuthenticationV1TokenReviewOKCode int = 200
CreateAuthenticationV1TokenReviewOKCode is the HTTP code returned for type CreateAuthenticationV1TokenReviewOK
CreateAuthenticationV1TokenReviewUnauthorizedCode is the HTTP code returned for type CreateAuthenticationV1TokenReviewUnauthorized
const GetAuthenticationV1APIResourcesOKCode int = 200
GetAuthenticationV1APIResourcesOKCode is the HTTP code returned for type GetAuthenticationV1APIResourcesOK
GetAuthenticationV1APIResourcesUnauthorizedCode is the HTTP code returned for type GetAuthenticationV1APIResourcesUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthenticationV1TokenReview ¶
type CreateAuthenticationV1TokenReview struct { Context *middleware.Context Handler CreateAuthenticationV1TokenReviewHandler }
CreateAuthenticationV1TokenReview swagger:route POST /apis/authentication.k8s.io/v1/tokenreviews authentication_v1 createAuthenticationV1TokenReview
create a TokenReview
func NewCreateAuthenticationV1TokenReview ¶
func NewCreateAuthenticationV1TokenReview(ctx *middleware.Context, handler CreateAuthenticationV1TokenReviewHandler) *CreateAuthenticationV1TokenReview
NewCreateAuthenticationV1TokenReview creates a new http.Handler for the create authentication v1 token review operation
func (*CreateAuthenticationV1TokenReview) ServeHTTP ¶
func (o *CreateAuthenticationV1TokenReview) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateAuthenticationV1TokenReviewAccepted ¶
type CreateAuthenticationV1TokenReviewAccepted struct { /* In: Body */ Payload *models.IoK8sAPIAuthenticationV1TokenReview `json:"body,omitempty"` }
CreateAuthenticationV1TokenReviewAccepted Accepted
swagger:response createAuthenticationV1TokenReviewAccepted
func NewCreateAuthenticationV1TokenReviewAccepted ¶
func NewCreateAuthenticationV1TokenReviewAccepted() *CreateAuthenticationV1TokenReviewAccepted
NewCreateAuthenticationV1TokenReviewAccepted creates CreateAuthenticationV1TokenReviewAccepted with default headers values
func (*CreateAuthenticationV1TokenReviewAccepted) SetPayload ¶
func (o *CreateAuthenticationV1TokenReviewAccepted) SetPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview)
SetPayload sets the payload to the create authentication v1 token review accepted response
func (*CreateAuthenticationV1TokenReviewAccepted) WithPayload ¶
func (o *CreateAuthenticationV1TokenReviewAccepted) WithPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview) *CreateAuthenticationV1TokenReviewAccepted
WithPayload adds the payload to the create authentication v1 token review accepted response
func (*CreateAuthenticationV1TokenReviewAccepted) WriteResponse ¶
func (o *CreateAuthenticationV1TokenReviewAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthenticationV1TokenReviewCreated ¶
type CreateAuthenticationV1TokenReviewCreated struct { /* In: Body */ Payload *models.IoK8sAPIAuthenticationV1TokenReview `json:"body,omitempty"` }
CreateAuthenticationV1TokenReviewCreated Created
swagger:response createAuthenticationV1TokenReviewCreated
func NewCreateAuthenticationV1TokenReviewCreated ¶
func NewCreateAuthenticationV1TokenReviewCreated() *CreateAuthenticationV1TokenReviewCreated
NewCreateAuthenticationV1TokenReviewCreated creates CreateAuthenticationV1TokenReviewCreated with default headers values
func (*CreateAuthenticationV1TokenReviewCreated) SetPayload ¶
func (o *CreateAuthenticationV1TokenReviewCreated) SetPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview)
SetPayload sets the payload to the create authentication v1 token review created response
func (*CreateAuthenticationV1TokenReviewCreated) WithPayload ¶
func (o *CreateAuthenticationV1TokenReviewCreated) WithPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview) *CreateAuthenticationV1TokenReviewCreated
WithPayload adds the payload to the create authentication v1 token review created response
func (*CreateAuthenticationV1TokenReviewCreated) WriteResponse ¶
func (o *CreateAuthenticationV1TokenReviewCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthenticationV1TokenReviewHandler ¶
type CreateAuthenticationV1TokenReviewHandler interface {
Handle(CreateAuthenticationV1TokenReviewParams) middleware.Responder
}
CreateAuthenticationV1TokenReviewHandler interface for that can handle valid create authentication v1 token review params
type CreateAuthenticationV1TokenReviewHandlerFunc ¶
type CreateAuthenticationV1TokenReviewHandlerFunc func(CreateAuthenticationV1TokenReviewParams) middleware.Responder
CreateAuthenticationV1TokenReviewHandlerFunc turns a function with the right signature into a create authentication v1 token review handler
func (CreateAuthenticationV1TokenReviewHandlerFunc) Handle ¶
func (fn CreateAuthenticationV1TokenReviewHandlerFunc) Handle(params CreateAuthenticationV1TokenReviewParams) middleware.Responder
Handle executing the request and returning a response
type CreateAuthenticationV1TokenReviewOK ¶
type CreateAuthenticationV1TokenReviewOK struct { /* In: Body */ Payload *models.IoK8sAPIAuthenticationV1TokenReview `json:"body,omitempty"` }
CreateAuthenticationV1TokenReviewOK OK
swagger:response createAuthenticationV1TokenReviewOK
func NewCreateAuthenticationV1TokenReviewOK ¶
func NewCreateAuthenticationV1TokenReviewOK() *CreateAuthenticationV1TokenReviewOK
NewCreateAuthenticationV1TokenReviewOK creates CreateAuthenticationV1TokenReviewOK with default headers values
func (*CreateAuthenticationV1TokenReviewOK) SetPayload ¶
func (o *CreateAuthenticationV1TokenReviewOK) SetPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview)
SetPayload sets the payload to the create authentication v1 token review o k response
func (*CreateAuthenticationV1TokenReviewOK) WithPayload ¶
func (o *CreateAuthenticationV1TokenReviewOK) WithPayload(payload *models.IoK8sAPIAuthenticationV1TokenReview) *CreateAuthenticationV1TokenReviewOK
WithPayload adds the payload to the create authentication v1 token review o k response
func (*CreateAuthenticationV1TokenReviewOK) WriteResponse ¶
func (o *CreateAuthenticationV1TokenReviewOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthenticationV1TokenReviewParams ¶
type CreateAuthenticationV1TokenReviewParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPIAuthenticationV1TokenReview /*When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed Unique: true In: query */ DryRun *string /*fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. Unique: true In: query */ FieldManager *string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
CreateAuthenticationV1TokenReviewParams contains all the bound params for the create authentication v1 token review operation typically these are obtained from a http.Request
swagger:parameters createAuthenticationV1TokenReview
func NewCreateAuthenticationV1TokenReviewParams ¶
func NewCreateAuthenticationV1TokenReviewParams() CreateAuthenticationV1TokenReviewParams
NewCreateAuthenticationV1TokenReviewParams creates a new CreateAuthenticationV1TokenReviewParams object no default values defined in spec.
func (*CreateAuthenticationV1TokenReviewParams) BindRequest ¶
func (o *CreateAuthenticationV1TokenReviewParams) 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 NewCreateAuthenticationV1TokenReviewParams() beforehand.
type CreateAuthenticationV1TokenReviewUnauthorized ¶
type CreateAuthenticationV1TokenReviewUnauthorized struct { }
CreateAuthenticationV1TokenReviewUnauthorized Unauthorized
swagger:response createAuthenticationV1TokenReviewUnauthorized
func NewCreateAuthenticationV1TokenReviewUnauthorized ¶
func NewCreateAuthenticationV1TokenReviewUnauthorized() *CreateAuthenticationV1TokenReviewUnauthorized
NewCreateAuthenticationV1TokenReviewUnauthorized creates CreateAuthenticationV1TokenReviewUnauthorized with default headers values
func (*CreateAuthenticationV1TokenReviewUnauthorized) WriteResponse ¶
func (o *CreateAuthenticationV1TokenReviewUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAuthenticationV1APIResources ¶
type GetAuthenticationV1APIResources struct { Context *middleware.Context Handler GetAuthenticationV1APIResourcesHandler }
GetAuthenticationV1APIResources swagger:route GET /apis/authentication.k8s.io/v1/ authentication_v1 getAuthenticationV1ApiResources
get available resources
func NewGetAuthenticationV1APIResources ¶
func NewGetAuthenticationV1APIResources(ctx *middleware.Context, handler GetAuthenticationV1APIResourcesHandler) *GetAuthenticationV1APIResources
NewGetAuthenticationV1APIResources creates a new http.Handler for the get authentication v1 API resources operation
func (*GetAuthenticationV1APIResources) ServeHTTP ¶
func (o *GetAuthenticationV1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAuthenticationV1APIResourcesHandler ¶
type GetAuthenticationV1APIResourcesHandler interface {
Handle(GetAuthenticationV1APIResourcesParams) middleware.Responder
}
GetAuthenticationV1APIResourcesHandler interface for that can handle valid get authentication v1 API resources params
type GetAuthenticationV1APIResourcesHandlerFunc ¶
type GetAuthenticationV1APIResourcesHandlerFunc func(GetAuthenticationV1APIResourcesParams) middleware.Responder
GetAuthenticationV1APIResourcesHandlerFunc turns a function with the right signature into a get authentication v1 API resources handler
func (GetAuthenticationV1APIResourcesHandlerFunc) Handle ¶
func (fn GetAuthenticationV1APIResourcesHandlerFunc) Handle(params GetAuthenticationV1APIResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetAuthenticationV1APIResourcesOK ¶
type GetAuthenticationV1APIResourcesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"` }
GetAuthenticationV1APIResourcesOK OK
swagger:response getAuthenticationV1ApiResourcesOK
func NewGetAuthenticationV1APIResourcesOK ¶
func NewGetAuthenticationV1APIResourcesOK() *GetAuthenticationV1APIResourcesOK
NewGetAuthenticationV1APIResourcesOK creates GetAuthenticationV1APIResourcesOK with default headers values
func (*GetAuthenticationV1APIResourcesOK) SetPayload ¶
func (o *GetAuthenticationV1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get authentication v1 Api resources o k response
func (*GetAuthenticationV1APIResourcesOK) WithPayload ¶
func (o *GetAuthenticationV1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetAuthenticationV1APIResourcesOK
WithPayload adds the payload to the get authentication v1 Api resources o k response
func (*GetAuthenticationV1APIResourcesOK) WriteResponse ¶
func (o *GetAuthenticationV1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAuthenticationV1APIResourcesParams ¶
type GetAuthenticationV1APIResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetAuthenticationV1APIResourcesParams contains all the bound params for the get authentication v1 API resources operation typically these are obtained from a http.Request
swagger:parameters getAuthenticationV1APIResources
func NewGetAuthenticationV1APIResourcesParams ¶
func NewGetAuthenticationV1APIResourcesParams() GetAuthenticationV1APIResourcesParams
NewGetAuthenticationV1APIResourcesParams creates a new GetAuthenticationV1APIResourcesParams object no default values defined in spec.
func (*GetAuthenticationV1APIResourcesParams) BindRequest ¶
func (o *GetAuthenticationV1APIResourcesParams) 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 NewGetAuthenticationV1APIResourcesParams() beforehand.
type GetAuthenticationV1APIResourcesUnauthorized ¶
type GetAuthenticationV1APIResourcesUnauthorized struct { }
GetAuthenticationV1APIResourcesUnauthorized Unauthorized
swagger:response getAuthenticationV1ApiResourcesUnauthorized
func NewGetAuthenticationV1APIResourcesUnauthorized ¶
func NewGetAuthenticationV1APIResourcesUnauthorized() *GetAuthenticationV1APIResourcesUnauthorized
NewGetAuthenticationV1APIResourcesUnauthorized creates GetAuthenticationV1APIResourcesUnauthorized with default headers values
func (*GetAuthenticationV1APIResourcesUnauthorized) WriteResponse ¶
func (o *GetAuthenticationV1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client