Documentation
¶
Index ¶
- Constants
- type CreateApiregistrationV1APIService
- type CreateApiregistrationV1APIServiceAccepted
- func (o *CreateApiregistrationV1APIServiceAccepted) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *CreateApiregistrationV1APIServiceAccepted) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *CreateApiregistrationV1APIServiceAccepted
- func (o *CreateApiregistrationV1APIServiceAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApiregistrationV1APIServiceCreated
- func (o *CreateApiregistrationV1APIServiceCreated) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *CreateApiregistrationV1APIServiceCreated) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *CreateApiregistrationV1APIServiceCreated
- func (o *CreateApiregistrationV1APIServiceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApiregistrationV1APIServiceHandler
- type CreateApiregistrationV1APIServiceHandlerFunc
- type CreateApiregistrationV1APIServiceOK
- func (o *CreateApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *CreateApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *CreateApiregistrationV1APIServiceOK
- func (o *CreateApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApiregistrationV1APIServiceParams
- type CreateApiregistrationV1APIServiceUnauthorized
- type DeleteApiregistrationV1APIService
- type DeleteApiregistrationV1APIServiceAccepted
- func (o *DeleteApiregistrationV1APIServiceAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteApiregistrationV1APIServiceAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteApiregistrationV1APIServiceAccepted
- func (o *DeleteApiregistrationV1APIServiceAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteApiregistrationV1APIServiceHandler
- type DeleteApiregistrationV1APIServiceHandlerFunc
- type DeleteApiregistrationV1APIServiceOK
- func (o *DeleteApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteApiregistrationV1APIServiceOK
- func (o *DeleteApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteApiregistrationV1APIServiceParams
- type DeleteApiregistrationV1APIServiceUnauthorized
- type DeleteApiregistrationV1CollectionAPIService
- type DeleteApiregistrationV1CollectionAPIServiceHandler
- type DeleteApiregistrationV1CollectionAPIServiceHandlerFunc
- type DeleteApiregistrationV1CollectionAPIServiceOK
- func (o *DeleteApiregistrationV1CollectionAPIServiceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteApiregistrationV1CollectionAPIServiceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteApiregistrationV1CollectionAPIServiceOK
- func (o *DeleteApiregistrationV1CollectionAPIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteApiregistrationV1CollectionAPIServiceParams
- type DeleteApiregistrationV1CollectionAPIServiceUnauthorized
- type GetApiregistrationV1APIResources
- type GetApiregistrationV1APIResourcesHandler
- type GetApiregistrationV1APIResourcesHandlerFunc
- type GetApiregistrationV1APIResourcesOK
- func (o *GetApiregistrationV1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetApiregistrationV1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetApiregistrationV1APIResourcesOK
- func (o *GetApiregistrationV1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApiregistrationV1APIResourcesParams
- type GetApiregistrationV1APIResourcesUnauthorized
- type ListApiregistrationV1APIService
- type ListApiregistrationV1APIServiceHandler
- type ListApiregistrationV1APIServiceHandlerFunc
- type ListApiregistrationV1APIServiceOK
- func (o *ListApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList)
- func (o *ListApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList) *ListApiregistrationV1APIServiceOK
- func (o *ListApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListApiregistrationV1APIServiceParams
- type ListApiregistrationV1APIServiceUnauthorized
- type PatchApiregistrationV1APIService
- type PatchApiregistrationV1APIServiceHandler
- type PatchApiregistrationV1APIServiceHandlerFunc
- type PatchApiregistrationV1APIServiceOK
- func (o *PatchApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *PatchApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *PatchApiregistrationV1APIServiceOK
- func (o *PatchApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchApiregistrationV1APIServiceParams
- type PatchApiregistrationV1APIServiceStatus
- type PatchApiregistrationV1APIServiceStatusHandler
- type PatchApiregistrationV1APIServiceStatusHandlerFunc
- type PatchApiregistrationV1APIServiceStatusOK
- func (o *PatchApiregistrationV1APIServiceStatusOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *PatchApiregistrationV1APIServiceStatusOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *PatchApiregistrationV1APIServiceStatusOK
- func (o *PatchApiregistrationV1APIServiceStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchApiregistrationV1APIServiceStatusParams
- type PatchApiregistrationV1APIServiceStatusUnauthorized
- type PatchApiregistrationV1APIServiceUnauthorized
- type ReadApiregistrationV1APIService
- type ReadApiregistrationV1APIServiceHandler
- type ReadApiregistrationV1APIServiceHandlerFunc
- type ReadApiregistrationV1APIServiceOK
- func (o *ReadApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *ReadApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReadApiregistrationV1APIServiceOK
- func (o *ReadApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReadApiregistrationV1APIServiceParams
- type ReadApiregistrationV1APIServiceStatus
- type ReadApiregistrationV1APIServiceStatusHandler
- type ReadApiregistrationV1APIServiceStatusHandlerFunc
- type ReadApiregistrationV1APIServiceStatusOK
- func (o *ReadApiregistrationV1APIServiceStatusOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *ReadApiregistrationV1APIServiceStatusOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReadApiregistrationV1APIServiceStatusOK
- func (o *ReadApiregistrationV1APIServiceStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReadApiregistrationV1APIServiceStatusParams
- type ReadApiregistrationV1APIServiceStatusUnauthorized
- type ReadApiregistrationV1APIServiceUnauthorized
- type ReplaceApiregistrationV1APIService
- type ReplaceApiregistrationV1APIServiceCreated
- func (o *ReplaceApiregistrationV1APIServiceCreated) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *ReplaceApiregistrationV1APIServiceCreated) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReplaceApiregistrationV1APIServiceCreated
- func (o *ReplaceApiregistrationV1APIServiceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceApiregistrationV1APIServiceHandler
- type ReplaceApiregistrationV1APIServiceHandlerFunc
- type ReplaceApiregistrationV1APIServiceOK
- func (o *ReplaceApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *ReplaceApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReplaceApiregistrationV1APIServiceOK
- func (o *ReplaceApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceApiregistrationV1APIServiceParams
- type ReplaceApiregistrationV1APIServiceStatus
- type ReplaceApiregistrationV1APIServiceStatusCreated
- func (o *ReplaceApiregistrationV1APIServiceStatusCreated) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *ReplaceApiregistrationV1APIServiceStatusCreated) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReplaceApiregistrationV1APIServiceStatusCreated
- func (o *ReplaceApiregistrationV1APIServiceStatusCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceApiregistrationV1APIServiceStatusHandler
- type ReplaceApiregistrationV1APIServiceStatusHandlerFunc
- type ReplaceApiregistrationV1APIServiceStatusOK
- func (o *ReplaceApiregistrationV1APIServiceStatusOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
- func (o *ReplaceApiregistrationV1APIServiceStatusOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReplaceApiregistrationV1APIServiceStatusOK
- func (o *ReplaceApiregistrationV1APIServiceStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceApiregistrationV1APIServiceStatusParams
- type ReplaceApiregistrationV1APIServiceStatusUnauthorized
- type ReplaceApiregistrationV1APIServiceUnauthorized
- type WatchApiregistrationV1APIService
- type WatchApiregistrationV1APIServiceHandler
- type WatchApiregistrationV1APIServiceHandlerFunc
- type WatchApiregistrationV1APIServiceList
- type WatchApiregistrationV1APIServiceListHandler
- type WatchApiregistrationV1APIServiceListHandlerFunc
- type WatchApiregistrationV1APIServiceListOK
- func (o *WatchApiregistrationV1APIServiceListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchApiregistrationV1APIServiceListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchApiregistrationV1APIServiceListOK
- func (o *WatchApiregistrationV1APIServiceListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchApiregistrationV1APIServiceListParams
- type WatchApiregistrationV1APIServiceListUnauthorized
- type WatchApiregistrationV1APIServiceOK
- func (o *WatchApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchApiregistrationV1APIServiceOK
- func (o *WatchApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchApiregistrationV1APIServiceParams
- type WatchApiregistrationV1APIServiceUnauthorized
Constants ¶
const CreateApiregistrationV1APIServiceAcceptedCode int = 202
CreateApiregistrationV1APIServiceAcceptedCode is the HTTP code returned for type CreateApiregistrationV1APIServiceAccepted
const CreateApiregistrationV1APIServiceCreatedCode int = 201
CreateApiregistrationV1APIServiceCreatedCode is the HTTP code returned for type CreateApiregistrationV1APIServiceCreated
const CreateApiregistrationV1APIServiceOKCode int = 200
CreateApiregistrationV1APIServiceOKCode is the HTTP code returned for type CreateApiregistrationV1APIServiceOK
CreateApiregistrationV1APIServiceUnauthorizedCode is the HTTP code returned for type CreateApiregistrationV1APIServiceUnauthorized
const DeleteApiregistrationV1APIServiceAcceptedCode int = 202
DeleteApiregistrationV1APIServiceAcceptedCode is the HTTP code returned for type DeleteApiregistrationV1APIServiceAccepted
const DeleteApiregistrationV1APIServiceOKCode int = 200
DeleteApiregistrationV1APIServiceOKCode is the HTTP code returned for type DeleteApiregistrationV1APIServiceOK
DeleteApiregistrationV1APIServiceUnauthorizedCode is the HTTP code returned for type DeleteApiregistrationV1APIServiceUnauthorized
const DeleteApiregistrationV1CollectionAPIServiceOKCode int = 200
DeleteApiregistrationV1CollectionAPIServiceOKCode is the HTTP code returned for type DeleteApiregistrationV1CollectionAPIServiceOK
DeleteApiregistrationV1CollectionAPIServiceUnauthorizedCode is the HTTP code returned for type DeleteApiregistrationV1CollectionAPIServiceUnauthorized
const GetApiregistrationV1APIResourcesOKCode int = 200
GetApiregistrationV1APIResourcesOKCode is the HTTP code returned for type GetApiregistrationV1APIResourcesOK
GetApiregistrationV1APIResourcesUnauthorizedCode is the HTTP code returned for type GetApiregistrationV1APIResourcesUnauthorized
const ListApiregistrationV1APIServiceOKCode int = 200
ListApiregistrationV1APIServiceOKCode is the HTTP code returned for type ListApiregistrationV1APIServiceOK
ListApiregistrationV1APIServiceUnauthorizedCode is the HTTP code returned for type ListApiregistrationV1APIServiceUnauthorized
const PatchApiregistrationV1APIServiceOKCode int = 200
PatchApiregistrationV1APIServiceOKCode is the HTTP code returned for type PatchApiregistrationV1APIServiceOK
const PatchApiregistrationV1APIServiceStatusOKCode int = 200
PatchApiregistrationV1APIServiceStatusOKCode is the HTTP code returned for type PatchApiregistrationV1APIServiceStatusOK
PatchApiregistrationV1APIServiceStatusUnauthorizedCode is the HTTP code returned for type PatchApiregistrationV1APIServiceStatusUnauthorized
PatchApiregistrationV1APIServiceUnauthorizedCode is the HTTP code returned for type PatchApiregistrationV1APIServiceUnauthorized
const ReadApiregistrationV1APIServiceOKCode int = 200
ReadApiregistrationV1APIServiceOKCode is the HTTP code returned for type ReadApiregistrationV1APIServiceOK
const ReadApiregistrationV1APIServiceStatusOKCode int = 200
ReadApiregistrationV1APIServiceStatusOKCode is the HTTP code returned for type ReadApiregistrationV1APIServiceStatusOK
ReadApiregistrationV1APIServiceStatusUnauthorizedCode is the HTTP code returned for type ReadApiregistrationV1APIServiceStatusUnauthorized
ReadApiregistrationV1APIServiceUnauthorizedCode is the HTTP code returned for type ReadApiregistrationV1APIServiceUnauthorized
const ReplaceApiregistrationV1APIServiceCreatedCode int = 201
ReplaceApiregistrationV1APIServiceCreatedCode is the HTTP code returned for type ReplaceApiregistrationV1APIServiceCreated
const ReplaceApiregistrationV1APIServiceOKCode int = 200
ReplaceApiregistrationV1APIServiceOKCode is the HTTP code returned for type ReplaceApiregistrationV1APIServiceOK
const ReplaceApiregistrationV1APIServiceStatusCreatedCode int = 201
ReplaceApiregistrationV1APIServiceStatusCreatedCode is the HTTP code returned for type ReplaceApiregistrationV1APIServiceStatusCreated
const ReplaceApiregistrationV1APIServiceStatusOKCode int = 200
ReplaceApiregistrationV1APIServiceStatusOKCode is the HTTP code returned for type ReplaceApiregistrationV1APIServiceStatusOK
ReplaceApiregistrationV1APIServiceStatusUnauthorizedCode is the HTTP code returned for type ReplaceApiregistrationV1APIServiceStatusUnauthorized
ReplaceApiregistrationV1APIServiceUnauthorizedCode is the HTTP code returned for type ReplaceApiregistrationV1APIServiceUnauthorized
const WatchApiregistrationV1APIServiceListOKCode int = 200
WatchApiregistrationV1APIServiceListOKCode is the HTTP code returned for type WatchApiregistrationV1APIServiceListOK
WatchApiregistrationV1APIServiceListUnauthorizedCode is the HTTP code returned for type WatchApiregistrationV1APIServiceListUnauthorized
const WatchApiregistrationV1APIServiceOKCode int = 200
WatchApiregistrationV1APIServiceOKCode is the HTTP code returned for type WatchApiregistrationV1APIServiceOK
WatchApiregistrationV1APIServiceUnauthorizedCode is the HTTP code returned for type WatchApiregistrationV1APIServiceUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateApiregistrationV1APIService ¶
type CreateApiregistrationV1APIService struct { Context *middleware.Context Handler CreateApiregistrationV1APIServiceHandler }
CreateApiregistrationV1APIService swagger:route POST /apis/apiregistration.k8s.io/v1/apiservices apiregistration_v1 createApiregistrationV1ApiService
create an APIService
func NewCreateApiregistrationV1APIService ¶
func NewCreateApiregistrationV1APIService(ctx *middleware.Context, handler CreateApiregistrationV1APIServiceHandler) *CreateApiregistrationV1APIService
NewCreateApiregistrationV1APIService creates a new http.Handler for the create apiregistration v1 API service operation
func (*CreateApiregistrationV1APIService) ServeHTTP ¶
func (o *CreateApiregistrationV1APIService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateApiregistrationV1APIServiceAccepted ¶
type CreateApiregistrationV1APIServiceAccepted struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
CreateApiregistrationV1APIServiceAccepted Accepted
swagger:response createApiregistrationV1ApiServiceAccepted
func NewCreateApiregistrationV1APIServiceAccepted ¶
func NewCreateApiregistrationV1APIServiceAccepted() *CreateApiregistrationV1APIServiceAccepted
NewCreateApiregistrationV1APIServiceAccepted creates CreateApiregistrationV1APIServiceAccepted with default headers values
func (*CreateApiregistrationV1APIServiceAccepted) SetPayload ¶
func (o *CreateApiregistrationV1APIServiceAccepted) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the create apiregistration v1 Api service accepted response
func (*CreateApiregistrationV1APIServiceAccepted) WithPayload ¶
func (o *CreateApiregistrationV1APIServiceAccepted) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *CreateApiregistrationV1APIServiceAccepted
WithPayload adds the payload to the create apiregistration v1 Api service accepted response
func (*CreateApiregistrationV1APIServiceAccepted) WriteResponse ¶
func (o *CreateApiregistrationV1APIServiceAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApiregistrationV1APIServiceCreated ¶
type CreateApiregistrationV1APIServiceCreated struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
CreateApiregistrationV1APIServiceCreated Created
swagger:response createApiregistrationV1ApiServiceCreated
func NewCreateApiregistrationV1APIServiceCreated ¶
func NewCreateApiregistrationV1APIServiceCreated() *CreateApiregistrationV1APIServiceCreated
NewCreateApiregistrationV1APIServiceCreated creates CreateApiregistrationV1APIServiceCreated with default headers values
func (*CreateApiregistrationV1APIServiceCreated) SetPayload ¶
func (o *CreateApiregistrationV1APIServiceCreated) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the create apiregistration v1 Api service created response
func (*CreateApiregistrationV1APIServiceCreated) WithPayload ¶
func (o *CreateApiregistrationV1APIServiceCreated) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *CreateApiregistrationV1APIServiceCreated
WithPayload adds the payload to the create apiregistration v1 Api service created response
func (*CreateApiregistrationV1APIServiceCreated) WriteResponse ¶
func (o *CreateApiregistrationV1APIServiceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApiregistrationV1APIServiceHandler ¶
type CreateApiregistrationV1APIServiceHandler interface {
Handle(CreateApiregistrationV1APIServiceParams) middleware.Responder
}
CreateApiregistrationV1APIServiceHandler interface for that can handle valid create apiregistration v1 API service params
type CreateApiregistrationV1APIServiceHandlerFunc ¶
type CreateApiregistrationV1APIServiceHandlerFunc func(CreateApiregistrationV1APIServiceParams) middleware.Responder
CreateApiregistrationV1APIServiceHandlerFunc turns a function with the right signature into a create apiregistration v1 API service handler
func (CreateApiregistrationV1APIServiceHandlerFunc) Handle ¶
func (fn CreateApiregistrationV1APIServiceHandlerFunc) Handle(params CreateApiregistrationV1APIServiceParams) middleware.Responder
Handle executing the request and returning a response
type CreateApiregistrationV1APIServiceOK ¶
type CreateApiregistrationV1APIServiceOK struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
CreateApiregistrationV1APIServiceOK OK
swagger:response createApiregistrationV1ApiServiceOK
func NewCreateApiregistrationV1APIServiceOK ¶
func NewCreateApiregistrationV1APIServiceOK() *CreateApiregistrationV1APIServiceOK
NewCreateApiregistrationV1APIServiceOK creates CreateApiregistrationV1APIServiceOK with default headers values
func (*CreateApiregistrationV1APIServiceOK) SetPayload ¶
func (o *CreateApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the create apiregistration v1 Api service o k response
func (*CreateApiregistrationV1APIServiceOK) WithPayload ¶
func (o *CreateApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *CreateApiregistrationV1APIServiceOK
WithPayload adds the payload to the create apiregistration v1 Api service o k response
func (*CreateApiregistrationV1APIServiceOK) WriteResponse ¶
func (o *CreateApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApiregistrationV1APIServiceParams ¶
type CreateApiregistrationV1APIServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService /*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 }
CreateApiregistrationV1APIServiceParams contains all the bound params for the create apiregistration v1 API service operation typically these are obtained from a http.Request
swagger:parameters createApiregistrationV1APIService
func NewCreateApiregistrationV1APIServiceParams ¶
func NewCreateApiregistrationV1APIServiceParams() CreateApiregistrationV1APIServiceParams
NewCreateApiregistrationV1APIServiceParams creates a new CreateApiregistrationV1APIServiceParams object no default values defined in spec.
func (*CreateApiregistrationV1APIServiceParams) BindRequest ¶
func (o *CreateApiregistrationV1APIServiceParams) 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 NewCreateApiregistrationV1APIServiceParams() beforehand.
type CreateApiregistrationV1APIServiceUnauthorized ¶
type CreateApiregistrationV1APIServiceUnauthorized struct { }
CreateApiregistrationV1APIServiceUnauthorized Unauthorized
swagger:response createApiregistrationV1ApiServiceUnauthorized
func NewCreateApiregistrationV1APIServiceUnauthorized ¶
func NewCreateApiregistrationV1APIServiceUnauthorized() *CreateApiregistrationV1APIServiceUnauthorized
NewCreateApiregistrationV1APIServiceUnauthorized creates CreateApiregistrationV1APIServiceUnauthorized with default headers values
func (*CreateApiregistrationV1APIServiceUnauthorized) WriteResponse ¶
func (o *CreateApiregistrationV1APIServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApiregistrationV1APIService ¶
type DeleteApiregistrationV1APIService struct { Context *middleware.Context Handler DeleteApiregistrationV1APIServiceHandler }
DeleteApiregistrationV1APIService swagger:route DELETE /apis/apiregistration.k8s.io/v1/apiservices/{name} apiregistration_v1 deleteApiregistrationV1ApiService
delete an APIService
func NewDeleteApiregistrationV1APIService ¶
func NewDeleteApiregistrationV1APIService(ctx *middleware.Context, handler DeleteApiregistrationV1APIServiceHandler) *DeleteApiregistrationV1APIService
NewDeleteApiregistrationV1APIService creates a new http.Handler for the delete apiregistration v1 API service operation
func (*DeleteApiregistrationV1APIService) ServeHTTP ¶
func (o *DeleteApiregistrationV1APIService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteApiregistrationV1APIServiceAccepted ¶
type DeleteApiregistrationV1APIServiceAccepted struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteApiregistrationV1APIServiceAccepted Accepted
swagger:response deleteApiregistrationV1ApiServiceAccepted
func NewDeleteApiregistrationV1APIServiceAccepted ¶
func NewDeleteApiregistrationV1APIServiceAccepted() *DeleteApiregistrationV1APIServiceAccepted
NewDeleteApiregistrationV1APIServiceAccepted creates DeleteApiregistrationV1APIServiceAccepted with default headers values
func (*DeleteApiregistrationV1APIServiceAccepted) SetPayload ¶
func (o *DeleteApiregistrationV1APIServiceAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete apiregistration v1 Api service accepted response
func (*DeleteApiregistrationV1APIServiceAccepted) WithPayload ¶
func (o *DeleteApiregistrationV1APIServiceAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteApiregistrationV1APIServiceAccepted
WithPayload adds the payload to the delete apiregistration v1 Api service accepted response
func (*DeleteApiregistrationV1APIServiceAccepted) WriteResponse ¶
func (o *DeleteApiregistrationV1APIServiceAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApiregistrationV1APIServiceHandler ¶
type DeleteApiregistrationV1APIServiceHandler interface {
Handle(DeleteApiregistrationV1APIServiceParams) middleware.Responder
}
DeleteApiregistrationV1APIServiceHandler interface for that can handle valid delete apiregistration v1 API service params
type DeleteApiregistrationV1APIServiceHandlerFunc ¶
type DeleteApiregistrationV1APIServiceHandlerFunc func(DeleteApiregistrationV1APIServiceParams) middleware.Responder
DeleteApiregistrationV1APIServiceHandlerFunc turns a function with the right signature into a delete apiregistration v1 API service handler
func (DeleteApiregistrationV1APIServiceHandlerFunc) Handle ¶
func (fn DeleteApiregistrationV1APIServiceHandlerFunc) Handle(params DeleteApiregistrationV1APIServiceParams) middleware.Responder
Handle executing the request and returning a response
type DeleteApiregistrationV1APIServiceOK ¶
type DeleteApiregistrationV1APIServiceOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteApiregistrationV1APIServiceOK OK
swagger:response deleteApiregistrationV1ApiServiceOK
func NewDeleteApiregistrationV1APIServiceOK ¶
func NewDeleteApiregistrationV1APIServiceOK() *DeleteApiregistrationV1APIServiceOK
NewDeleteApiregistrationV1APIServiceOK creates DeleteApiregistrationV1APIServiceOK with default headers values
func (*DeleteApiregistrationV1APIServiceOK) SetPayload ¶
func (o *DeleteApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete apiregistration v1 Api service o k response
func (*DeleteApiregistrationV1APIServiceOK) WithPayload ¶
func (o *DeleteApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteApiregistrationV1APIServiceOK
WithPayload adds the payload to the delete apiregistration v1 Api service o k response
func (*DeleteApiregistrationV1APIServiceOK) WriteResponse ¶
func (o *DeleteApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApiregistrationV1APIServiceParams ¶
type DeleteApiregistrationV1APIServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions /*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 /*The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. Unique: true In: query */ GracePeriodSeconds *int64 /*name of the APIService Required: true Unique: true In: path */ Name string /*Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. Unique: true In: query */ OrphanDependents *bool /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. Unique: true In: query */ PropagationPolicy *string }
DeleteApiregistrationV1APIServiceParams contains all the bound params for the delete apiregistration v1 API service operation typically these are obtained from a http.Request
swagger:parameters deleteApiregistrationV1APIService
func NewDeleteApiregistrationV1APIServiceParams ¶
func NewDeleteApiregistrationV1APIServiceParams() DeleteApiregistrationV1APIServiceParams
NewDeleteApiregistrationV1APIServiceParams creates a new DeleteApiregistrationV1APIServiceParams object no default values defined in spec.
func (*DeleteApiregistrationV1APIServiceParams) BindRequest ¶
func (o *DeleteApiregistrationV1APIServiceParams) 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 NewDeleteApiregistrationV1APIServiceParams() beforehand.
type DeleteApiregistrationV1APIServiceUnauthorized ¶
type DeleteApiregistrationV1APIServiceUnauthorized struct { }
DeleteApiregistrationV1APIServiceUnauthorized Unauthorized
swagger:response deleteApiregistrationV1ApiServiceUnauthorized
func NewDeleteApiregistrationV1APIServiceUnauthorized ¶
func NewDeleteApiregistrationV1APIServiceUnauthorized() *DeleteApiregistrationV1APIServiceUnauthorized
NewDeleteApiregistrationV1APIServiceUnauthorized creates DeleteApiregistrationV1APIServiceUnauthorized with default headers values
func (*DeleteApiregistrationV1APIServiceUnauthorized) WriteResponse ¶
func (o *DeleteApiregistrationV1APIServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApiregistrationV1CollectionAPIService ¶
type DeleteApiregistrationV1CollectionAPIService struct { Context *middleware.Context Handler DeleteApiregistrationV1CollectionAPIServiceHandler }
DeleteApiregistrationV1CollectionAPIService swagger:route DELETE /apis/apiregistration.k8s.io/v1/apiservices apiregistration_v1 deleteApiregistrationV1CollectionApiService
delete collection of APIService
func NewDeleteApiregistrationV1CollectionAPIService ¶
func NewDeleteApiregistrationV1CollectionAPIService(ctx *middleware.Context, handler DeleteApiregistrationV1CollectionAPIServiceHandler) *DeleteApiregistrationV1CollectionAPIService
NewDeleteApiregistrationV1CollectionAPIService creates a new http.Handler for the delete apiregistration v1 collection API service operation
func (*DeleteApiregistrationV1CollectionAPIService) ServeHTTP ¶
func (o *DeleteApiregistrationV1CollectionAPIService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteApiregistrationV1CollectionAPIServiceHandler ¶
type DeleteApiregistrationV1CollectionAPIServiceHandler interface {
Handle(DeleteApiregistrationV1CollectionAPIServiceParams) middleware.Responder
}
DeleteApiregistrationV1CollectionAPIServiceHandler interface for that can handle valid delete apiregistration v1 collection API service params
type DeleteApiregistrationV1CollectionAPIServiceHandlerFunc ¶
type DeleteApiregistrationV1CollectionAPIServiceHandlerFunc func(DeleteApiregistrationV1CollectionAPIServiceParams) middleware.Responder
DeleteApiregistrationV1CollectionAPIServiceHandlerFunc turns a function with the right signature into a delete apiregistration v1 collection API service handler
func (DeleteApiregistrationV1CollectionAPIServiceHandlerFunc) Handle ¶
func (fn DeleteApiregistrationV1CollectionAPIServiceHandlerFunc) Handle(params DeleteApiregistrationV1CollectionAPIServiceParams) middleware.Responder
Handle executing the request and returning a response
type DeleteApiregistrationV1CollectionAPIServiceOK ¶
type DeleteApiregistrationV1CollectionAPIServiceOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteApiregistrationV1CollectionAPIServiceOK OK
swagger:response deleteApiregistrationV1CollectionApiServiceOK
func NewDeleteApiregistrationV1CollectionAPIServiceOK ¶
func NewDeleteApiregistrationV1CollectionAPIServiceOK() *DeleteApiregistrationV1CollectionAPIServiceOK
NewDeleteApiregistrationV1CollectionAPIServiceOK creates DeleteApiregistrationV1CollectionAPIServiceOK with default headers values
func (*DeleteApiregistrationV1CollectionAPIServiceOK) SetPayload ¶
func (o *DeleteApiregistrationV1CollectionAPIServiceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete apiregistration v1 collection Api service o k response
func (*DeleteApiregistrationV1CollectionAPIServiceOK) WithPayload ¶
func (o *DeleteApiregistrationV1CollectionAPIServiceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteApiregistrationV1CollectionAPIServiceOK
WithPayload adds the payload to the delete apiregistration v1 collection Api service o k response
func (*DeleteApiregistrationV1CollectionAPIServiceOK) WriteResponse ¶
func (o *DeleteApiregistrationV1CollectionAPIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApiregistrationV1CollectionAPIServiceParams ¶
type DeleteApiregistrationV1CollectionAPIServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions /*The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. Unique: true In: query */ Continue *string /*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 /*A selector to restrict the list of returned objects by their fields. Defaults to everything. Unique: true In: query */ FieldSelector *string /*The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. Unique: true In: query */ GracePeriodSeconds *int64 /*A selector to restrict the list of returned objects by their labels. Defaults to everything. Unique: true In: query */ LabelSelector *string /*limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. Unique: true In: query */ Limit *int64 /*Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. Unique: true In: query */ OrphanDependents *bool /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. Unique: true In: query */ PropagationPolicy *string /*resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersion *string /*resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersionMatch *string /*Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Unique: true In: query */ TimeoutSeconds *int64 }
DeleteApiregistrationV1CollectionAPIServiceParams contains all the bound params for the delete apiregistration v1 collection API service operation typically these are obtained from a http.Request
swagger:parameters deleteApiregistrationV1CollectionAPIService
func NewDeleteApiregistrationV1CollectionAPIServiceParams ¶
func NewDeleteApiregistrationV1CollectionAPIServiceParams() DeleteApiregistrationV1CollectionAPIServiceParams
NewDeleteApiregistrationV1CollectionAPIServiceParams creates a new DeleteApiregistrationV1CollectionAPIServiceParams object no default values defined in spec.
func (*DeleteApiregistrationV1CollectionAPIServiceParams) BindRequest ¶
func (o *DeleteApiregistrationV1CollectionAPIServiceParams) 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 NewDeleteApiregistrationV1CollectionAPIServiceParams() beforehand.
type DeleteApiregistrationV1CollectionAPIServiceUnauthorized ¶
type DeleteApiregistrationV1CollectionAPIServiceUnauthorized struct { }
DeleteApiregistrationV1CollectionAPIServiceUnauthorized Unauthorized
swagger:response deleteApiregistrationV1CollectionApiServiceUnauthorized
func NewDeleteApiregistrationV1CollectionAPIServiceUnauthorized ¶
func NewDeleteApiregistrationV1CollectionAPIServiceUnauthorized() *DeleteApiregistrationV1CollectionAPIServiceUnauthorized
NewDeleteApiregistrationV1CollectionAPIServiceUnauthorized creates DeleteApiregistrationV1CollectionAPIServiceUnauthorized with default headers values
func (*DeleteApiregistrationV1CollectionAPIServiceUnauthorized) WriteResponse ¶
func (o *DeleteApiregistrationV1CollectionAPIServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApiregistrationV1APIResources ¶
type GetApiregistrationV1APIResources struct { Context *middleware.Context Handler GetApiregistrationV1APIResourcesHandler }
GetApiregistrationV1APIResources swagger:route GET /apis/apiregistration.k8s.io/v1/ apiregistration_v1 getApiregistrationV1ApiResources
get available resources
func NewGetApiregistrationV1APIResources ¶
func NewGetApiregistrationV1APIResources(ctx *middleware.Context, handler GetApiregistrationV1APIResourcesHandler) *GetApiregistrationV1APIResources
NewGetApiregistrationV1APIResources creates a new http.Handler for the get apiregistration v1 API resources operation
func (*GetApiregistrationV1APIResources) ServeHTTP ¶
func (o *GetApiregistrationV1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetApiregistrationV1APIResourcesHandler ¶
type GetApiregistrationV1APIResourcesHandler interface {
Handle(GetApiregistrationV1APIResourcesParams) middleware.Responder
}
GetApiregistrationV1APIResourcesHandler interface for that can handle valid get apiregistration v1 API resources params
type GetApiregistrationV1APIResourcesHandlerFunc ¶
type GetApiregistrationV1APIResourcesHandlerFunc func(GetApiregistrationV1APIResourcesParams) middleware.Responder
GetApiregistrationV1APIResourcesHandlerFunc turns a function with the right signature into a get apiregistration v1 API resources handler
func (GetApiregistrationV1APIResourcesHandlerFunc) Handle ¶
func (fn GetApiregistrationV1APIResourcesHandlerFunc) Handle(params GetApiregistrationV1APIResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetApiregistrationV1APIResourcesOK ¶
type GetApiregistrationV1APIResourcesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"` }
GetApiregistrationV1APIResourcesOK OK
swagger:response getApiregistrationV1ApiResourcesOK
func NewGetApiregistrationV1APIResourcesOK ¶
func NewGetApiregistrationV1APIResourcesOK() *GetApiregistrationV1APIResourcesOK
NewGetApiregistrationV1APIResourcesOK creates GetApiregistrationV1APIResourcesOK with default headers values
func (*GetApiregistrationV1APIResourcesOK) SetPayload ¶
func (o *GetApiregistrationV1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get apiregistration v1 Api resources o k response
func (*GetApiregistrationV1APIResourcesOK) WithPayload ¶
func (o *GetApiregistrationV1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetApiregistrationV1APIResourcesOK
WithPayload adds the payload to the get apiregistration v1 Api resources o k response
func (*GetApiregistrationV1APIResourcesOK) WriteResponse ¶
func (o *GetApiregistrationV1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApiregistrationV1APIResourcesParams ¶
type GetApiregistrationV1APIResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetApiregistrationV1APIResourcesParams contains all the bound params for the get apiregistration v1 API resources operation typically these are obtained from a http.Request
swagger:parameters getApiregistrationV1APIResources
func NewGetApiregistrationV1APIResourcesParams ¶
func NewGetApiregistrationV1APIResourcesParams() GetApiregistrationV1APIResourcesParams
NewGetApiregistrationV1APIResourcesParams creates a new GetApiregistrationV1APIResourcesParams object no default values defined in spec.
func (*GetApiregistrationV1APIResourcesParams) BindRequest ¶
func (o *GetApiregistrationV1APIResourcesParams) 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 NewGetApiregistrationV1APIResourcesParams() beforehand.
type GetApiregistrationV1APIResourcesUnauthorized ¶
type GetApiregistrationV1APIResourcesUnauthorized struct { }
GetApiregistrationV1APIResourcesUnauthorized Unauthorized
swagger:response getApiregistrationV1ApiResourcesUnauthorized
func NewGetApiregistrationV1APIResourcesUnauthorized ¶
func NewGetApiregistrationV1APIResourcesUnauthorized() *GetApiregistrationV1APIResourcesUnauthorized
NewGetApiregistrationV1APIResourcesUnauthorized creates GetApiregistrationV1APIResourcesUnauthorized with default headers values
func (*GetApiregistrationV1APIResourcesUnauthorized) WriteResponse ¶
func (o *GetApiregistrationV1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListApiregistrationV1APIService ¶
type ListApiregistrationV1APIService struct { Context *middleware.Context Handler ListApiregistrationV1APIServiceHandler }
ListApiregistrationV1APIService swagger:route GET /apis/apiregistration.k8s.io/v1/apiservices apiregistration_v1 listApiregistrationV1ApiService
list or watch objects of kind APIService
func NewListApiregistrationV1APIService ¶
func NewListApiregistrationV1APIService(ctx *middleware.Context, handler ListApiregistrationV1APIServiceHandler) *ListApiregistrationV1APIService
NewListApiregistrationV1APIService creates a new http.Handler for the list apiregistration v1 API service operation
func (*ListApiregistrationV1APIService) ServeHTTP ¶
func (o *ListApiregistrationV1APIService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListApiregistrationV1APIServiceHandler ¶
type ListApiregistrationV1APIServiceHandler interface {
Handle(ListApiregistrationV1APIServiceParams) middleware.Responder
}
ListApiregistrationV1APIServiceHandler interface for that can handle valid list apiregistration v1 API service params
type ListApiregistrationV1APIServiceHandlerFunc ¶
type ListApiregistrationV1APIServiceHandlerFunc func(ListApiregistrationV1APIServiceParams) middleware.Responder
ListApiregistrationV1APIServiceHandlerFunc turns a function with the right signature into a list apiregistration v1 API service handler
func (ListApiregistrationV1APIServiceHandlerFunc) Handle ¶
func (fn ListApiregistrationV1APIServiceHandlerFunc) Handle(params ListApiregistrationV1APIServiceParams) middleware.Responder
Handle executing the request and returning a response
type ListApiregistrationV1APIServiceOK ¶
type ListApiregistrationV1APIServiceOK struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList `json:"body,omitempty"` }
ListApiregistrationV1APIServiceOK OK
swagger:response listApiregistrationV1ApiServiceOK
func NewListApiregistrationV1APIServiceOK ¶
func NewListApiregistrationV1APIServiceOK() *ListApiregistrationV1APIServiceOK
NewListApiregistrationV1APIServiceOK creates ListApiregistrationV1APIServiceOK with default headers values
func (*ListApiregistrationV1APIServiceOK) SetPayload ¶
func (o *ListApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList)
SetPayload sets the payload to the list apiregistration v1 Api service o k response
func (*ListApiregistrationV1APIServiceOK) WithPayload ¶
func (o *ListApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList) *ListApiregistrationV1APIServiceOK
WithPayload adds the payload to the list apiregistration v1 Api service o k response
func (*ListApiregistrationV1APIServiceOK) WriteResponse ¶
func (o *ListApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListApiregistrationV1APIServiceParams ¶
type ListApiregistrationV1APIServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. Unique: true In: query */ AllowWatchBookmarks *bool /*The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. Unique: true In: query */ Continue *string /*A selector to restrict the list of returned objects by their fields. Defaults to everything. Unique: true In: query */ FieldSelector *string /*A selector to restrict the list of returned objects by their labels. Defaults to everything. Unique: true In: query */ LabelSelector *string /*limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. Unique: true In: query */ Limit *int64 /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersion *string /*resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersionMatch *string /*Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Unique: true In: query */ TimeoutSeconds *int64 /*Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. Unique: true In: query */ Watch *bool }
ListApiregistrationV1APIServiceParams contains all the bound params for the list apiregistration v1 API service operation typically these are obtained from a http.Request
swagger:parameters listApiregistrationV1APIService
func NewListApiregistrationV1APIServiceParams ¶
func NewListApiregistrationV1APIServiceParams() ListApiregistrationV1APIServiceParams
NewListApiregistrationV1APIServiceParams creates a new ListApiregistrationV1APIServiceParams object no default values defined in spec.
func (*ListApiregistrationV1APIServiceParams) BindRequest ¶
func (o *ListApiregistrationV1APIServiceParams) 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 NewListApiregistrationV1APIServiceParams() beforehand.
type ListApiregistrationV1APIServiceUnauthorized ¶
type ListApiregistrationV1APIServiceUnauthorized struct { }
ListApiregistrationV1APIServiceUnauthorized Unauthorized
swagger:response listApiregistrationV1ApiServiceUnauthorized
func NewListApiregistrationV1APIServiceUnauthorized ¶
func NewListApiregistrationV1APIServiceUnauthorized() *ListApiregistrationV1APIServiceUnauthorized
NewListApiregistrationV1APIServiceUnauthorized creates ListApiregistrationV1APIServiceUnauthorized with default headers values
func (*ListApiregistrationV1APIServiceUnauthorized) WriteResponse ¶
func (o *ListApiregistrationV1APIServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchApiregistrationV1APIService ¶
type PatchApiregistrationV1APIService struct { Context *middleware.Context Handler PatchApiregistrationV1APIServiceHandler }
PatchApiregistrationV1APIService swagger:route PATCH /apis/apiregistration.k8s.io/v1/apiservices/{name} apiregistration_v1 patchApiregistrationV1ApiService
partially update the specified APIService
func NewPatchApiregistrationV1APIService ¶
func NewPatchApiregistrationV1APIService(ctx *middleware.Context, handler PatchApiregistrationV1APIServiceHandler) *PatchApiregistrationV1APIService
NewPatchApiregistrationV1APIService creates a new http.Handler for the patch apiregistration v1 API service operation
func (*PatchApiregistrationV1APIService) ServeHTTP ¶
func (o *PatchApiregistrationV1APIService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchApiregistrationV1APIServiceHandler ¶
type PatchApiregistrationV1APIServiceHandler interface {
Handle(PatchApiregistrationV1APIServiceParams) middleware.Responder
}
PatchApiregistrationV1APIServiceHandler interface for that can handle valid patch apiregistration v1 API service params
type PatchApiregistrationV1APIServiceHandlerFunc ¶
type PatchApiregistrationV1APIServiceHandlerFunc func(PatchApiregistrationV1APIServiceParams) middleware.Responder
PatchApiregistrationV1APIServiceHandlerFunc turns a function with the right signature into a patch apiregistration v1 API service handler
func (PatchApiregistrationV1APIServiceHandlerFunc) Handle ¶
func (fn PatchApiregistrationV1APIServiceHandlerFunc) Handle(params PatchApiregistrationV1APIServiceParams) middleware.Responder
Handle executing the request and returning a response
type PatchApiregistrationV1APIServiceOK ¶
type PatchApiregistrationV1APIServiceOK struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
PatchApiregistrationV1APIServiceOK OK
swagger:response patchApiregistrationV1ApiServiceOK
func NewPatchApiregistrationV1APIServiceOK ¶
func NewPatchApiregistrationV1APIServiceOK() *PatchApiregistrationV1APIServiceOK
NewPatchApiregistrationV1APIServiceOK creates PatchApiregistrationV1APIServiceOK with default headers values
func (*PatchApiregistrationV1APIServiceOK) SetPayload ¶
func (o *PatchApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the patch apiregistration v1 Api service o k response
func (*PatchApiregistrationV1APIServiceOK) WithPayload ¶
func (o *PatchApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *PatchApiregistrationV1APIServiceOK
WithPayload adds the payload to the patch apiregistration v1 Api service o k response
func (*PatchApiregistrationV1APIServiceOK) WriteResponse ¶
func (o *PatchApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchApiregistrationV1APIServiceParams ¶
type PatchApiregistrationV1APIServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body models.IoK8sApimachineryPkgApisMetaV1Patch /*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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). Unique: true In: query */ FieldManager *string /*Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. Unique: true In: query */ Force *bool /*name of the APIService Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
PatchApiregistrationV1APIServiceParams contains all the bound params for the patch apiregistration v1 API service operation typically these are obtained from a http.Request
swagger:parameters patchApiregistrationV1APIService
func NewPatchApiregistrationV1APIServiceParams ¶
func NewPatchApiregistrationV1APIServiceParams() PatchApiregistrationV1APIServiceParams
NewPatchApiregistrationV1APIServiceParams creates a new PatchApiregistrationV1APIServiceParams object no default values defined in spec.
func (*PatchApiregistrationV1APIServiceParams) BindRequest ¶
func (o *PatchApiregistrationV1APIServiceParams) 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 NewPatchApiregistrationV1APIServiceParams() beforehand.
type PatchApiregistrationV1APIServiceStatus ¶
type PatchApiregistrationV1APIServiceStatus struct { Context *middleware.Context Handler PatchApiregistrationV1APIServiceStatusHandler }
PatchApiregistrationV1APIServiceStatus swagger:route PATCH /apis/apiregistration.k8s.io/v1/apiservices/{name}/status apiregistration_v1 patchApiregistrationV1ApiServiceStatus
partially update status of the specified APIService
func NewPatchApiregistrationV1APIServiceStatus ¶
func NewPatchApiregistrationV1APIServiceStatus(ctx *middleware.Context, handler PatchApiregistrationV1APIServiceStatusHandler) *PatchApiregistrationV1APIServiceStatus
NewPatchApiregistrationV1APIServiceStatus creates a new http.Handler for the patch apiregistration v1 API service status operation
func (*PatchApiregistrationV1APIServiceStatus) ServeHTTP ¶
func (o *PatchApiregistrationV1APIServiceStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchApiregistrationV1APIServiceStatusHandler ¶
type PatchApiregistrationV1APIServiceStatusHandler interface {
Handle(PatchApiregistrationV1APIServiceStatusParams) middleware.Responder
}
PatchApiregistrationV1APIServiceStatusHandler interface for that can handle valid patch apiregistration v1 API service status params
type PatchApiregistrationV1APIServiceStatusHandlerFunc ¶
type PatchApiregistrationV1APIServiceStatusHandlerFunc func(PatchApiregistrationV1APIServiceStatusParams) middleware.Responder
PatchApiregistrationV1APIServiceStatusHandlerFunc turns a function with the right signature into a patch apiregistration v1 API service status handler
func (PatchApiregistrationV1APIServiceStatusHandlerFunc) Handle ¶
func (fn PatchApiregistrationV1APIServiceStatusHandlerFunc) Handle(params PatchApiregistrationV1APIServiceStatusParams) middleware.Responder
Handle executing the request and returning a response
type PatchApiregistrationV1APIServiceStatusOK ¶
type PatchApiregistrationV1APIServiceStatusOK struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
PatchApiregistrationV1APIServiceStatusOK OK
swagger:response patchApiregistrationV1ApiServiceStatusOK
func NewPatchApiregistrationV1APIServiceStatusOK ¶
func NewPatchApiregistrationV1APIServiceStatusOK() *PatchApiregistrationV1APIServiceStatusOK
NewPatchApiregistrationV1APIServiceStatusOK creates PatchApiregistrationV1APIServiceStatusOK with default headers values
func (*PatchApiregistrationV1APIServiceStatusOK) SetPayload ¶
func (o *PatchApiregistrationV1APIServiceStatusOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the patch apiregistration v1 Api service status o k response
func (*PatchApiregistrationV1APIServiceStatusOK) WithPayload ¶
func (o *PatchApiregistrationV1APIServiceStatusOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *PatchApiregistrationV1APIServiceStatusOK
WithPayload adds the payload to the patch apiregistration v1 Api service status o k response
func (*PatchApiregistrationV1APIServiceStatusOK) WriteResponse ¶
func (o *PatchApiregistrationV1APIServiceStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchApiregistrationV1APIServiceStatusParams ¶
type PatchApiregistrationV1APIServiceStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body models.IoK8sApimachineryPkgApisMetaV1Patch /*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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). Unique: true In: query */ FieldManager *string /*Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. Unique: true In: query */ Force *bool /*name of the APIService Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
PatchApiregistrationV1APIServiceStatusParams contains all the bound params for the patch apiregistration v1 API service status operation typically these are obtained from a http.Request
swagger:parameters patchApiregistrationV1APIServiceStatus
func NewPatchApiregistrationV1APIServiceStatusParams ¶
func NewPatchApiregistrationV1APIServiceStatusParams() PatchApiregistrationV1APIServiceStatusParams
NewPatchApiregistrationV1APIServiceStatusParams creates a new PatchApiregistrationV1APIServiceStatusParams object no default values defined in spec.
func (*PatchApiregistrationV1APIServiceStatusParams) BindRequest ¶
func (o *PatchApiregistrationV1APIServiceStatusParams) 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 NewPatchApiregistrationV1APIServiceStatusParams() beforehand.
type PatchApiregistrationV1APIServiceStatusUnauthorized ¶
type PatchApiregistrationV1APIServiceStatusUnauthorized struct { }
PatchApiregistrationV1APIServiceStatusUnauthorized Unauthorized
swagger:response patchApiregistrationV1ApiServiceStatusUnauthorized
func NewPatchApiregistrationV1APIServiceStatusUnauthorized ¶
func NewPatchApiregistrationV1APIServiceStatusUnauthorized() *PatchApiregistrationV1APIServiceStatusUnauthorized
NewPatchApiregistrationV1APIServiceStatusUnauthorized creates PatchApiregistrationV1APIServiceStatusUnauthorized with default headers values
func (*PatchApiregistrationV1APIServiceStatusUnauthorized) WriteResponse ¶
func (o *PatchApiregistrationV1APIServiceStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchApiregistrationV1APIServiceUnauthorized ¶
type PatchApiregistrationV1APIServiceUnauthorized struct { }
PatchApiregistrationV1APIServiceUnauthorized Unauthorized
swagger:response patchApiregistrationV1ApiServiceUnauthorized
func NewPatchApiregistrationV1APIServiceUnauthorized ¶
func NewPatchApiregistrationV1APIServiceUnauthorized() *PatchApiregistrationV1APIServiceUnauthorized
NewPatchApiregistrationV1APIServiceUnauthorized creates PatchApiregistrationV1APIServiceUnauthorized with default headers values
func (*PatchApiregistrationV1APIServiceUnauthorized) WriteResponse ¶
func (o *PatchApiregistrationV1APIServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadApiregistrationV1APIService ¶
type ReadApiregistrationV1APIService struct { Context *middleware.Context Handler ReadApiregistrationV1APIServiceHandler }
ReadApiregistrationV1APIService swagger:route GET /apis/apiregistration.k8s.io/v1/apiservices/{name} apiregistration_v1 readApiregistrationV1ApiService
read the specified APIService
func NewReadApiregistrationV1APIService ¶
func NewReadApiregistrationV1APIService(ctx *middleware.Context, handler ReadApiregistrationV1APIServiceHandler) *ReadApiregistrationV1APIService
NewReadApiregistrationV1APIService creates a new http.Handler for the read apiregistration v1 API service operation
func (*ReadApiregistrationV1APIService) ServeHTTP ¶
func (o *ReadApiregistrationV1APIService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReadApiregistrationV1APIServiceHandler ¶
type ReadApiregistrationV1APIServiceHandler interface {
Handle(ReadApiregistrationV1APIServiceParams) middleware.Responder
}
ReadApiregistrationV1APIServiceHandler interface for that can handle valid read apiregistration v1 API service params
type ReadApiregistrationV1APIServiceHandlerFunc ¶
type ReadApiregistrationV1APIServiceHandlerFunc func(ReadApiregistrationV1APIServiceParams) middleware.Responder
ReadApiregistrationV1APIServiceHandlerFunc turns a function with the right signature into a read apiregistration v1 API service handler
func (ReadApiregistrationV1APIServiceHandlerFunc) Handle ¶
func (fn ReadApiregistrationV1APIServiceHandlerFunc) Handle(params ReadApiregistrationV1APIServiceParams) middleware.Responder
Handle executing the request and returning a response
type ReadApiregistrationV1APIServiceOK ¶
type ReadApiregistrationV1APIServiceOK struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
ReadApiregistrationV1APIServiceOK OK
swagger:response readApiregistrationV1ApiServiceOK
func NewReadApiregistrationV1APIServiceOK ¶
func NewReadApiregistrationV1APIServiceOK() *ReadApiregistrationV1APIServiceOK
NewReadApiregistrationV1APIServiceOK creates ReadApiregistrationV1APIServiceOK with default headers values
func (*ReadApiregistrationV1APIServiceOK) SetPayload ¶
func (o *ReadApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the read apiregistration v1 Api service o k response
func (*ReadApiregistrationV1APIServiceOK) WithPayload ¶
func (o *ReadApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReadApiregistrationV1APIServiceOK
WithPayload adds the payload to the read apiregistration v1 Api service o k response
func (*ReadApiregistrationV1APIServiceOK) WriteResponse ¶
func (o *ReadApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadApiregistrationV1APIServiceParams ¶
type ReadApiregistrationV1APIServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. Unique: true In: query */ Exact *bool /*Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. Unique: true In: query */ Export *bool /*name of the APIService Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
ReadApiregistrationV1APIServiceParams contains all the bound params for the read apiregistration v1 API service operation typically these are obtained from a http.Request
swagger:parameters readApiregistrationV1APIService
func NewReadApiregistrationV1APIServiceParams ¶
func NewReadApiregistrationV1APIServiceParams() ReadApiregistrationV1APIServiceParams
NewReadApiregistrationV1APIServiceParams creates a new ReadApiregistrationV1APIServiceParams object no default values defined in spec.
func (*ReadApiregistrationV1APIServiceParams) BindRequest ¶
func (o *ReadApiregistrationV1APIServiceParams) 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 NewReadApiregistrationV1APIServiceParams() beforehand.
type ReadApiregistrationV1APIServiceStatus ¶
type ReadApiregistrationV1APIServiceStatus struct { Context *middleware.Context Handler ReadApiregistrationV1APIServiceStatusHandler }
ReadApiregistrationV1APIServiceStatus swagger:route GET /apis/apiregistration.k8s.io/v1/apiservices/{name}/status apiregistration_v1 readApiregistrationV1ApiServiceStatus
read status of the specified APIService
func NewReadApiregistrationV1APIServiceStatus ¶
func NewReadApiregistrationV1APIServiceStatus(ctx *middleware.Context, handler ReadApiregistrationV1APIServiceStatusHandler) *ReadApiregistrationV1APIServiceStatus
NewReadApiregistrationV1APIServiceStatus creates a new http.Handler for the read apiregistration v1 API service status operation
func (*ReadApiregistrationV1APIServiceStatus) ServeHTTP ¶
func (o *ReadApiregistrationV1APIServiceStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReadApiregistrationV1APIServiceStatusHandler ¶
type ReadApiregistrationV1APIServiceStatusHandler interface {
Handle(ReadApiregistrationV1APIServiceStatusParams) middleware.Responder
}
ReadApiregistrationV1APIServiceStatusHandler interface for that can handle valid read apiregistration v1 API service status params
type ReadApiregistrationV1APIServiceStatusHandlerFunc ¶
type ReadApiregistrationV1APIServiceStatusHandlerFunc func(ReadApiregistrationV1APIServiceStatusParams) middleware.Responder
ReadApiregistrationV1APIServiceStatusHandlerFunc turns a function with the right signature into a read apiregistration v1 API service status handler
func (ReadApiregistrationV1APIServiceStatusHandlerFunc) Handle ¶
func (fn ReadApiregistrationV1APIServiceStatusHandlerFunc) Handle(params ReadApiregistrationV1APIServiceStatusParams) middleware.Responder
Handle executing the request and returning a response
type ReadApiregistrationV1APIServiceStatusOK ¶
type ReadApiregistrationV1APIServiceStatusOK struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
ReadApiregistrationV1APIServiceStatusOK OK
swagger:response readApiregistrationV1ApiServiceStatusOK
func NewReadApiregistrationV1APIServiceStatusOK ¶
func NewReadApiregistrationV1APIServiceStatusOK() *ReadApiregistrationV1APIServiceStatusOK
NewReadApiregistrationV1APIServiceStatusOK creates ReadApiregistrationV1APIServiceStatusOK with default headers values
func (*ReadApiregistrationV1APIServiceStatusOK) SetPayload ¶
func (o *ReadApiregistrationV1APIServiceStatusOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the read apiregistration v1 Api service status o k response
func (*ReadApiregistrationV1APIServiceStatusOK) WithPayload ¶
func (o *ReadApiregistrationV1APIServiceStatusOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReadApiregistrationV1APIServiceStatusOK
WithPayload adds the payload to the read apiregistration v1 Api service status o k response
func (*ReadApiregistrationV1APIServiceStatusOK) WriteResponse ¶
func (o *ReadApiregistrationV1APIServiceStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadApiregistrationV1APIServiceStatusParams ¶
type ReadApiregistrationV1APIServiceStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*name of the APIService Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
ReadApiregistrationV1APIServiceStatusParams contains all the bound params for the read apiregistration v1 API service status operation typically these are obtained from a http.Request
swagger:parameters readApiregistrationV1APIServiceStatus
func NewReadApiregistrationV1APIServiceStatusParams ¶
func NewReadApiregistrationV1APIServiceStatusParams() ReadApiregistrationV1APIServiceStatusParams
NewReadApiregistrationV1APIServiceStatusParams creates a new ReadApiregistrationV1APIServiceStatusParams object no default values defined in spec.
func (*ReadApiregistrationV1APIServiceStatusParams) BindRequest ¶
func (o *ReadApiregistrationV1APIServiceStatusParams) 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 NewReadApiregistrationV1APIServiceStatusParams() beforehand.
type ReadApiregistrationV1APIServiceStatusUnauthorized ¶
type ReadApiregistrationV1APIServiceStatusUnauthorized struct { }
ReadApiregistrationV1APIServiceStatusUnauthorized Unauthorized
swagger:response readApiregistrationV1ApiServiceStatusUnauthorized
func NewReadApiregistrationV1APIServiceStatusUnauthorized ¶
func NewReadApiregistrationV1APIServiceStatusUnauthorized() *ReadApiregistrationV1APIServiceStatusUnauthorized
NewReadApiregistrationV1APIServiceStatusUnauthorized creates ReadApiregistrationV1APIServiceStatusUnauthorized with default headers values
func (*ReadApiregistrationV1APIServiceStatusUnauthorized) WriteResponse ¶
func (o *ReadApiregistrationV1APIServiceStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadApiregistrationV1APIServiceUnauthorized ¶
type ReadApiregistrationV1APIServiceUnauthorized struct { }
ReadApiregistrationV1APIServiceUnauthorized Unauthorized
swagger:response readApiregistrationV1ApiServiceUnauthorized
func NewReadApiregistrationV1APIServiceUnauthorized ¶
func NewReadApiregistrationV1APIServiceUnauthorized() *ReadApiregistrationV1APIServiceUnauthorized
NewReadApiregistrationV1APIServiceUnauthorized creates ReadApiregistrationV1APIServiceUnauthorized with default headers values
func (*ReadApiregistrationV1APIServiceUnauthorized) WriteResponse ¶
func (o *ReadApiregistrationV1APIServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceApiregistrationV1APIService ¶
type ReplaceApiregistrationV1APIService struct { Context *middleware.Context Handler ReplaceApiregistrationV1APIServiceHandler }
ReplaceApiregistrationV1APIService swagger:route PUT /apis/apiregistration.k8s.io/v1/apiservices/{name} apiregistration_v1 replaceApiregistrationV1ApiService
replace the specified APIService
func NewReplaceApiregistrationV1APIService ¶
func NewReplaceApiregistrationV1APIService(ctx *middleware.Context, handler ReplaceApiregistrationV1APIServiceHandler) *ReplaceApiregistrationV1APIService
NewReplaceApiregistrationV1APIService creates a new http.Handler for the replace apiregistration v1 API service operation
func (*ReplaceApiregistrationV1APIService) ServeHTTP ¶
func (o *ReplaceApiregistrationV1APIService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceApiregistrationV1APIServiceCreated ¶
type ReplaceApiregistrationV1APIServiceCreated struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
ReplaceApiregistrationV1APIServiceCreated Created
swagger:response replaceApiregistrationV1ApiServiceCreated
func NewReplaceApiregistrationV1APIServiceCreated ¶
func NewReplaceApiregistrationV1APIServiceCreated() *ReplaceApiregistrationV1APIServiceCreated
NewReplaceApiregistrationV1APIServiceCreated creates ReplaceApiregistrationV1APIServiceCreated with default headers values
func (*ReplaceApiregistrationV1APIServiceCreated) SetPayload ¶
func (o *ReplaceApiregistrationV1APIServiceCreated) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the replace apiregistration v1 Api service created response
func (*ReplaceApiregistrationV1APIServiceCreated) WithPayload ¶
func (o *ReplaceApiregistrationV1APIServiceCreated) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReplaceApiregistrationV1APIServiceCreated
WithPayload adds the payload to the replace apiregistration v1 Api service created response
func (*ReplaceApiregistrationV1APIServiceCreated) WriteResponse ¶
func (o *ReplaceApiregistrationV1APIServiceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceApiregistrationV1APIServiceHandler ¶
type ReplaceApiregistrationV1APIServiceHandler interface {
Handle(ReplaceApiregistrationV1APIServiceParams) middleware.Responder
}
ReplaceApiregistrationV1APIServiceHandler interface for that can handle valid replace apiregistration v1 API service params
type ReplaceApiregistrationV1APIServiceHandlerFunc ¶
type ReplaceApiregistrationV1APIServiceHandlerFunc func(ReplaceApiregistrationV1APIServiceParams) middleware.Responder
ReplaceApiregistrationV1APIServiceHandlerFunc turns a function with the right signature into a replace apiregistration v1 API service handler
func (ReplaceApiregistrationV1APIServiceHandlerFunc) Handle ¶
func (fn ReplaceApiregistrationV1APIServiceHandlerFunc) Handle(params ReplaceApiregistrationV1APIServiceParams) middleware.Responder
Handle executing the request and returning a response
type ReplaceApiregistrationV1APIServiceOK ¶
type ReplaceApiregistrationV1APIServiceOK struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
ReplaceApiregistrationV1APIServiceOK OK
swagger:response replaceApiregistrationV1ApiServiceOK
func NewReplaceApiregistrationV1APIServiceOK ¶
func NewReplaceApiregistrationV1APIServiceOK() *ReplaceApiregistrationV1APIServiceOK
NewReplaceApiregistrationV1APIServiceOK creates ReplaceApiregistrationV1APIServiceOK with default headers values
func (*ReplaceApiregistrationV1APIServiceOK) SetPayload ¶
func (o *ReplaceApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the replace apiregistration v1 Api service o k response
func (*ReplaceApiregistrationV1APIServiceOK) WithPayload ¶
func (o *ReplaceApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReplaceApiregistrationV1APIServiceOK
WithPayload adds the payload to the replace apiregistration v1 Api service o k response
func (*ReplaceApiregistrationV1APIServiceOK) WriteResponse ¶
func (o *ReplaceApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceApiregistrationV1APIServiceParams ¶
type ReplaceApiregistrationV1APIServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService /*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 /*name of the APIService Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
ReplaceApiregistrationV1APIServiceParams contains all the bound params for the replace apiregistration v1 API service operation typically these are obtained from a http.Request
swagger:parameters replaceApiregistrationV1APIService
func NewReplaceApiregistrationV1APIServiceParams ¶
func NewReplaceApiregistrationV1APIServiceParams() ReplaceApiregistrationV1APIServiceParams
NewReplaceApiregistrationV1APIServiceParams creates a new ReplaceApiregistrationV1APIServiceParams object no default values defined in spec.
func (*ReplaceApiregistrationV1APIServiceParams) BindRequest ¶
func (o *ReplaceApiregistrationV1APIServiceParams) 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 NewReplaceApiregistrationV1APIServiceParams() beforehand.
type ReplaceApiregistrationV1APIServiceStatus ¶
type ReplaceApiregistrationV1APIServiceStatus struct { Context *middleware.Context Handler ReplaceApiregistrationV1APIServiceStatusHandler }
ReplaceApiregistrationV1APIServiceStatus swagger:route PUT /apis/apiregistration.k8s.io/v1/apiservices/{name}/status apiregistration_v1 replaceApiregistrationV1ApiServiceStatus
replace status of the specified APIService
func NewReplaceApiregistrationV1APIServiceStatus ¶
func NewReplaceApiregistrationV1APIServiceStatus(ctx *middleware.Context, handler ReplaceApiregistrationV1APIServiceStatusHandler) *ReplaceApiregistrationV1APIServiceStatus
NewReplaceApiregistrationV1APIServiceStatus creates a new http.Handler for the replace apiregistration v1 API service status operation
func (*ReplaceApiregistrationV1APIServiceStatus) ServeHTTP ¶
func (o *ReplaceApiregistrationV1APIServiceStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceApiregistrationV1APIServiceStatusCreated ¶
type ReplaceApiregistrationV1APIServiceStatusCreated struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
ReplaceApiregistrationV1APIServiceStatusCreated Created
swagger:response replaceApiregistrationV1ApiServiceStatusCreated
func NewReplaceApiregistrationV1APIServiceStatusCreated ¶
func NewReplaceApiregistrationV1APIServiceStatusCreated() *ReplaceApiregistrationV1APIServiceStatusCreated
NewReplaceApiregistrationV1APIServiceStatusCreated creates ReplaceApiregistrationV1APIServiceStatusCreated with default headers values
func (*ReplaceApiregistrationV1APIServiceStatusCreated) SetPayload ¶
func (o *ReplaceApiregistrationV1APIServiceStatusCreated) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the replace apiregistration v1 Api service status created response
func (*ReplaceApiregistrationV1APIServiceStatusCreated) WithPayload ¶
func (o *ReplaceApiregistrationV1APIServiceStatusCreated) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReplaceApiregistrationV1APIServiceStatusCreated
WithPayload adds the payload to the replace apiregistration v1 Api service status created response
func (*ReplaceApiregistrationV1APIServiceStatusCreated) WriteResponse ¶
func (o *ReplaceApiregistrationV1APIServiceStatusCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceApiregistrationV1APIServiceStatusHandler ¶
type ReplaceApiregistrationV1APIServiceStatusHandler interface {
Handle(ReplaceApiregistrationV1APIServiceStatusParams) middleware.Responder
}
ReplaceApiregistrationV1APIServiceStatusHandler interface for that can handle valid replace apiregistration v1 API service status params
type ReplaceApiregistrationV1APIServiceStatusHandlerFunc ¶
type ReplaceApiregistrationV1APIServiceStatusHandlerFunc func(ReplaceApiregistrationV1APIServiceStatusParams) middleware.Responder
ReplaceApiregistrationV1APIServiceStatusHandlerFunc turns a function with the right signature into a replace apiregistration v1 API service status handler
func (ReplaceApiregistrationV1APIServiceStatusHandlerFunc) Handle ¶
func (fn ReplaceApiregistrationV1APIServiceStatusHandlerFunc) Handle(params ReplaceApiregistrationV1APIServiceStatusParams) middleware.Responder
Handle executing the request and returning a response
type ReplaceApiregistrationV1APIServiceStatusOK ¶
type ReplaceApiregistrationV1APIServiceStatusOK struct { /* In: Body */ Payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"body,omitempty"` }
ReplaceApiregistrationV1APIServiceStatusOK OK
swagger:response replaceApiregistrationV1ApiServiceStatusOK
func NewReplaceApiregistrationV1APIServiceStatusOK ¶
func NewReplaceApiregistrationV1APIServiceStatusOK() *ReplaceApiregistrationV1APIServiceStatusOK
NewReplaceApiregistrationV1APIServiceStatusOK creates ReplaceApiregistrationV1APIServiceStatusOK with default headers values
func (*ReplaceApiregistrationV1APIServiceStatusOK) SetPayload ¶
func (o *ReplaceApiregistrationV1APIServiceStatusOK) SetPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService)
SetPayload sets the payload to the replace apiregistration v1 Api service status o k response
func (*ReplaceApiregistrationV1APIServiceStatusOK) WithPayload ¶
func (o *ReplaceApiregistrationV1APIServiceStatusOK) WithPayload(payload *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) *ReplaceApiregistrationV1APIServiceStatusOK
WithPayload adds the payload to the replace apiregistration v1 Api service status o k response
func (*ReplaceApiregistrationV1APIServiceStatusOK) WriteResponse ¶
func (o *ReplaceApiregistrationV1APIServiceStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceApiregistrationV1APIServiceStatusParams ¶
type ReplaceApiregistrationV1APIServiceStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sKubeAggregatorPkgApisApiregistrationV1APIService /*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 /*name of the APIService Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
ReplaceApiregistrationV1APIServiceStatusParams contains all the bound params for the replace apiregistration v1 API service status operation typically these are obtained from a http.Request
swagger:parameters replaceApiregistrationV1APIServiceStatus
func NewReplaceApiregistrationV1APIServiceStatusParams ¶
func NewReplaceApiregistrationV1APIServiceStatusParams() ReplaceApiregistrationV1APIServiceStatusParams
NewReplaceApiregistrationV1APIServiceStatusParams creates a new ReplaceApiregistrationV1APIServiceStatusParams object no default values defined in spec.
func (*ReplaceApiregistrationV1APIServiceStatusParams) BindRequest ¶
func (o *ReplaceApiregistrationV1APIServiceStatusParams) 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 NewReplaceApiregistrationV1APIServiceStatusParams() beforehand.
type ReplaceApiregistrationV1APIServiceStatusUnauthorized ¶
type ReplaceApiregistrationV1APIServiceStatusUnauthorized struct { }
ReplaceApiregistrationV1APIServiceStatusUnauthorized Unauthorized
swagger:response replaceApiregistrationV1ApiServiceStatusUnauthorized
func NewReplaceApiregistrationV1APIServiceStatusUnauthorized ¶
func NewReplaceApiregistrationV1APIServiceStatusUnauthorized() *ReplaceApiregistrationV1APIServiceStatusUnauthorized
NewReplaceApiregistrationV1APIServiceStatusUnauthorized creates ReplaceApiregistrationV1APIServiceStatusUnauthorized with default headers values
func (*ReplaceApiregistrationV1APIServiceStatusUnauthorized) WriteResponse ¶
func (o *ReplaceApiregistrationV1APIServiceStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceApiregistrationV1APIServiceUnauthorized ¶
type ReplaceApiregistrationV1APIServiceUnauthorized struct { }
ReplaceApiregistrationV1APIServiceUnauthorized Unauthorized
swagger:response replaceApiregistrationV1ApiServiceUnauthorized
func NewReplaceApiregistrationV1APIServiceUnauthorized ¶
func NewReplaceApiregistrationV1APIServiceUnauthorized() *ReplaceApiregistrationV1APIServiceUnauthorized
NewReplaceApiregistrationV1APIServiceUnauthorized creates ReplaceApiregistrationV1APIServiceUnauthorized with default headers values
func (*ReplaceApiregistrationV1APIServiceUnauthorized) WriteResponse ¶
func (o *ReplaceApiregistrationV1APIServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchApiregistrationV1APIService ¶
type WatchApiregistrationV1APIService struct { Context *middleware.Context Handler WatchApiregistrationV1APIServiceHandler }
WatchApiregistrationV1APIService swagger:route GET /apis/apiregistration.k8s.io/v1/watch/apiservices/{name} apiregistration_v1 watchApiregistrationV1ApiService
watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
func NewWatchApiregistrationV1APIService ¶
func NewWatchApiregistrationV1APIService(ctx *middleware.Context, handler WatchApiregistrationV1APIServiceHandler) *WatchApiregistrationV1APIService
NewWatchApiregistrationV1APIService creates a new http.Handler for the watch apiregistration v1 API service operation
func (*WatchApiregistrationV1APIService) ServeHTTP ¶
func (o *WatchApiregistrationV1APIService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchApiregistrationV1APIServiceHandler ¶
type WatchApiregistrationV1APIServiceHandler interface {
Handle(WatchApiregistrationV1APIServiceParams) middleware.Responder
}
WatchApiregistrationV1APIServiceHandler interface for that can handle valid watch apiregistration v1 API service params
type WatchApiregistrationV1APIServiceHandlerFunc ¶
type WatchApiregistrationV1APIServiceHandlerFunc func(WatchApiregistrationV1APIServiceParams) middleware.Responder
WatchApiregistrationV1APIServiceHandlerFunc turns a function with the right signature into a watch apiregistration v1 API service handler
func (WatchApiregistrationV1APIServiceHandlerFunc) Handle ¶
func (fn WatchApiregistrationV1APIServiceHandlerFunc) Handle(params WatchApiregistrationV1APIServiceParams) middleware.Responder
Handle executing the request and returning a response
type WatchApiregistrationV1APIServiceList ¶
type WatchApiregistrationV1APIServiceList struct { Context *middleware.Context Handler WatchApiregistrationV1APIServiceListHandler }
WatchApiregistrationV1APIServiceList swagger:route GET /apis/apiregistration.k8s.io/v1/watch/apiservices apiregistration_v1 watchApiregistrationV1ApiServiceList
watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchApiregistrationV1APIServiceList ¶
func NewWatchApiregistrationV1APIServiceList(ctx *middleware.Context, handler WatchApiregistrationV1APIServiceListHandler) *WatchApiregistrationV1APIServiceList
NewWatchApiregistrationV1APIServiceList creates a new http.Handler for the watch apiregistration v1 API service list operation
func (*WatchApiregistrationV1APIServiceList) ServeHTTP ¶
func (o *WatchApiregistrationV1APIServiceList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchApiregistrationV1APIServiceListHandler ¶
type WatchApiregistrationV1APIServiceListHandler interface {
Handle(WatchApiregistrationV1APIServiceListParams) middleware.Responder
}
WatchApiregistrationV1APIServiceListHandler interface for that can handle valid watch apiregistration v1 API service list params
type WatchApiregistrationV1APIServiceListHandlerFunc ¶
type WatchApiregistrationV1APIServiceListHandlerFunc func(WatchApiregistrationV1APIServiceListParams) middleware.Responder
WatchApiregistrationV1APIServiceListHandlerFunc turns a function with the right signature into a watch apiregistration v1 API service list handler
func (WatchApiregistrationV1APIServiceListHandlerFunc) Handle ¶
func (fn WatchApiregistrationV1APIServiceListHandlerFunc) Handle(params WatchApiregistrationV1APIServiceListParams) middleware.Responder
Handle executing the request and returning a response
type WatchApiregistrationV1APIServiceListOK ¶
type WatchApiregistrationV1APIServiceListOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchApiregistrationV1APIServiceListOK OK
swagger:response watchApiregistrationV1ApiServiceListOK
func NewWatchApiregistrationV1APIServiceListOK ¶
func NewWatchApiregistrationV1APIServiceListOK() *WatchApiregistrationV1APIServiceListOK
NewWatchApiregistrationV1APIServiceListOK creates WatchApiregistrationV1APIServiceListOK with default headers values
func (*WatchApiregistrationV1APIServiceListOK) SetPayload ¶
func (o *WatchApiregistrationV1APIServiceListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch apiregistration v1 Api service list o k response
func (*WatchApiregistrationV1APIServiceListOK) WithPayload ¶
func (o *WatchApiregistrationV1APIServiceListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchApiregistrationV1APIServiceListOK
WithPayload adds the payload to the watch apiregistration v1 Api service list o k response
func (*WatchApiregistrationV1APIServiceListOK) WriteResponse ¶
func (o *WatchApiregistrationV1APIServiceListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchApiregistrationV1APIServiceListParams ¶
type WatchApiregistrationV1APIServiceListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. Unique: true In: query */ AllowWatchBookmarks *bool /*The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. Unique: true In: query */ Continue *string /*A selector to restrict the list of returned objects by their fields. Defaults to everything. Unique: true In: query */ FieldSelector *string /*A selector to restrict the list of returned objects by their labels. Defaults to everything. Unique: true In: query */ LabelSelector *string /*limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. Unique: true In: query */ Limit *int64 /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersion *string /*resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersionMatch *string /*Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Unique: true In: query */ TimeoutSeconds *int64 /*Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. Unique: true In: query */ Watch *bool }
WatchApiregistrationV1APIServiceListParams contains all the bound params for the watch apiregistration v1 API service list operation typically these are obtained from a http.Request
swagger:parameters watchApiregistrationV1APIServiceList
func NewWatchApiregistrationV1APIServiceListParams ¶
func NewWatchApiregistrationV1APIServiceListParams() WatchApiregistrationV1APIServiceListParams
NewWatchApiregistrationV1APIServiceListParams creates a new WatchApiregistrationV1APIServiceListParams object no default values defined in spec.
func (*WatchApiregistrationV1APIServiceListParams) BindRequest ¶
func (o *WatchApiregistrationV1APIServiceListParams) 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 NewWatchApiregistrationV1APIServiceListParams() beforehand.
type WatchApiregistrationV1APIServiceListUnauthorized ¶
type WatchApiregistrationV1APIServiceListUnauthorized struct { }
WatchApiregistrationV1APIServiceListUnauthorized Unauthorized
swagger:response watchApiregistrationV1ApiServiceListUnauthorized
func NewWatchApiregistrationV1APIServiceListUnauthorized ¶
func NewWatchApiregistrationV1APIServiceListUnauthorized() *WatchApiregistrationV1APIServiceListUnauthorized
NewWatchApiregistrationV1APIServiceListUnauthorized creates WatchApiregistrationV1APIServiceListUnauthorized with default headers values
func (*WatchApiregistrationV1APIServiceListUnauthorized) WriteResponse ¶
func (o *WatchApiregistrationV1APIServiceListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchApiregistrationV1APIServiceOK ¶
type WatchApiregistrationV1APIServiceOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchApiregistrationV1APIServiceOK OK
swagger:response watchApiregistrationV1ApiServiceOK
func NewWatchApiregistrationV1APIServiceOK ¶
func NewWatchApiregistrationV1APIServiceOK() *WatchApiregistrationV1APIServiceOK
NewWatchApiregistrationV1APIServiceOK creates WatchApiregistrationV1APIServiceOK with default headers values
func (*WatchApiregistrationV1APIServiceOK) SetPayload ¶
func (o *WatchApiregistrationV1APIServiceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch apiregistration v1 Api service o k response
func (*WatchApiregistrationV1APIServiceOK) WithPayload ¶
func (o *WatchApiregistrationV1APIServiceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchApiregistrationV1APIServiceOK
WithPayload adds the payload to the watch apiregistration v1 Api service o k response
func (*WatchApiregistrationV1APIServiceOK) WriteResponse ¶
func (o *WatchApiregistrationV1APIServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchApiregistrationV1APIServiceParams ¶
type WatchApiregistrationV1APIServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. Unique: true In: query */ AllowWatchBookmarks *bool /*The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. Unique: true In: query */ Continue *string /*A selector to restrict the list of returned objects by their fields. Defaults to everything. Unique: true In: query */ FieldSelector *string /*A selector to restrict the list of returned objects by their labels. Defaults to everything. Unique: true In: query */ LabelSelector *string /*limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. Unique: true In: query */ Limit *int64 /*name of the APIService Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersion *string /*resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersionMatch *string /*Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Unique: true In: query */ TimeoutSeconds *int64 /*Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. Unique: true In: query */ Watch *bool }
WatchApiregistrationV1APIServiceParams contains all the bound params for the watch apiregistration v1 API service operation typically these are obtained from a http.Request
swagger:parameters watchApiregistrationV1APIService
func NewWatchApiregistrationV1APIServiceParams ¶
func NewWatchApiregistrationV1APIServiceParams() WatchApiregistrationV1APIServiceParams
NewWatchApiregistrationV1APIServiceParams creates a new WatchApiregistrationV1APIServiceParams object no default values defined in spec.
func (*WatchApiregistrationV1APIServiceParams) BindRequest ¶
func (o *WatchApiregistrationV1APIServiceParams) 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 NewWatchApiregistrationV1APIServiceParams() beforehand.
type WatchApiregistrationV1APIServiceUnauthorized ¶
type WatchApiregistrationV1APIServiceUnauthorized struct { }
WatchApiregistrationV1APIServiceUnauthorized Unauthorized
swagger:response watchApiregistrationV1ApiServiceUnauthorized
func NewWatchApiregistrationV1APIServiceUnauthorized ¶
func NewWatchApiregistrationV1APIServiceUnauthorized() *WatchApiregistrationV1APIServiceUnauthorized
NewWatchApiregistrationV1APIServiceUnauthorized creates WatchApiregistrationV1APIServiceUnauthorized with default headers values
func (*WatchApiregistrationV1APIServiceUnauthorized) WriteResponse ¶
func (o *WatchApiregistrationV1APIServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_apiregistration_v1_api_service.go
- create_apiregistration_v1_api_service_parameters.go
- create_apiregistration_v1_api_service_responses.go
- delete_apiregistration_v1_api_service.go
- delete_apiregistration_v1_api_service_parameters.go
- delete_apiregistration_v1_api_service_responses.go
- delete_apiregistration_v1_collection_api_service.go
- delete_apiregistration_v1_collection_api_service_parameters.go
- delete_apiregistration_v1_collection_api_service_responses.go
- get_apiregistration_v1_api_resources.go
- get_apiregistration_v1_api_resources_parameters.go
- get_apiregistration_v1_api_resources_responses.go
- list_apiregistration_v1_api_service.go
- list_apiregistration_v1_api_service_parameters.go
- list_apiregistration_v1_api_service_responses.go
- patch_apiregistration_v1_api_service.go
- patch_apiregistration_v1_api_service_parameters.go
- patch_apiregistration_v1_api_service_responses.go
- patch_apiregistration_v1_api_service_status.go
- patch_apiregistration_v1_api_service_status_parameters.go
- patch_apiregistration_v1_api_service_status_responses.go
- read_apiregistration_v1_api_service.go
- read_apiregistration_v1_api_service_parameters.go
- read_apiregistration_v1_api_service_responses.go
- read_apiregistration_v1_api_service_status.go
- read_apiregistration_v1_api_service_status_parameters.go
- read_apiregistration_v1_api_service_status_responses.go
- replace_apiregistration_v1_api_service.go
- replace_apiregistration_v1_api_service_parameters.go
- replace_apiregistration_v1_api_service_responses.go
- replace_apiregistration_v1_api_service_status.go
- replace_apiregistration_v1_api_service_status_parameters.go
- replace_apiregistration_v1_api_service_status_responses.go
- watch_apiregistration_v1_api_service.go
- watch_apiregistration_v1_api_service_list.go
- watch_apiregistration_v1_api_service_list_parameters.go
- watch_apiregistration_v1_api_service_list_responses.go
- watch_apiregistration_v1_api_service_parameters.go
- watch_apiregistration_v1_api_service_responses.go