authorization_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 CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAcceptedCode int = 202

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAcceptedCode is the HTTP code returned for type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted

View Source
const CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreatedCode int = 201

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreatedCode is the HTTP code returned for type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated

View Source
const CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOKCode int = 200

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOKCode is the HTTP code returned for type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK

View Source
const CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorizedCode int = 401

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorizedCode is the HTTP code returned for type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized

View Source
const CreateAuthorizationV1SelfSubjectAccessReviewAcceptedCode int = 202

CreateAuthorizationV1SelfSubjectAccessReviewAcceptedCode is the HTTP code returned for type CreateAuthorizationV1SelfSubjectAccessReviewAccepted

View Source
const CreateAuthorizationV1SelfSubjectAccessReviewCreatedCode int = 201

CreateAuthorizationV1SelfSubjectAccessReviewCreatedCode is the HTTP code returned for type CreateAuthorizationV1SelfSubjectAccessReviewCreated

View Source
const CreateAuthorizationV1SelfSubjectAccessReviewOKCode int = 200

CreateAuthorizationV1SelfSubjectAccessReviewOKCode is the HTTP code returned for type CreateAuthorizationV1SelfSubjectAccessReviewOK

View Source
const CreateAuthorizationV1SelfSubjectAccessReviewUnauthorizedCode int = 401

CreateAuthorizationV1SelfSubjectAccessReviewUnauthorizedCode is the HTTP code returned for type CreateAuthorizationV1SelfSubjectAccessReviewUnauthorized

View Source
const CreateAuthorizationV1SelfSubjectRulesReviewAcceptedCode int = 202

CreateAuthorizationV1SelfSubjectRulesReviewAcceptedCode is the HTTP code returned for type CreateAuthorizationV1SelfSubjectRulesReviewAccepted

View Source
const CreateAuthorizationV1SelfSubjectRulesReviewCreatedCode int = 201

CreateAuthorizationV1SelfSubjectRulesReviewCreatedCode is the HTTP code returned for type CreateAuthorizationV1SelfSubjectRulesReviewCreated

View Source
const CreateAuthorizationV1SelfSubjectRulesReviewOKCode int = 200

CreateAuthorizationV1SelfSubjectRulesReviewOKCode is the HTTP code returned for type CreateAuthorizationV1SelfSubjectRulesReviewOK

View Source
const CreateAuthorizationV1SelfSubjectRulesReviewUnauthorizedCode int = 401

CreateAuthorizationV1SelfSubjectRulesReviewUnauthorizedCode is the HTTP code returned for type CreateAuthorizationV1SelfSubjectRulesReviewUnauthorized

View Source
const CreateAuthorizationV1SubjectAccessReviewAcceptedCode int = 202

CreateAuthorizationV1SubjectAccessReviewAcceptedCode is the HTTP code returned for type CreateAuthorizationV1SubjectAccessReviewAccepted

View Source
const CreateAuthorizationV1SubjectAccessReviewCreatedCode int = 201

CreateAuthorizationV1SubjectAccessReviewCreatedCode is the HTTP code returned for type CreateAuthorizationV1SubjectAccessReviewCreated

View Source
const CreateAuthorizationV1SubjectAccessReviewOKCode int = 200

CreateAuthorizationV1SubjectAccessReviewOKCode is the HTTP code returned for type CreateAuthorizationV1SubjectAccessReviewOK

View Source
const CreateAuthorizationV1SubjectAccessReviewUnauthorizedCode int = 401

CreateAuthorizationV1SubjectAccessReviewUnauthorizedCode is the HTTP code returned for type CreateAuthorizationV1SubjectAccessReviewUnauthorized

View Source
const GetAuthorizationV1APIResourcesOKCode int = 200

GetAuthorizationV1APIResourcesOKCode is the HTTP code returned for type GetAuthorizationV1APIResourcesOK

View Source
const GetAuthorizationV1APIResourcesUnauthorizedCode int = 401

GetAuthorizationV1APIResourcesUnauthorizedCode is the HTTP code returned for type GetAuthorizationV1APIResourcesUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAuthorizationV1NamespacedLocalSubjectAccessReview

type CreateAuthorizationV1NamespacedLocalSubjectAccessReview struct {
	Context *middleware.Context
	Handler CreateAuthorizationV1NamespacedLocalSubjectAccessReviewHandler
}

