registry

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: NCSA Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const FrameworkAgentsOKCode int = 200

FrameworkAgentsOKCode is the HTTP code returned for type FrameworkAgentsOK

View Source
const FrameworkManifestsOKCode int = 200

FrameworkManifestsOKCode is the HTTP code returned for type FrameworkManifestsOK

View Source
const ModelAgentsOKCode int = 200

ModelAgentsOKCode is the HTTP code returned for type ModelAgentsOK

View Source
const ModelManifestsOKCode int = 200

ModelManifestsOKCode is the HTTP code returned for type ModelManifestsOK

Variables

This section is empty.

Functions

This section is empty.

Types

type FrameworkAgents

type FrameworkAgents struct {
	Context *middleware.Context
	Handler FrameworkAgentsHandler
}

FrameworkAgents swagger:route GET /registry/frameworks/agent Registry frameworkAgents

FrameworkAgents framework agents API

func NewFrameworkAgents

func NewFrameworkAgents(ctx *middleware.Context, handler FrameworkAgentsHandler) *FrameworkAgents

NewFrameworkAgents creates a new http.Handler for the framework agents operation

func (*FrameworkAgents) ServeHTTP

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

type FrameworkAgentsHandler

type FrameworkAgentsHandler interface {
	Handle(FrameworkAgentsParams) middleware.Responder
}

FrameworkAgentsHandler interface for that can handle valid framework agents params

type FrameworkAgentsHandlerFunc

type FrameworkAgentsHandlerFunc func(FrameworkAgentsParams) middleware.Responder

FrameworkAgentsHandlerFunc turns a function with the right signature into a framework agents handler

func (FrameworkAgentsHandlerFunc) Handle

Handle executing the request and returning a response

type FrameworkAgentsOK

