authentication_v1

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CreateAuthenticationV1TokenReviewAcceptedCode int = 202

CreateAuthenticationV1TokenReviewAcceptedCode is the HTTP code returned for type CreateAuthenticationV1TokenReviewAccepted

View Source
const CreateAuthenticationV1TokenReviewCreatedCode int = 201

CreateAuthenticationV1TokenReviewCreatedCode is the HTTP code returned for type CreateAuthenticationV1TokenReviewCreated

View Source
const CreateAuthenticationV1TokenReviewOKCode int = 200

CreateAuthenticationV1TokenReviewOKCode is the HTTP code returned for type CreateAuthenticationV1TokenReviewOK

View Source
const CreateAuthenticationV1TokenReviewUnauthorizedCode int = 401

CreateAuthenticationV1TokenReviewUnauthorizedCode is the HTTP code returned for type CreateAuthenticationV1TokenReviewUnauthorized

View Source
const GetAuthenticationV1APIResourcesOKCode int = 200

GetAuthenticationV1APIResourcesOKCode is the HTTP code returned for type GetAuthenticationV1APIResourcesOK

View Source
const GetAuthenticationV1APIResourcesUnauthorizedCode int = 401

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

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

SetPayload sets the payload to the create authentication v1 token review accepted response

func (*CreateAuthenticationV1TokenReviewAccepted) WithPayload

WithPayload adds the payload to the create authentication v1 token review accepted response

func (*CreateAuthenticationV1TokenReviewAccepted) WriteResponse

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

SetPayload sets the payload to the create authentication v1 token review created response

func (*CreateAuthenticationV1TokenReviewCreated) WithPayload

WithPayload adds the payload to the create authentication v1 token review created response

func (*CreateAuthenticationV1TokenReviewCreated) WriteResponse

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

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

SetPayload sets the payload to the create authentication v1 token review o k response

func (*CreateAuthenticationV1TokenReviewOK) WithPayload

WithPayload adds the payload to the create authentication v1 token review o k response

func (*CreateAuthenticationV1TokenReviewOK) WriteResponse

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

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

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

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

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

SetPayload sets the payload to the get authentication v1 Api resources o k response

func (*GetAuthenticationV1APIResourcesOK) WithPayload

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

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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