CreateAuthorizationV1NamespacedLocalSubjectAccessReview swagger:route POST /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews authorization_v1 createAuthorizationV1NamespacedLocalSubjectAccessReview

create a LocalSubjectAccessReview

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReview

NewCreateAuthorizationV1NamespacedLocalSubjectAccessReview creates a new http.Handler for the create authorization v1 namespaced local subject access review operation

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReview) ServeHTTP

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1LocalSubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted Accepted

swagger:response createAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted() *CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted

NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted creates CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted with default headers values

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted) SetPayload

SetPayload sets the payload to the create authorization v1 namespaced local subject access review accepted response

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted) WithPayload

WithPayload adds the payload to the create authorization v1 namespaced local subject access review accepted response

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewAccepted) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1LocalSubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated Created

swagger:response createAuthorizationV1NamespacedLocalSubjectAccessReviewCreated

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated() *CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated

NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated creates CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated with default headers values

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated) SetPayload

SetPayload sets the payload to the create authorization v1 namespaced local subject access review created response

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated) WithPayload

WithPayload adds the payload to the create authorization v1 namespaced local subject access review created response

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewCreated) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewHandler

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewHandler interface {
	Handle(CreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams) middleware.Responder
}

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewHandler interface for that can handle valid create authorization v1 namespaced local subject access review params

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewHandlerFunc

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewHandlerFunc func(CreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams) middleware.Responder

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewHandlerFunc turns a function with the right signature into a create authorization v1 namespaced local subject access review handler

func (CreateAuthorizationV1NamespacedLocalSubjectAccessReviewHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1LocalSubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK OK

swagger:response createAuthorizationV1NamespacedLocalSubjectAccessReviewOK

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK() *CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK

NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK creates CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK with default headers values

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK) SetPayload

SetPayload sets the payload to the create authorization v1 namespaced local subject access review o k response

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK) WithPayload

WithPayload adds the payload to the create authorization v1 namespaced local subject access review o k response

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewOK) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.IoK8sAPIAuthorizationV1LocalSubjectAccessReview
	/*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
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace string
	/*If 'true', then the output is pretty printed.
	  Unique: true
	  In: query
	*/
	Pretty *string
}

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams contains all the bound params for the create authorization v1 namespaced local subject access review operation typically these are obtained from a http.Request

swagger:parameters createAuthorizationV1NamespacedLocalSubjectAccessReview

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams() CreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams

NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams creates a new CreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams object no default values defined in spec.

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams) 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 NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewParams() beforehand.

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized

type CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized struct {
}

CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized Unauthorized

swagger:response createAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized

func NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized() *CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized

NewCreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized creates CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized with default headers values

func (*CreateAuthorizationV1NamespacedLocalSubjectAccessReviewUnauthorized) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SelfSubjectAccessReview

type CreateAuthorizationV1SelfSubjectAccessReview struct {
	Context *middleware.Context
	Handler CreateAuthorizationV1SelfSubjectAccessReviewHandler
}

CreateAuthorizationV1SelfSubjectAccessReview swagger:route POST /apis/authorization.k8s.io/v1/selfsubjectaccessreviews authorization_v1 createAuthorizationV1SelfSubjectAccessReview

create a SelfSubjectAccessReview

func NewCreateAuthorizationV1SelfSubjectAccessReview

NewCreateAuthorizationV1SelfSubjectAccessReview creates a new http.Handler for the create authorization v1 self subject access review operation

func (*CreateAuthorizationV1SelfSubjectAccessReview) ServeHTTP

type CreateAuthorizationV1SelfSubjectAccessReviewAccepted

type CreateAuthorizationV1SelfSubjectAccessReviewAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SelfSubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1SelfSubjectAccessReviewAccepted Accepted

swagger:response createAuthorizationV1SelfSubjectAccessReviewAccepted

func NewCreateAuthorizationV1SelfSubjectAccessReviewAccepted

func NewCreateAuthorizationV1SelfSubjectAccessReviewAccepted() *CreateAuthorizationV1SelfSubjectAccessReviewAccepted

NewCreateAuthorizationV1SelfSubjectAccessReviewAccepted creates CreateAuthorizationV1SelfSubjectAccessReviewAccepted with default headers values

func (*CreateAuthorizationV1SelfSubjectAccessReviewAccepted) SetPayload

SetPayload sets the payload to the create authorization v1 self subject access review accepted response

