runtime

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GetRuntimeLivenessInternalServerErrorCode int = 500

GetRuntimeLivenessInternalServerErrorCode is the HTTP code returned for type GetRuntimeLivenessInternalServerError

View Source
const GetRuntimeLivenessOKCode int = 200

GetRuntimeLivenessOKCode is the HTTP code returned for type GetRuntimeLivenessOK

View Source
const GetRuntimeReadinessInternalServerErrorCode int = 500

GetRuntimeReadinessInternalServerErrorCode is the HTTP code returned for type GetRuntimeReadinessInternalServerError

View Source
const GetRuntimeReadinessOKCode int = 200

GetRuntimeReadinessOKCode is the HTTP code returned for type GetRuntimeReadinessOK

View Source
const GetRuntimeStartupInternalServerErrorCode int = 500

GetRuntimeStartupInternalServerErrorCode is the HTTP code returned for type GetRuntimeStartupInternalServerError

View Source
const GetRuntimeStartupOKCode int = 200

GetRuntimeStartupOKCode is the HTTP code returned for type GetRuntimeStartupOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetRuntimeLiveness

type GetRuntimeLiveness struct {
	Context *middleware.Context
	Handler GetRuntimeLivenessHandler
}
GetRuntimeLiveness swagger:route GET /runtime/liveness runtime getRuntimeLiveness

Liveness probe

Check pod liveness probe

func NewGetRuntimeLiveness

func NewGetRuntimeLiveness(ctx *middleware.Context, handler GetRuntimeLivenessHandler) *GetRuntimeLiveness

NewGetRuntimeLiveness creates a new http.Handler for the get runtime liveness operation

func (*GetRuntimeLiveness) ServeHTTP

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

type GetRuntimeLivenessHandler

type GetRuntimeLivenessHandler interface {
	Handle(GetRuntimeLivenessParams) middleware.Responder
}

GetRuntimeLivenessHandler interface for that can handle valid get runtime liveness params

type GetRuntimeLivenessHandlerFunc

type GetRuntimeLivenessHandlerFunc func(GetRuntimeLivenessParams) middleware.Responder

GetRuntimeLivenessHandlerFunc turns a function with the right signature into a get runtime liveness handler

func (GetRuntimeLivenessHandlerFunc) Handle

Handle executing the request and returning a response

type GetRuntimeLivenessInternalServerError

type GetRuntimeLivenessInternalServerError struct {
}

GetRuntimeLivenessInternalServerError Failed

swagger:response getRuntimeLivenessInternalServerError

func NewGetRuntimeLivenessInternalServerError

func NewGetRuntimeLivenessInternalServerError() *GetRuntimeLivenessInternalServerError

NewGetRuntimeLivenessInternalServerError creates GetRuntimeLivenessInternalServerError with default headers values

func (*GetRuntimeLivenessInternalServerError) WriteResponse

WriteResponse to the client

type GetRuntimeLivenessOK

type GetRuntimeLivenessOK struct {
}

GetRuntimeLivenessOK Success

swagger:response getRuntimeLivenessOK

func NewGetRuntimeLivenessOK

func NewGetRuntimeLivenessOK() *GetRuntimeLivenessOK

NewGetRuntimeLivenessOK creates GetRuntimeLivenessOK with default headers values

func (*GetRuntimeLivenessOK) WriteResponse

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

WriteResponse to the client

type GetRuntimeLivenessParams