type FrameworkAgentsOK struct {

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

FrameworkAgentsOK A successful response.

swagger:response frameworkAgentsOK

func NewFrameworkAgentsOK

func NewFrameworkAgentsOK() *FrameworkAgentsOK

NewFrameworkAgentsOK creates FrameworkAgentsOK with default headers values

func (*FrameworkAgentsOK) SetPayload

func (o *FrameworkAgentsOK) SetPayload(payload *models.DlframeworkAgents)

SetPayload sets the payload to the framework agents o k response

func (*FrameworkAgentsOK) WithPayload

func (o *FrameworkAgentsOK) WithPayload(payload *models.DlframeworkAgents) *FrameworkAgentsOK

WithPayload adds the payload to the framework agents o k response

func (*FrameworkAgentsOK) WriteResponse

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

WriteResponse to the client

type FrameworkAgentsParams

type FrameworkAgentsParams struct {

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

	/*
	  In: query
	*/
	FrameworkName *string
	/*
	  In: query
	*/
	FrameworkVersion *string
}

FrameworkAgentsParams contains all the bound params for the framework agents operation typically these are obtained from a http.Request

swagger:parameters FrameworkAgents

func NewFrameworkAgentsParams

func NewFrameworkAgentsParams() FrameworkAgentsParams

NewFrameworkAgentsParams creates a new FrameworkAgentsParams object no default values defined in spec.

func (*FrameworkAgentsParams) BindRequest

func (o *FrameworkAgentsParams) 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 NewFrameworkAgentsParams() beforehand.

type FrameworkAgentsURL

type FrameworkAgentsURL struct {
	FrameworkName    *string
	FrameworkVersion *string
	// contains filtered or unexported fields
}

FrameworkAgentsURL generates an URL for the framework agents operation

func (*FrameworkAgentsURL) Build

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

Build a url path and query string

func (*FrameworkAgentsURL) BuildFull

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

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

func (*FrameworkAgentsURL) Must

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

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

func (*FrameworkAgentsURL) SetBasePath

func (o *FrameworkAgentsURL) 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 (*FrameworkAgentsURL) String

func (o *FrameworkAgentsURL) String() string

String returns the string representation of the path with query string

func (*FrameworkAgentsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*FrameworkAgentsURL) WithBasePath

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

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 FrameworkManifests

type FrameworkManifests struct {
	Context *middleware.Context
	Handler FrameworkManifestsHandler
}

FrameworkManifests swagger:route GET /registry/frameworks/manifest Registry frameworkManifests

FrameworkManifests framework manifests API

func NewFrameworkManifests

func NewFrameworkManifests(ctx *middleware.Context, handler FrameworkManifestsHandler) *FrameworkManifests

NewFrameworkManifests creates a new http.Handler for the framework manifests operation

func (*FrameworkManifests) ServeHTTP

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

type FrameworkManifestsHandler

type FrameworkManifestsHandler interface {
	Handle(FrameworkManifestsParams) middleware.Responder
}

FrameworkManifestsHandler interface for that can handle valid framework manifests params

type FrameworkManifestsHandlerFunc

type FrameworkManifestsHandlerFunc func(FrameworkManifestsParams) middleware.Responder

FrameworkManifestsHandlerFunc turns a function with the right signature into a framework manifests handler

func (FrameworkManifestsHandlerFunc) Handle

Handle executing the request and returning a response

type FrameworkManifestsOK

type FrameworkManifestsOK struct {

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

FrameworkManifestsOK A successful response.

swagger:response frameworkManifestsOK

func NewFrameworkManifestsOK

func NewFrameworkManifestsOK() *FrameworkManifestsOK

NewFrameworkManifestsOK creates FrameworkManifestsOK with default headers values

func (*FrameworkManifestsOK) SetPayload

SetPayload sets the payload to the framework manifests o k response

func (*FrameworkManifestsOK) WithPayload

WithPayload adds the payload to the framework manifests o k response

func (*FrameworkManifestsOK) WriteResponse

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

WriteResponse to the client

type FrameworkManifestsParams

type FrameworkManifestsParams struct {

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

	/*
	  In: query
	*/
	FrameworkName *string
	/*
	  In: query
	*/
	FrameworkVersion *string
}

FrameworkManifestsParams contains all the bound params for the framework manifests operation typically these are obtained from a http.Request

swagger:parameters FrameworkManifests

func NewFrameworkManifestsParams

func NewFrameworkManifestsParams() FrameworkManifestsParams

NewFrameworkManifestsParams creates a new FrameworkManifestsParams object no default values defined in spec.

func (*FrameworkManifestsParams) 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 NewFrameworkManifestsParams() beforehand.

type FrameworkManifestsURL

type FrameworkManifestsURL struct {
	FrameworkName    *string
	FrameworkVersion *string
	// contains filtered or unexported fields
}

FrameworkManifestsURL generates an URL for the framework manifests operation

func (*FrameworkManifestsURL) Build

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

Build a url path and query string

func (*FrameworkManifestsURL) BuildFull

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

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

func (*FrameworkManifestsURL) Must

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

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

func (*FrameworkManifestsURL) SetBasePath

func (o *FrameworkManifestsURL) 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 (*FrameworkManifestsURL) String

func (o *FrameworkManifestsURL) String() string

String returns the string representation of the path with query string

func (*FrameworkManifestsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*FrameworkManifestsURL) WithBasePath

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

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 ModelAgents

type ModelAgents struct {
	Context *middleware.Context
	Handler ModelAgentsHandler
}

ModelAgents swagger:route GET /registry/models/agent Registry modelAgents

ModelAgents model agents API

func NewModelAgents

func NewModelAgents(ctx *middleware.Context, handler ModelAgentsHandler) *ModelAgents

NewModelAgents creates a new http.Handler for the model agents operation

func (*ModelAgents) ServeHTTP

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

type ModelAgentsHandler

type ModelAgentsHandler interface {
	Handle(ModelAgentsParams) middleware.Responder
}

ModelAgentsHandler interface for that can handle valid model agents params

type ModelAgentsHandlerFunc

type ModelAgentsHandlerFunc func(ModelAgentsParams) middleware.Responder

ModelAgentsHandlerFunc turns a function with the right signature into a model agents handler

func (ModelAgentsHandlerFunc) Handle

Handle executing the request and returning a response

type ModelAgentsOK

type ModelAgentsOK struct {

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

ModelAgentsOK A successful response.

swagger:response modelAgentsOK

func NewModelAgentsOK

func NewModelAgentsOK() *ModelAgentsOK

NewModelAgentsOK creates ModelAgentsOK with default headers values

func (*ModelAgentsOK) SetPayload

func (o *ModelAgentsOK) SetPayload(payload *models.DlframeworkAgents)

SetPayload sets the payload to the model agents o k response

func (*ModelAgentsOK) WithPayload

func (o *ModelAgentsOK) WithPayload(payload *models.DlframeworkAgents) *ModelAgentsOK

WithPayload adds the payload to the model agents o k response

func (*ModelAgentsOK) WriteResponse

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

WriteResponse to the client

type ModelAgentsParams

type ModelAgentsParams struct {

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

	/*
	  In: query
	*/
	FrameworkName *string
	/*
	  In: query
	*/
	FrameworkVersion *string
	/*
	  In: query
	*/
	ModelName *string
	/*
	  In: query
	*/
	ModelVersion *string
}

ModelAgentsParams contains all the bound params for the model agents operation typically these are obtained from a http.Request

swagger:parameters ModelAgents

func NewModelAgentsParams

func NewModelAgentsParams() ModelAgentsParams

NewModelAgentsParams creates a new ModelAgentsParams object no default values defined in spec.

func (*ModelAgentsParams) BindRequest

func (o *ModelAgentsParams) 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 NewModelAgentsParams() beforehand.

type ModelAgentsURL

type ModelAgentsURL struct {
	FrameworkName    *string
	FrameworkVersion *string
	ModelName        *string
	ModelVersion     *string
	// contains filtered or unexported fields
}

ModelAgentsURL generates an URL for the model agents operation

func (*ModelAgentsURL) Build

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

Build a url path and query string

func (*ModelAgentsURL) BuildFull

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

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

func (*ModelAgentsURL) Must

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

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

func (*ModelAgentsURL) SetBasePath

func (o *ModelAgentsURL) 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 (*ModelAgentsURL) String

func (o *ModelAgentsURL) String() string

String returns the string representation of the path with query string

func (*ModelAgentsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ModelAgentsURL) WithBasePath

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

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 ModelManifests

type ModelManifests struct {
	Context *middleware.Context
	Handler ModelManifestsHandler
}

ModelManifests swagger:route GET /registry/models/manifest Registry modelManifests

ModelManifests model manifests API

func NewModelManifests

func NewModelManifests(ctx *middleware.Context, handler ModelManifestsHandler) *ModelManifests

NewModelManifests creates a new http.Handler for the model manifests operation

func (*ModelManifests) ServeHTTP

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

type ModelManifestsHandler

type ModelManifestsHandler interface {
	Handle(ModelManifestsParams) middleware.Responder
}

ModelManifestsHandler interface for that can handle valid model manifests params

type ModelManifestsHandlerFunc

type ModelManifestsHandlerFunc func(ModelManifestsParams) middleware.Responder

ModelManifestsHandlerFunc turns a function with the right signature into a model manifests handler

func (ModelManifestsHandlerFunc) Handle

Handle executing the request and returning a response

type ModelManifestsOK

type ModelManifestsOK struct {

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

ModelManifestsOK A successful response.

swagger:response modelManifestsOK

func NewModelManifestsOK

func NewModelManifestsOK() *ModelManifestsOK

NewModelManifestsOK creates ModelManifestsOK with default headers values

func (*ModelManifestsOK) SetPayload

SetPayload sets the payload to the model manifests o k response

func (*ModelManifestsOK) WithPayload

WithPayload adds the payload to the model manifests o k response

func (*ModelManifestsOK) WriteResponse

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

WriteResponse to the client

type ModelManifestsParams

type ModelManifestsParams struct {

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

	/*
	  In: query
	*/
	FrameworkName *string
	/*
	  In: query
	*/
	FrameworkVersion *string
	/*
	  In: query
	*/
	ModelName *string
	/*
	  In: query
	*/
	ModelVersion *string
}

ModelManifestsParams contains all the bound params for the model manifests operation typically these are obtained from a http.Request

swagger:parameters ModelManifests

func NewModelManifestsParams

func NewModelManifestsParams() ModelManifestsParams

NewModelManifestsParams creates a new ModelManifestsParams object no default values defined in spec.

func (*ModelManifestsParams) BindRequest

func (o *ModelManifestsParams) 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 NewModelManifestsParams() beforehand.

type ModelManifestsURL

type ModelManifestsURL struct {
	FrameworkName    *string
	FrameworkVersion *string
	ModelName        *string
	ModelVersion     *string
	// contains filtered or unexported fields
}

ModelManifestsURL generates an URL for the model manifests operation

func (*ModelManifestsURL) Build

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

Build a url path and query string

func (*ModelManifestsURL) BuildFull

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

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

func (*ModelManifestsURL) Must

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

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

func (*ModelManifestsURL) SetBasePath

func (o *ModelManifestsURL) 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 (*ModelManifestsURL) String

func (o *ModelManifestsURL) String() string

String returns the string representation of the path with query string

func (*ModelManifestsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ModelManifestsURL) WithBasePath

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

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