func (*CreateAuthorizationV1SelfSubjectAccessReviewAccepted) WithPayload

WithPayload adds the payload to the create authorization v1 self subject access review accepted response

func (*CreateAuthorizationV1SelfSubjectAccessReviewAccepted) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SelfSubjectAccessReviewCreated

type CreateAuthorizationV1SelfSubjectAccessReviewCreated struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SelfSubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1SelfSubjectAccessReviewCreated Created

swagger:response createAuthorizationV1SelfSubjectAccessReviewCreated

func NewCreateAuthorizationV1SelfSubjectAccessReviewCreated

func NewCreateAuthorizationV1SelfSubjectAccessReviewCreated() *CreateAuthorizationV1SelfSubjectAccessReviewCreated

NewCreateAuthorizationV1SelfSubjectAccessReviewCreated creates CreateAuthorizationV1SelfSubjectAccessReviewCreated with default headers values

func (*CreateAuthorizationV1SelfSubjectAccessReviewCreated) SetPayload

SetPayload sets the payload to the create authorization v1 self subject access review created response

func (*CreateAuthorizationV1SelfSubjectAccessReviewCreated) WithPayload

WithPayload adds the payload to the create authorization v1 self subject access review created response

func (*CreateAuthorizationV1SelfSubjectAccessReviewCreated) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SelfSubjectAccessReviewHandler

type CreateAuthorizationV1SelfSubjectAccessReviewHandler interface {
	Handle(CreateAuthorizationV1SelfSubjectAccessReviewParams) middleware.Responder
}

CreateAuthorizationV1SelfSubjectAccessReviewHandler interface for that can handle valid create authorization v1 self subject access review params

type CreateAuthorizationV1SelfSubjectAccessReviewHandlerFunc

type CreateAuthorizationV1SelfSubjectAccessReviewHandlerFunc func(CreateAuthorizationV1SelfSubjectAccessReviewParams) middleware.Responder

CreateAuthorizationV1SelfSubjectAccessReviewHandlerFunc turns a function with the right signature into a create authorization v1 self subject access review handler