type GetRuntimeLivenessParams struct {

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

GetRuntimeLivenessParams contains all the bound params for the get runtime liveness operation typically these are obtained from a http.Request

swagger:parameters GetRuntimeLiveness

func NewGetRuntimeLivenessParams

func NewGetRuntimeLivenessParams() GetRuntimeLivenessParams

NewGetRuntimeLivenessParams creates a new GetRuntimeLivenessParams object

There are no default values defined in the spec.

func (*GetRuntimeLivenessParams) 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 NewGetRuntimeLivenessParams() beforehand.

type GetRuntimeLivenessURL

type GetRuntimeLivenessURL struct {
	// contains filtered or unexported fields
}

GetRuntimeLivenessURL generates an URL for the get runtime liveness operation

func (*GetRuntimeLivenessURL) Build

func (o *GetRuntimeLivenessURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRuntimeLivenessURL) BuildFull

func (o *GetRuntimeLivenessURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRuntimeLivenessURL) Must

func (o *GetRuntimeLivenessURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRuntimeLivenessURL) SetBasePath

func (o *GetRuntimeLivenessURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRuntimeLivenessURL) String

func (o *GetRuntimeLivenessURL) String() string

String returns the string representation of the path with query string

func (*GetRuntimeLivenessURL) StringFull

func (o *GetRuntimeLivenessURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRuntimeLivenessURL) WithBasePath

func (o *GetRuntimeLivenessURL) WithBasePath(bp string) *GetRuntimeLivenessURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRuntimeReadiness

type GetRuntimeReadiness struct {
	Context *middleware.Context
	Handler GetRuntimeReadinessHandler
}
GetRuntimeReadiness swagger:route GET /runtime/readiness runtime getRuntimeReadiness

Readiness probe

Check pod readiness probe

func NewGetRuntimeReadiness

func NewGetRuntimeReadiness(ctx *middleware.Context, handler GetRuntimeReadinessHandler) *GetRuntimeReadiness

NewGetRuntimeReadiness creates a new http.Handler for the get runtime readiness operation

func (*GetRuntimeReadiness) ServeHTTP

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

type GetRuntimeReadinessHandler

type GetRuntimeReadinessHandler interface {
	Handle(GetRuntimeReadinessParams) middleware.Responder
}

GetRuntimeReadinessHandler interface for that can handle valid get runtime readiness params

type GetRuntimeReadinessHandlerFunc

type GetRuntimeReadinessHandlerFunc func(GetRuntimeReadinessParams) middleware.Responder

GetRuntimeReadinessHandlerFunc turns a function with the right signature into a get runtime readiness handler

func (GetRuntimeReadinessHandlerFunc) Handle

Handle executing the request and returning a response

type GetRuntimeReadinessInternalServerError

type GetRuntimeReadinessInternalServerError struct {
}

GetRuntimeReadinessInternalServerError Failed

swagger:response getRuntimeReadinessInternalServerError

func NewGetRuntimeReadinessInternalServerError

func NewGetRuntimeReadinessInternalServerError() *GetRuntimeReadinessInternalServerError

NewGetRuntimeReadinessInternalServerError creates GetRuntimeReadinessInternalServerError with default headers values

func (*GetRuntimeReadinessInternalServerError) WriteResponse

WriteResponse to the client

type GetRuntimeReadinessOK

type GetRuntimeReadinessOK struct {
}

GetRuntimeReadinessOK Success

swagger:response getRuntimeReadinessOK

func NewGetRuntimeReadinessOK

func NewGetRuntimeReadinessOK() *GetRuntimeReadinessOK

NewGetRuntimeReadinessOK creates GetRuntimeReadinessOK with default headers values

func (*GetRuntimeReadinessOK) WriteResponse

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

WriteResponse to the client

type GetRuntimeReadinessParams

type GetRuntimeReadinessParams struct {

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

GetRuntimeReadinessParams contains all the bound params for the get runtime readiness operation typically these are obtained from a http.Request

swagger:parameters GetRuntimeReadiness

func NewGetRuntimeReadinessParams

func NewGetRuntimeReadinessParams() GetRuntimeReadinessParams

NewGetRuntimeReadinessParams creates a new GetRuntimeReadinessParams object

There are no default values defined in the spec.

func (*GetRuntimeReadinessParams) 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 NewGetRuntimeReadinessParams() beforehand.

type GetRuntimeReadinessURL

type GetRuntimeReadinessURL struct {
	// contains filtered or unexported fields
}

GetRuntimeReadinessURL generates an URL for the get runtime readiness operation

func (*GetRuntimeReadinessURL) Build

func (o *GetRuntimeReadinessURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRuntimeReadinessURL) BuildFull

func (o *GetRuntimeReadinessURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRuntimeReadinessURL) Must

func (o *GetRuntimeReadinessURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRuntimeReadinessURL) SetBasePath

func (o *GetRuntimeReadinessURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRuntimeReadinessURL) String

func (o *GetRuntimeReadinessURL) String() string

String returns the string representation of the path with query string

func (*GetRuntimeReadinessURL) StringFull

func (o *GetRuntimeReadinessURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRuntimeReadinessURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRuntimeStartup

type GetRuntimeStartup struct {
	Context *middleware.Context
	Handler GetRuntimeStartupHandler
}
GetRuntimeStartup swagger:route GET /runtime/startup runtime getRuntimeStartup

Startup probe

Check pod startup probe

func NewGetRuntimeStartup

func NewGetRuntimeStartup(ctx *middleware.Context, handler GetRuntimeStartupHandler) *GetRuntimeStartup

NewGetRuntimeStartup creates a new http.Handler for the get runtime startup operation

func (*GetRuntimeStartup) ServeHTTP

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

type GetRuntimeStartupHandler

type GetRuntimeStartupHandler interface {
	Handle(GetRuntimeStartupParams) middleware.Responder
}

GetRuntimeStartupHandler interface for that can handle valid get runtime startup params

type GetRuntimeStartupHandlerFunc

type GetRuntimeStartupHandlerFunc func(GetRuntimeStartupParams) middleware.Responder

GetRuntimeStartupHandlerFunc turns a function with the right signature into a get runtime startup handler

func (GetRuntimeStartupHandlerFunc) Handle

Handle executing the request and returning a response

type GetRuntimeStartupInternalServerError

type GetRuntimeStartupInternalServerError struct {
}

GetRuntimeStartupInternalServerError Failed

swagger:response getRuntimeStartupInternalServerError

func NewGetRuntimeStartupInternalServerError

func NewGetRuntimeStartupInternalServerError() *GetRuntimeStartupInternalServerError

NewGetRuntimeStartupInternalServerError creates GetRuntimeStartupInternalServerError with default headers values

func (*GetRuntimeStartupInternalServerError) WriteResponse

WriteResponse to the client

type GetRuntimeStartupOK

type GetRuntimeStartupOK struct {
}

GetRuntimeStartupOK Success

swagger:response getRuntimeStartupOK

func NewGetRuntimeStartupOK

func NewGetRuntimeStartupOK() *GetRuntimeStartupOK

NewGetRuntimeStartupOK creates GetRuntimeStartupOK with default headers values

func (*GetRuntimeStartupOK) WriteResponse

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

WriteResponse to the client

type GetRuntimeStartupParams

type GetRuntimeStartupParams struct {

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

GetRuntimeStartupParams contains all the bound params for the get runtime startup operation typically these are obtained from a http.Request

swagger:parameters GetRuntimeStartup

func NewGetRuntimeStartupParams

func NewGetRuntimeStartupParams() GetRuntimeStartupParams

NewGetRuntimeStartupParams creates a new GetRuntimeStartupParams object

There are no default values defined in the spec.

func (*GetRuntimeStartupParams) BindRequest

func (o *GetRuntimeStartupParams) 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 NewGetRuntimeStartupParams() beforehand.

type GetRuntimeStartupURL

type GetRuntimeStartupURL struct {
	// contains filtered or unexported fields
}

GetRuntimeStartupURL generates an URL for the get runtime startup operation

func (*GetRuntimeStartupURL) Build

func (o *GetRuntimeStartupURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRuntimeStartupURL) BuildFull

func (o *GetRuntimeStartupURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRuntimeStartupURL) Must

func (o *GetRuntimeStartupURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRuntimeStartupURL) SetBasePath

func (o *GetRuntimeStartupURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRuntimeStartupURL) String

func (o *GetRuntimeStartupURL) String() string

String returns the string representation of the path with query string

func (*GetRuntimeStartupURL) StringFull

func (o *GetRuntimeStartupURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRuntimeStartupURL) WithBasePath

func (o *GetRuntimeStartupURL) WithBasePath(bp string) *GetRuntimeStartupURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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