networking

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

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

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

Documentation

Index

Constants

View Source
const GetNetworkingAPIGroupOKCode int = 200

GetNetworkingAPIGroupOKCode is the HTTP code returned for type GetNetworkingAPIGroupOK

View Source
const GetNetworkingAPIGroupUnauthorizedCode int = 401

GetNetworkingAPIGroupUnauthorizedCode is the HTTP code returned for type GetNetworkingAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetNetworkingAPIGroup

type GetNetworkingAPIGroup struct {
	Context *middleware.Context
	Handler GetNetworkingAPIGroupHandler
}

GetNetworkingAPIGroup swagger:route GET /apis/networking.k8s.io/ networking getNetworkingApiGroup

get information of a group

func NewGetNetworkingAPIGroup

func NewGetNetworkingAPIGroup(ctx *middleware.Context, handler GetNetworkingAPIGroupHandler) *GetNetworkingAPIGroup

NewGetNetworkingAPIGroup creates a new http.Handler for the get networking API group operation

func (*GetNetworkingAPIGroup) ServeHTTP

func (o *GetNetworkingAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetNetworkingAPIGroupHandler

type GetNetworkingAPIGroupHandler interface {
	Handle(GetNetworkingAPIGroupParams) middleware.Responder
}

GetNetworkingAPIGroupHandler interface for that can handle valid get networking API group params

type GetNetworkingAPIGroupHandlerFunc

type GetNetworkingAPIGroupHandlerFunc func(GetNetworkingAPIGroupParams) middleware.Responder

GetNetworkingAPIGroupHandlerFunc turns a function with the right signature into a get networking API group handler

func (GetNetworkingAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetNetworkingAPIGroupOK

type GetNetworkingAPIGroupOK struct {

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

GetNetworkingAPIGroupOK OK

swagger:response getNetworkingApiGroupOK

func NewGetNetworkingAPIGroupOK

func NewGetNetworkingAPIGroupOK() *GetNetworkingAPIGroupOK

NewGetNetworkingAPIGroupOK creates GetNetworkingAPIGroupOK with default headers values

func (*GetNetworkingAPIGroupOK) SetPayload

SetPayload sets the payload to the get networking Api group o k response

func (*GetNetworkingAPIGroupOK) WithPayload

WithPayload adds the payload to the get networking Api group o k response

func (*GetNetworkingAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetNetworkingAPIGroupParams

type GetNetworkingAPIGroupParams struct {

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

GetNetworkingAPIGroupParams contains all the bound params for the get networking API group operation typically these are obtained from a http.Request

swagger:parameters getNetworkingAPIGroup

func NewGetNetworkingAPIGroupParams

func NewGetNetworkingAPIGroupParams() GetNetworkingAPIGroupParams

NewGetNetworkingAPIGroupParams creates a new GetNetworkingAPIGroupParams object no default values defined in spec.

func (*GetNetworkingAPIGroupParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetNetworkingAPIGroupParams() beforehand.

type GetNetworkingAPIGroupUnauthorized

type GetNetworkingAPIGroupUnauthorized struct {
}

GetNetworkingAPIGroupUnauthorized Unauthorized

swagger:response getNetworkingApiGroupUnauthorized

func NewGetNetworkingAPIGroupUnauthorized

func NewGetNetworkingAPIGroupUnauthorized() *GetNetworkingAPIGroupUnauthorized

NewGetNetworkingAPIGroupUnauthorized creates GetNetworkingAPIGroupUnauthorized with default headers values

func (*GetNetworkingAPIGroupUnauthorized) WriteResponse

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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