func (CreateAuthorizationV1SelfSubjectAccessReviewHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAuthorizationV1SelfSubjectAccessReviewOK

type CreateAuthorizationV1SelfSubjectAccessReviewOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SelfSubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1SelfSubjectAccessReviewOK OK

swagger:response createAuthorizationV1SelfSubjectAccessReviewOK

func NewCreateAuthorizationV1SelfSubjectAccessReviewOK

func NewCreateAuthorizationV1SelfSubjectAccessReviewOK() *CreateAuthorizationV1SelfSubjectAccessReviewOK

NewCreateAuthorizationV1SelfSubjectAccessReviewOK creates CreateAuthorizationV1SelfSubjectAccessReviewOK with default headers values

func (*CreateAuthorizationV1SelfSubjectAccessReviewOK) SetPayload

SetPayload sets the payload to the create authorization v1 self subject access review o k response

func (*CreateAuthorizationV1SelfSubjectAccessReviewOK) WithPayload

WithPayload adds the payload to the create authorization v1 self subject access review o k response

func (*CreateAuthorizationV1SelfSubjectAccessReviewOK) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SelfSubjectAccessReviewParams

type CreateAuthorizationV1SelfSubjectAccessReviewParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.IoK8sAPIAuthorizationV1SelfSubjectAccessReview
	/*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
}

CreateAuthorizationV1SelfSubjectAccessReviewParams contains all the bound params for the create authorization v1 self subject access review operation typically these are obtained from a http.Request

swagger:parameters createAuthorizationV1SelfSubjectAccessReview

func NewCreateAuthorizationV1SelfSubjectAccessReviewParams

func NewCreateAuthorizationV1SelfSubjectAccessReviewParams() CreateAuthorizationV1SelfSubjectAccessReviewParams

NewCreateAuthorizationV1SelfSubjectAccessReviewParams creates a new CreateAuthorizationV1SelfSubjectAccessReviewParams object no default values defined in spec.

func (*CreateAuthorizationV1SelfSubjectAccessReviewParams) 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 NewCreateAuthorizationV1SelfSubjectAccessReviewParams() beforehand.

type CreateAuthorizationV1SelfSubjectAccessReviewUnauthorized

type CreateAuthorizationV1SelfSubjectAccessReviewUnauthorized struct {
}

CreateAuthorizationV1SelfSubjectAccessReviewUnauthorized Unauthorized

swagger:response createAuthorizationV1SelfSubjectAccessReviewUnauthorized

func NewCreateAuthorizationV1SelfSubjectAccessReviewUnauthorized

func NewCreateAuthorizationV1SelfSubjectAccessReviewUnauthorized() *CreateAuthorizationV1SelfSubjectAccessReviewUnauthorized

NewCreateAuthorizationV1SelfSubjectAccessReviewUnauthorized creates CreateAuthorizationV1SelfSubjectAccessReviewUnauthorized with default headers values

func (*CreateAuthorizationV1SelfSubjectAccessReviewUnauthorized) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SelfSubjectRulesReview

type CreateAuthorizationV1SelfSubjectRulesReview struct {
	Context *middleware.Context
	Handler CreateAuthorizationV1SelfSubjectRulesReviewHandler
}

CreateAuthorizationV1SelfSubjectRulesReview swagger:route POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews authorization_v1 createAuthorizationV1SelfSubjectRulesReview

create a SelfSubjectRulesReview

func NewCreateAuthorizationV1SelfSubjectRulesReview

NewCreateAuthorizationV1SelfSubjectRulesReview creates a new http.Handler for the create authorization v1 self subject rules review operation

func (*CreateAuthorizationV1SelfSubjectRulesReview) ServeHTTP

type CreateAuthorizationV1SelfSubjectRulesReviewAccepted

type CreateAuthorizationV1SelfSubjectRulesReviewAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SelfSubjectRulesReview `json:"body,omitempty"`
}

CreateAuthorizationV1SelfSubjectRulesReviewAccepted Accepted

swagger:response createAuthorizationV1SelfSubjectRulesReviewAccepted

func NewCreateAuthorizationV1SelfSubjectRulesReviewAccepted

func NewCreateAuthorizationV1SelfSubjectRulesReviewAccepted() *CreateAuthorizationV1SelfSubjectRulesReviewAccepted

NewCreateAuthorizationV1SelfSubjectRulesReviewAccepted creates CreateAuthorizationV1SelfSubjectRulesReviewAccepted with default headers values

func (*CreateAuthorizationV1SelfSubjectRulesReviewAccepted) SetPayload

SetPayload sets the payload to the create authorization v1 self subject rules review accepted response

func (*CreateAuthorizationV1SelfSubjectRulesReviewAccepted) WithPayload

WithPayload adds the payload to the create authorization v1 self subject rules review accepted response

func (*CreateAuthorizationV1SelfSubjectRulesReviewAccepted) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SelfSubjectRulesReviewCreated

type CreateAuthorizationV1SelfSubjectRulesReviewCreated struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SelfSubjectRulesReview `json:"body,omitempty"`
}

CreateAuthorizationV1SelfSubjectRulesReviewCreated Created

swagger:response createAuthorizationV1SelfSubjectRulesReviewCreated

func NewCreateAuthorizationV1SelfSubjectRulesReviewCreated

func NewCreateAuthorizationV1SelfSubjectRulesReviewCreated() *CreateAuthorizationV1SelfSubjectRulesReviewCreated

NewCreateAuthorizationV1SelfSubjectRulesReviewCreated creates CreateAuthorizationV1SelfSubjectRulesReviewCreated with default headers values

func (*CreateAuthorizationV1SelfSubjectRulesReviewCreated) SetPayload

SetPayload sets the payload to the create authorization v1 self subject rules review created response

func (*CreateAuthorizationV1SelfSubjectRulesReviewCreated) WithPayload

WithPayload adds the payload to the create authorization v1 self subject rules review created response

func (*CreateAuthorizationV1SelfSubjectRulesReviewCreated) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SelfSubjectRulesReviewHandler

type CreateAuthorizationV1SelfSubjectRulesReviewHandler interface {
	Handle(CreateAuthorizationV1SelfSubjectRulesReviewParams) middleware.Responder
}

CreateAuthorizationV1SelfSubjectRulesReviewHandler interface for that can handle valid create authorization v1 self subject rules review params

type CreateAuthorizationV1SelfSubjectRulesReviewHandlerFunc

type CreateAuthorizationV1SelfSubjectRulesReviewHandlerFunc func(CreateAuthorizationV1SelfSubjectRulesReviewParams) middleware.Responder

CreateAuthorizationV1SelfSubjectRulesReviewHandlerFunc turns a function with the right signature into a create authorization v1 self subject rules review handler

func (CreateAuthorizationV1SelfSubjectRulesReviewHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAuthorizationV1SelfSubjectRulesReviewOK

type CreateAuthorizationV1SelfSubjectRulesReviewOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SelfSubjectRulesReview `json:"body,omitempty"`
}

CreateAuthorizationV1SelfSubjectRulesReviewOK OK

swagger:response createAuthorizationV1SelfSubjectRulesReviewOK

func NewCreateAuthorizationV1SelfSubjectRulesReviewOK

func NewCreateAuthorizationV1SelfSubjectRulesReviewOK() *CreateAuthorizationV1SelfSubjectRulesReviewOK

NewCreateAuthorizationV1SelfSubjectRulesReviewOK creates CreateAuthorizationV1SelfSubjectRulesReviewOK with default headers values

func (*CreateAuthorizationV1SelfSubjectRulesReviewOK) SetPayload

SetPayload sets the payload to the create authorization v1 self subject rules review o k response

func (*CreateAuthorizationV1SelfSubjectRulesReviewOK) WithPayload

WithPayload adds the payload to the create authorization v1 self subject rules review o k response

func (*CreateAuthorizationV1SelfSubjectRulesReviewOK) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SelfSubjectRulesReviewParams

type CreateAuthorizationV1SelfSubjectRulesReviewParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.IoK8sAPIAuthorizationV1SelfSubjectRulesReview
	/*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
}

CreateAuthorizationV1SelfSubjectRulesReviewParams contains all the bound params for the create authorization v1 self subject rules review operation typically these are obtained from a http.Request

swagger:parameters createAuthorizationV1SelfSubjectRulesReview

func NewCreateAuthorizationV1SelfSubjectRulesReviewParams

func NewCreateAuthorizationV1SelfSubjectRulesReviewParams() CreateAuthorizationV1SelfSubjectRulesReviewParams

NewCreateAuthorizationV1SelfSubjectRulesReviewParams creates a new CreateAuthorizationV1SelfSubjectRulesReviewParams object no default values defined in spec.

func (*CreateAuthorizationV1SelfSubjectRulesReviewParams) 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 NewCreateAuthorizationV1SelfSubjectRulesReviewParams() beforehand.

type CreateAuthorizationV1SelfSubjectRulesReviewUnauthorized

type CreateAuthorizationV1SelfSubjectRulesReviewUnauthorized struct {
}

CreateAuthorizationV1SelfSubjectRulesReviewUnauthorized Unauthorized

swagger:response createAuthorizationV1SelfSubjectRulesReviewUnauthorized

func NewCreateAuthorizationV1SelfSubjectRulesReviewUnauthorized

func NewCreateAuthorizationV1SelfSubjectRulesReviewUnauthorized() *CreateAuthorizationV1SelfSubjectRulesReviewUnauthorized

NewCreateAuthorizationV1SelfSubjectRulesReviewUnauthorized creates CreateAuthorizationV1SelfSubjectRulesReviewUnauthorized with default headers values

func (*CreateAuthorizationV1SelfSubjectRulesReviewUnauthorized) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SubjectAccessReview

type CreateAuthorizationV1SubjectAccessReview struct {
	Context *middleware.Context
	Handler CreateAuthorizationV1SubjectAccessReviewHandler
}

CreateAuthorizationV1SubjectAccessReview swagger:route POST /apis/authorization.k8s.io/v1/subjectaccessreviews authorization_v1 createAuthorizationV1SubjectAccessReview

create a SubjectAccessReview

func NewCreateAuthorizationV1SubjectAccessReview

func NewCreateAuthorizationV1SubjectAccessReview(ctx *middleware.Context, handler CreateAuthorizationV1SubjectAccessReviewHandler) *CreateAuthorizationV1SubjectAccessReview

NewCreateAuthorizationV1SubjectAccessReview creates a new http.Handler for the create authorization v1 subject access review operation

func (*CreateAuthorizationV1SubjectAccessReview) ServeHTTP

type CreateAuthorizationV1SubjectAccessReviewAccepted

type CreateAuthorizationV1SubjectAccessReviewAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1SubjectAccessReviewAccepted Accepted

swagger:response createAuthorizationV1SubjectAccessReviewAccepted

func NewCreateAuthorizationV1SubjectAccessReviewAccepted

func NewCreateAuthorizationV1SubjectAccessReviewAccepted() *CreateAuthorizationV1SubjectAccessReviewAccepted

NewCreateAuthorizationV1SubjectAccessReviewAccepted creates CreateAuthorizationV1SubjectAccessReviewAccepted with default headers values

func (*CreateAuthorizationV1SubjectAccessReviewAccepted) SetPayload

SetPayload sets the payload to the create authorization v1 subject access review accepted response

func (*CreateAuthorizationV1SubjectAccessReviewAccepted) WithPayload

WithPayload adds the payload to the create authorization v1 subject access review accepted response

func (*CreateAuthorizationV1SubjectAccessReviewAccepted) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SubjectAccessReviewCreated

type CreateAuthorizationV1SubjectAccessReviewCreated struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1SubjectAccessReviewCreated Created

swagger:response createAuthorizationV1SubjectAccessReviewCreated

func NewCreateAuthorizationV1SubjectAccessReviewCreated

func NewCreateAuthorizationV1SubjectAccessReviewCreated() *CreateAuthorizationV1SubjectAccessReviewCreated

NewCreateAuthorizationV1SubjectAccessReviewCreated creates CreateAuthorizationV1SubjectAccessReviewCreated with default headers values

func (*CreateAuthorizationV1SubjectAccessReviewCreated) SetPayload

SetPayload sets the payload to the create authorization v1 subject access review created response

func (*CreateAuthorizationV1SubjectAccessReviewCreated) WithPayload

WithPayload adds the payload to the create authorization v1 subject access review created response

func (*CreateAuthorizationV1SubjectAccessReviewCreated) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SubjectAccessReviewHandler

type CreateAuthorizationV1SubjectAccessReviewHandler interface {
	Handle(CreateAuthorizationV1SubjectAccessReviewParams) middleware.Responder
}

CreateAuthorizationV1SubjectAccessReviewHandler interface for that can handle valid create authorization v1 subject access review params

type CreateAuthorizationV1SubjectAccessReviewHandlerFunc

type CreateAuthorizationV1SubjectAccessReviewHandlerFunc func(CreateAuthorizationV1SubjectAccessReviewParams) middleware.Responder

CreateAuthorizationV1SubjectAccessReviewHandlerFunc turns a function with the right signature into a create authorization v1 subject access review handler

func (CreateAuthorizationV1SubjectAccessReviewHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAuthorizationV1SubjectAccessReviewOK

type CreateAuthorizationV1SubjectAccessReviewOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPIAuthorizationV1SubjectAccessReview `json:"body,omitempty"`
}

CreateAuthorizationV1SubjectAccessReviewOK OK

swagger:response createAuthorizationV1SubjectAccessReviewOK

func NewCreateAuthorizationV1SubjectAccessReviewOK

func NewCreateAuthorizationV1SubjectAccessReviewOK() *CreateAuthorizationV1SubjectAccessReviewOK

NewCreateAuthorizationV1SubjectAccessReviewOK creates CreateAuthorizationV1SubjectAccessReviewOK with default headers values

func (*CreateAuthorizationV1SubjectAccessReviewOK) SetPayload

SetPayload sets the payload to the create authorization v1 subject access review o k response

func (*CreateAuthorizationV1SubjectAccessReviewOK) WithPayload

WithPayload adds the payload to the create authorization v1 subject access review o k response

func (*CreateAuthorizationV1SubjectAccessReviewOK) WriteResponse

WriteResponse to the client

type CreateAuthorizationV1SubjectAccessReviewParams

type CreateAuthorizationV1SubjectAccessReviewParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.IoK8sAPIAuthorizationV1SubjectAccessReview
	/*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
}

CreateAuthorizationV1SubjectAccessReviewParams contains all the bound params for the create authorization v1 subject access review operation typically these are obtained from a http.Request

swagger:parameters createAuthorizationV1SubjectAccessReview

func NewCreateAuthorizationV1SubjectAccessReviewParams

func NewCreateAuthorizationV1SubjectAccessReviewParams() CreateAuthorizationV1SubjectAccessReviewParams

NewCreateAuthorizationV1SubjectAccessReviewParams creates a new CreateAuthorizationV1SubjectAccessReviewParams object no default values defined in spec.

func (*CreateAuthorizationV1SubjectAccessReviewParams) 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 NewCreateAuthorizationV1SubjectAccessReviewParams() beforehand.

type CreateAuthorizationV1SubjectAccessReviewUnauthorized

type CreateAuthorizationV1SubjectAccessReviewUnauthorized struct {
}

CreateAuthorizationV1SubjectAccessReviewUnauthorized Unauthorized

swagger:response createAuthorizationV1SubjectAccessReviewUnauthorized

func NewCreateAuthorizationV1SubjectAccessReviewUnauthorized

func NewCreateAuthorizationV1SubjectAccessReviewUnauthorized() *CreateAuthorizationV1SubjectAccessReviewUnauthorized

NewCreateAuthorizationV1SubjectAccessReviewUnauthorized creates CreateAuthorizationV1SubjectAccessReviewUnauthorized with default headers values

func (*CreateAuthorizationV1SubjectAccessReviewUnauthorized) WriteResponse

WriteResponse to the client

type GetAuthorizationV1APIResources

type GetAuthorizationV1APIResources struct {
	Context *middleware.Context
	Handler GetAuthorizationV1APIResourcesHandler
}

GetAuthorizationV1APIResources swagger:route GET /apis/authorization.k8s.io/v1/ authorization_v1 getAuthorizationV1ApiResources

get available resources

func NewGetAuthorizationV1APIResources

func NewGetAuthorizationV1APIResources(ctx *middleware.Context, handler GetAuthorizationV1APIResourcesHandler) *GetAuthorizationV1APIResources

NewGetAuthorizationV1APIResources creates a new http.Handler for the get authorization v1 API resources operation

func (*GetAuthorizationV1APIResources) ServeHTTP

type GetAuthorizationV1APIResourcesHandler

type GetAuthorizationV1APIResourcesHandler interface {
	Handle(GetAuthorizationV1APIResourcesParams) middleware.Responder
}

GetAuthorizationV1APIResourcesHandler interface for that can handle valid get authorization v1 API resources params

type GetAuthorizationV1APIResourcesHandlerFunc

type GetAuthorizationV1APIResourcesHandlerFunc func(GetAuthorizationV1APIResourcesParams) middleware.Responder

GetAuthorizationV1APIResourcesHandlerFunc turns a function with the right signature into a get authorization v1 API resources handler

func (GetAuthorizationV1APIResourcesHandlerFunc) Handle

Handle executing the request and returning a response

type GetAuthorizationV1APIResourcesOK

type GetAuthorizationV1APIResourcesOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"`
}

GetAuthorizationV1APIResourcesOK OK

swagger:response getAuthorizationV1ApiResourcesOK

func NewGetAuthorizationV1APIResourcesOK

func NewGetAuthorizationV1APIResourcesOK() *GetAuthorizationV1APIResourcesOK

NewGetAuthorizationV1APIResourcesOK creates GetAuthorizationV1APIResourcesOK with default headers values

func (*GetAuthorizationV1APIResourcesOK) SetPayload

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

func (*GetAuthorizationV1APIResourcesOK) WithPayload

WithPayload adds the payload to the get authorization v1 Api resources o k response

func (*GetAuthorizationV1APIResourcesOK) WriteResponse

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

WriteResponse to the client

type GetAuthorizationV1APIResourcesParams

type GetAuthorizationV1APIResourcesParams struct {

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

GetAuthorizationV1APIResourcesParams contains all the bound params for the get authorization v1 API resources operation typically these are obtained from a http.Request

swagger:parameters getAuthorizationV1APIResources

func NewGetAuthorizationV1APIResourcesParams

func NewGetAuthorizationV1APIResourcesParams() GetAuthorizationV1APIResourcesParams

NewGetAuthorizationV1APIResourcesParams creates a new GetAuthorizationV1APIResourcesParams object no default values defined in spec.

func (*GetAuthorizationV1APIResourcesParams) 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 NewGetAuthorizationV1APIResourcesParams() beforehand.

type GetAuthorizationV1APIResourcesUnauthorized

type GetAuthorizationV1APIResourcesUnauthorized struct {
}

GetAuthorizationV1APIResourcesUnauthorized Unauthorized

swagger:response getAuthorizationV1ApiResourcesUnauthorized

func NewGetAuthorizationV1APIResourcesUnauthorized

func NewGetAuthorizationV1APIResourcesUnauthorized() *GetAuthorizationV1APIResourcesUnauthorized

NewGetAuthorizationV1APIResourcesUnauthorized creates GetAuthorizationV1APIResourcesUnauthorized with default headers values

func (*GetAuthorizationV1APIResourcesUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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