Documentation
¶
Index ¶
- Constants
- type CreateAuthenticationV1beta1TokenReview
- type CreateAuthenticationV1beta1TokenReviewAccepted
- func (o *CreateAuthenticationV1beta1TokenReviewAccepted) SetPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview)
- func (o *CreateAuthenticationV1beta1TokenReviewAccepted) WithPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview) *CreateAuthenticationV1beta1TokenReviewAccepted
- func (o *CreateAuthenticationV1beta1TokenReviewAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthenticationV1beta1TokenReviewCreated
- func (o *CreateAuthenticationV1beta1TokenReviewCreated) SetPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview)
- func (o *CreateAuthenticationV1beta1TokenReviewCreated) WithPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview) *CreateAuthenticationV1beta1TokenReviewCreated
- func (o *CreateAuthenticationV1beta1TokenReviewCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthenticationV1beta1TokenReviewHandler
- type CreateAuthenticationV1beta1TokenReviewHandlerFunc
- type CreateAuthenticationV1beta1TokenReviewOK
- func (o *CreateAuthenticationV1beta1TokenReviewOK) SetPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview)
- func (o *CreateAuthenticationV1beta1TokenReviewOK) WithPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview) *CreateAuthenticationV1beta1TokenReviewOK
- func (o *CreateAuthenticationV1beta1TokenReviewOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthenticationV1beta1TokenReviewParams
- type CreateAuthenticationV1beta1TokenReviewUnauthorized
- type GetAuthenticationV1beta1APIResources
- type GetAuthenticationV1beta1APIResourcesHandler
- type GetAuthenticationV1beta1APIResourcesHandlerFunc
- type GetAuthenticationV1beta1APIResourcesOK
- func (o *GetAuthenticationV1beta1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetAuthenticationV1beta1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetAuthenticationV1beta1APIResourcesOK
- func (o *GetAuthenticationV1beta1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAuthenticationV1beta1APIResourcesParams
- type GetAuthenticationV1beta1APIResourcesUnauthorized
Constants ¶
const CreateAuthenticationV1beta1TokenReviewAcceptedCode int = 202
CreateAuthenticationV1beta1TokenReviewAcceptedCode is the HTTP code returned for type CreateAuthenticationV1beta1TokenReviewAccepted
const CreateAuthenticationV1beta1TokenReviewCreatedCode int = 201
CreateAuthenticationV1beta1TokenReviewCreatedCode is the HTTP code returned for type CreateAuthenticationV1beta1TokenReviewCreated
const CreateAuthenticationV1beta1TokenReviewOKCode int = 200
CreateAuthenticationV1beta1TokenReviewOKCode is the HTTP code returned for type CreateAuthenticationV1beta1TokenReviewOK
CreateAuthenticationV1beta1TokenReviewUnauthorizedCode is the HTTP code returned for type CreateAuthenticationV1beta1TokenReviewUnauthorized
const GetAuthenticationV1beta1APIResourcesOKCode int = 200
GetAuthenticationV1beta1APIResourcesOKCode is the HTTP code returned for type GetAuthenticationV1beta1APIResourcesOK
GetAuthenticationV1beta1APIResourcesUnauthorizedCode is the HTTP code returned for type GetAuthenticationV1beta1APIResourcesUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthenticationV1beta1TokenReview ¶
type CreateAuthenticationV1beta1TokenReview struct { Context *middleware.Context Handler CreateAuthenticationV1beta1TokenReviewHandler }
CreateAuthenticationV1beta1TokenReview swagger:route POST /apis/authentication.k8s.io/v1beta1/tokenreviews authentication_v1beta1 createAuthenticationV1beta1TokenReview
create a TokenReview
func NewCreateAuthenticationV1beta1TokenReview ¶
func NewCreateAuthenticationV1beta1TokenReview(ctx *middleware.Context, handler CreateAuthenticationV1beta1TokenReviewHandler) *CreateAuthenticationV1beta1TokenReview
NewCreateAuthenticationV1beta1TokenReview creates a new http.Handler for the create authentication v1beta1 token review operation
func (*CreateAuthenticationV1beta1TokenReview) ServeHTTP ¶
func (o *CreateAuthenticationV1beta1TokenReview) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateAuthenticationV1beta1TokenReviewAccepted ¶
type CreateAuthenticationV1beta1TokenReviewAccepted struct { /* In: Body */ Payload *models.IoK8sAPIAuthenticationV1beta1TokenReview `json:"body,omitempty"` }
CreateAuthenticationV1beta1TokenReviewAccepted Accepted
swagger:response createAuthenticationV1beta1TokenReviewAccepted
func NewCreateAuthenticationV1beta1TokenReviewAccepted ¶
func NewCreateAuthenticationV1beta1TokenReviewAccepted() *CreateAuthenticationV1beta1TokenReviewAccepted
NewCreateAuthenticationV1beta1TokenReviewAccepted creates CreateAuthenticationV1beta1TokenReviewAccepted with default headers values
func (*CreateAuthenticationV1beta1TokenReviewAccepted) SetPayload ¶
func (o *CreateAuthenticationV1beta1TokenReviewAccepted) SetPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview)
SetPayload sets the payload to the create authentication v1beta1 token review accepted response
func (*CreateAuthenticationV1beta1TokenReviewAccepted) WithPayload ¶
func (o *CreateAuthenticationV1beta1TokenReviewAccepted) WithPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview) *CreateAuthenticationV1beta1TokenReviewAccepted
WithPayload adds the payload to the create authentication v1beta1 token review accepted response
func (*CreateAuthenticationV1beta1TokenReviewAccepted) WriteResponse ¶
func (o *CreateAuthenticationV1beta1TokenReviewAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthenticationV1beta1TokenReviewCreated ¶
type CreateAuthenticationV1beta1TokenReviewCreated struct { /* In: Body */ Payload *models.IoK8sAPIAuthenticationV1beta1TokenReview `json:"body,omitempty"` }
CreateAuthenticationV1beta1TokenReviewCreated Created
swagger:response createAuthenticationV1beta1TokenReviewCreated
func NewCreateAuthenticationV1beta1TokenReviewCreated ¶
func NewCreateAuthenticationV1beta1TokenReviewCreated() *CreateAuthenticationV1beta1TokenReviewCreated
NewCreateAuthenticationV1beta1TokenReviewCreated creates CreateAuthenticationV1beta1TokenReviewCreated with default headers values
func (*CreateAuthenticationV1beta1TokenReviewCreated) SetPayload ¶
func (o *CreateAuthenticationV1beta1TokenReviewCreated) SetPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview)
SetPayload sets the payload to the create authentication v1beta1 token review created response
func (*CreateAuthenticationV1beta1TokenReviewCreated) WithPayload ¶
func (o *CreateAuthenticationV1beta1TokenReviewCreated) WithPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview) *CreateAuthenticationV1beta1TokenReviewCreated
WithPayload adds the payload to the create authentication v1beta1 token review created response
func (*CreateAuthenticationV1beta1TokenReviewCreated) WriteResponse ¶
func (o *CreateAuthenticationV1beta1TokenReviewCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthenticationV1beta1TokenReviewHandler ¶
type CreateAuthenticationV1beta1TokenReviewHandler interface {
Handle(CreateAuthenticationV1beta1TokenReviewParams) middleware.Responder
}
CreateAuthenticationV1beta1TokenReviewHandler interface for that can handle valid create authentication v1beta1 token review params
type CreateAuthenticationV1beta1TokenReviewHandlerFunc ¶
type CreateAuthenticationV1beta1TokenReviewHandlerFunc func(CreateAuthenticationV1beta1TokenReviewParams) middleware.Responder
CreateAuthenticationV1beta1TokenReviewHandlerFunc turns a function with the right signature into a create authentication v1beta1 token review handler
func (CreateAuthenticationV1beta1TokenReviewHandlerFunc) Handle ¶
func (fn CreateAuthenticationV1beta1TokenReviewHandlerFunc) Handle(params CreateAuthenticationV1beta1TokenReviewParams) middleware.Responder
Handle executing the request and returning a response
type CreateAuthenticationV1beta1TokenReviewOK ¶
type CreateAuthenticationV1beta1TokenReviewOK struct { /* In: Body */ Payload *models.IoK8sAPIAuthenticationV1beta1TokenReview `json:"body,omitempty"` }
CreateAuthenticationV1beta1TokenReviewOK OK
swagger:response createAuthenticationV1beta1TokenReviewOK
func NewCreateAuthenticationV1beta1TokenReviewOK ¶
func NewCreateAuthenticationV1beta1TokenReviewOK() *CreateAuthenticationV1beta1TokenReviewOK
NewCreateAuthenticationV1beta1TokenReviewOK creates CreateAuthenticationV1beta1TokenReviewOK with default headers values
func (*CreateAuthenticationV1beta1TokenReviewOK) SetPayload ¶
func (o *CreateAuthenticationV1beta1TokenReviewOK) SetPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview)
SetPayload sets the payload to the create authentication v1beta1 token review o k response
func (*CreateAuthenticationV1beta1TokenReviewOK) WithPayload ¶
func (o *CreateAuthenticationV1beta1TokenReviewOK) WithPayload(payload *models.IoK8sAPIAuthenticationV1beta1TokenReview) *CreateAuthenticationV1beta1TokenReviewOK
WithPayload adds the payload to the create authentication v1beta1 token review o k response
func (*CreateAuthenticationV1beta1TokenReviewOK) WriteResponse ¶
func (o *CreateAuthenticationV1beta1TokenReviewOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthenticationV1beta1TokenReviewParams ¶
type CreateAuthenticationV1beta1TokenReviewParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPIAuthenticationV1beta1TokenReview /*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 }
CreateAuthenticationV1beta1TokenReviewParams contains all the bound params for the create authentication v1beta1 token review operation typically these are obtained from a http.Request
swagger:parameters createAuthenticationV1beta1TokenReview
func NewCreateAuthenticationV1beta1TokenReviewParams ¶
func NewCreateAuthenticationV1beta1TokenReviewParams() CreateAuthenticationV1beta1TokenReviewParams
NewCreateAuthenticationV1beta1TokenReviewParams creates a new CreateAuthenticationV1beta1TokenReviewParams object no default values defined in spec.
func (*CreateAuthenticationV1beta1TokenReviewParams) BindRequest ¶
func (o *CreateAuthenticationV1beta1TokenReviewParams) 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 NewCreateAuthenticationV1beta1TokenReviewParams() beforehand.
type CreateAuthenticationV1beta1TokenReviewUnauthorized ¶
type CreateAuthenticationV1beta1TokenReviewUnauthorized struct { }
CreateAuthenticationV1beta1TokenReviewUnauthorized Unauthorized
swagger:response createAuthenticationV1beta1TokenReviewUnauthorized
func NewCreateAuthenticationV1beta1TokenReviewUnauthorized ¶
func NewCreateAuthenticationV1beta1TokenReviewUnauthorized() *CreateAuthenticationV1beta1TokenReviewUnauthorized
NewCreateAuthenticationV1beta1TokenReviewUnauthorized creates CreateAuthenticationV1beta1TokenReviewUnauthorized with default headers values
func (*CreateAuthenticationV1beta1TokenReviewUnauthorized) WriteResponse ¶
func (o *CreateAuthenticationV1beta1TokenReviewUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAuthenticationV1beta1APIResources ¶
type GetAuthenticationV1beta1APIResources struct { Context *middleware.Context Handler GetAuthenticationV1beta1APIResourcesHandler }
GetAuthenticationV1beta1APIResources swagger:route GET /apis/authentication.k8s.io/v1beta1/ authentication_v1beta1 getAuthenticationV1beta1ApiResources
get available resources
func NewGetAuthenticationV1beta1APIResources ¶
func NewGetAuthenticationV1beta1APIResources(ctx *middleware.Context, handler GetAuthenticationV1beta1APIResourcesHandler) *GetAuthenticationV1beta1APIResources
NewGetAuthenticationV1beta1APIResources creates a new http.Handler for the get authentication v1beta1 API resources operation
func (*GetAuthenticationV1beta1APIResources) ServeHTTP ¶
func (o *GetAuthenticationV1beta1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAuthenticationV1beta1APIResourcesHandler ¶
type GetAuthenticationV1beta1APIResourcesHandler interface {
Handle(GetAuthenticationV1beta1APIResourcesParams) middleware.Responder
}
GetAuthenticationV1beta1APIResourcesHandler interface for that can handle valid get authentication v1beta1 API resources params
type GetAuthenticationV1beta1APIResourcesHandlerFunc ¶
type GetAuthenticationV1beta1APIResourcesHandlerFunc func(GetAuthenticationV1beta1APIResourcesParams) middleware.Responder
GetAuthenticationV1beta1APIResourcesHandlerFunc turns a function with the right signature into a get authentication v1beta1 API resources handler
func (GetAuthenticationV1beta1APIResourcesHandlerFunc) Handle ¶
func (fn GetAuthenticationV1beta1APIResourcesHandlerFunc) Handle(params GetAuthenticationV1beta1APIResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetAuthenticationV1beta1APIResourcesOK ¶
type GetAuthenticationV1beta1APIResourcesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"` }
GetAuthenticationV1beta1APIResourcesOK OK
swagger:response getAuthenticationV1beta1ApiResourcesOK
func NewGetAuthenticationV1beta1APIResourcesOK ¶
func NewGetAuthenticationV1beta1APIResourcesOK() *GetAuthenticationV1beta1APIResourcesOK
NewGetAuthenticationV1beta1APIResourcesOK creates GetAuthenticationV1beta1APIResourcesOK with default headers values
func (*GetAuthenticationV1beta1APIResourcesOK) SetPayload ¶
func (o *GetAuthenticationV1beta1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get authentication v1beta1 Api resources o k response
func (*GetAuthenticationV1beta1APIResourcesOK) WithPayload ¶
func (o *GetAuthenticationV1beta1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetAuthenticationV1beta1APIResourcesOK
WithPayload adds the payload to the get authentication v1beta1 Api resources o k response
func (*GetAuthenticationV1beta1APIResourcesOK) WriteResponse ¶
func (o *GetAuthenticationV1beta1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAuthenticationV1beta1APIResourcesParams ¶
type GetAuthenticationV1beta1APIResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetAuthenticationV1beta1APIResourcesParams contains all the bound params for the get authentication v1beta1 API resources operation typically these are obtained from a http.Request
swagger:parameters getAuthenticationV1beta1APIResources
func NewGetAuthenticationV1beta1APIResourcesParams ¶
func NewGetAuthenticationV1beta1APIResourcesParams() GetAuthenticationV1beta1APIResourcesParams
NewGetAuthenticationV1beta1APIResourcesParams creates a new GetAuthenticationV1beta1APIResourcesParams object no default values defined in spec.
func (*GetAuthenticationV1beta1APIResourcesParams) BindRequest ¶
func (o *GetAuthenticationV1beta1APIResourcesParams) 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 NewGetAuthenticationV1beta1APIResourcesParams() beforehand.
type GetAuthenticationV1beta1APIResourcesUnauthorized ¶
type GetAuthenticationV1beta1APIResourcesUnauthorized struct { }
GetAuthenticationV1beta1APIResourcesUnauthorized Unauthorized
swagger:response getAuthenticationV1beta1ApiResourcesUnauthorized
func NewGetAuthenticationV1beta1APIResourcesUnauthorized ¶
func NewGetAuthenticationV1beta1APIResourcesUnauthorized() *GetAuthenticationV1beta1APIResourcesUnauthorized
NewGetAuthenticationV1beta1APIResourcesUnauthorized creates GetAuthenticationV1beta1APIResourcesUnauthorized with default headers values
func (*GetAuthenticationV1beta1APIResourcesUnauthorized) WriteResponse ¶
func (o *GetAuthenticationV1beta1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_authentication_v1beta1_token_review.go
- create_authentication_v1beta1_token_review_parameters.go
- create_authentication_v1beta1_token_review_responses.go
- get_authentication_v1beta1_api_resources.go
- get_authentication_v1beta1_api_resources_parameters.go
- get_authentication_v1beta1_api_resources_responses.go