Help us shape the future of Go! Take the 2026 Go Developer Survey

registry

package
v1.4.18 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: NCSA Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for registry API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new registry API client.

func (*Client) FrameworkAgents

func (a *Client) FrameworkAgents(params *FrameworkAgentsParams) (*FrameworkAgentsOK, error)

FrameworkAgents framework agents API

func (*Client) FrameworkManifests

func (a *Client) FrameworkManifests(params *FrameworkManifestsParams) (*FrameworkManifestsOK, error)

FrameworkManifests framework manifests API

func (*Client) ModelAgents

func (a *Client) ModelAgents(params *ModelAgentsParams) (*ModelAgentsOK, error)

ModelAgents model agents API

func (*Client) ModelManifests

func (a *Client) ModelManifests(params *ModelManifestsParams) (*ModelManifestsOK, error)

ModelManifests model manifests API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type FrameworkAgentsOK

type FrameworkAgentsOK struct {
	Payload *models.DlframeworkAgents
}

FrameworkAgentsOK handles this case with default header values.

A successful response.

func NewFrameworkAgentsOK

func NewFrameworkAgentsOK() *FrameworkAgentsOK

NewFrameworkAgentsOK creates a FrameworkAgentsOK with default headers values

func (*FrameworkAgentsOK) Error

func (o *FrameworkAgentsOK) Error() string

type FrameworkAgentsParams

type FrameworkAgentsParams struct {

	/*FrameworkName*/
	FrameworkName *string
	/*FrameworkVersion*/
	FrameworkVersion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FrameworkAgentsParams contains all the parameters to send to the API endpoint for the framework agents operation typically these are written to a http.Request

func NewFrameworkAgentsParams

func NewFrameworkAgentsParams() *FrameworkAgentsParams

NewFrameworkAgentsParams creates a new FrameworkAgentsParams object with the default values initialized.

func NewFrameworkAgentsParamsWithContext

func NewFrameworkAgentsParamsWithContext(ctx context.Context) *FrameworkAgentsParams

NewFrameworkAgentsParamsWithContext creates a new FrameworkAgentsParams object with the default values initialized, and the ability to set a context for a request

func NewFrameworkAgentsParamsWithHTTPClient

func NewFrameworkAgentsParamsWithHTTPClient(client *http.Client) *FrameworkAgentsParams

NewFrameworkAgentsParamsWithHTTPClient creates a new FrameworkAgentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFrameworkAgentsParamsWithTimeout

func NewFrameworkAgentsParamsWithTimeout(timeout time.Duration) *FrameworkAgentsParams

NewFrameworkAgentsParamsWithTimeout creates a new FrameworkAgentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*FrameworkAgentsParams) SetContext

func (o *FrameworkAgentsParams) SetContext(ctx context.Context)

SetContext adds the context to the framework agents params

func (*FrameworkAgentsParams) SetFrameworkName

func (o *FrameworkAgentsParams) SetFrameworkName(frameworkName *string)

SetFrameworkName adds the frameworkName to the framework agents params

func (*FrameworkAgentsParams) SetFrameworkVersion

func (o *FrameworkAgentsParams) SetFrameworkVersion(frameworkVersion *string)

SetFrameworkVersion adds the frameworkVersion to the framework agents params

func (*FrameworkAgentsParams) SetHTTPClient

func (o *FrameworkAgentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the framework agents params

func (*FrameworkAgentsParams) SetTimeout

func (o *FrameworkAgentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the framework agents params

func (*FrameworkAgentsParams) WithContext

WithContext adds the context to the framework agents params

func (*FrameworkAgentsParams) WithFrameworkName

func (o *FrameworkAgentsParams) WithFrameworkName(frameworkName *string) *FrameworkAgentsParams

WithFrameworkName adds the frameworkName to the framework agents params

func (*FrameworkAgentsParams) WithFrameworkVersion

func (o *FrameworkAgentsParams) WithFrameworkVersion(frameworkVersion *string) *FrameworkAgentsParams

WithFrameworkVersion adds the frameworkVersion to the framework agents params

func (*FrameworkAgentsParams) WithHTTPClient

func (o *FrameworkAgentsParams) WithHTTPClient(client *http.Client) *FrameworkAgentsParams

WithHTTPClient adds the HTTPClient to the framework agents params

func (*FrameworkAgentsParams) WithTimeout

func (o *FrameworkAgentsParams) WithTimeout(timeout time.Duration) *FrameworkAgentsParams

WithTimeout adds the timeout to the framework agents params

func (*FrameworkAgentsParams) WriteToRequest

func (o *FrameworkAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FrameworkAgentsReader

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

FrameworkAgentsReader is a Reader for the FrameworkAgents structure.

func (*FrameworkAgentsReader) ReadResponse

func (o *FrameworkAgentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FrameworkManifestsOK

type FrameworkManifestsOK struct {
	Payload *models.DlframeworkFrameworkManifestsResponse
}

FrameworkManifestsOK handles this case with default header values.

A successful response.

func NewFrameworkManifestsOK

func NewFrameworkManifestsOK() *FrameworkManifestsOK

NewFrameworkManifestsOK creates a FrameworkManifestsOK with default headers values

func (*FrameworkManifestsOK) Error

func (o *FrameworkManifestsOK) Error() string

type FrameworkManifestsParams

type FrameworkManifestsParams struct {

	/*FrameworkName*/
	FrameworkName *string
	/*FrameworkVersion*/
	FrameworkVersion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FrameworkManifestsParams contains all the parameters to send to the API endpoint for the framework manifests operation typically these are written to a http.Request

func NewFrameworkManifestsParams

func NewFrameworkManifestsParams() *FrameworkManifestsParams

NewFrameworkManifestsParams creates a new FrameworkManifestsParams object with the default values initialized.

func NewFrameworkManifestsParamsWithContext

func NewFrameworkManifestsParamsWithContext(ctx context.Context) *FrameworkManifestsParams

NewFrameworkManifestsParamsWithContext creates a new FrameworkManifestsParams object with the default values initialized, and the ability to set a context for a request

func NewFrameworkManifestsParamsWithHTTPClient

func NewFrameworkManifestsParamsWithHTTPClient(client *http.Client) *FrameworkManifestsParams

NewFrameworkManifestsParamsWithHTTPClient creates a new FrameworkManifestsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFrameworkManifestsParamsWithTimeout

func NewFrameworkManifestsParamsWithTimeout(timeout time.Duration) *FrameworkManifestsParams

NewFrameworkManifestsParamsWithTimeout creates a new FrameworkManifestsParams object with the default values initialized, and the ability to set a timeout on a request

func (*FrameworkManifestsParams) SetContext

func (o *FrameworkManifestsParams) SetContext(ctx context.Context)

SetContext adds the context to the framework manifests params

func (*FrameworkManifestsParams) SetFrameworkName

func (o *FrameworkManifestsParams) SetFrameworkName(frameworkName *string)

SetFrameworkName adds the frameworkName to the framework manifests params

func (*FrameworkManifestsParams) SetFrameworkVersion

func (o *FrameworkManifestsParams) SetFrameworkVersion(frameworkVersion *string)

SetFrameworkVersion adds the frameworkVersion to the framework manifests params

func (*FrameworkManifestsParams) SetHTTPClient

func (o *FrameworkManifestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the framework manifests params

func (*FrameworkManifestsParams) SetTimeout

func (o *FrameworkManifestsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the framework manifests params

func (*FrameworkManifestsParams) WithContext

WithContext adds the context to the framework manifests params

func (*FrameworkManifestsParams) WithFrameworkName

func (o *FrameworkManifestsParams) WithFrameworkName(frameworkName *string) *FrameworkManifestsParams

WithFrameworkName adds the frameworkName to the framework manifests params

func (*FrameworkManifestsParams) WithFrameworkVersion

func (o *FrameworkManifestsParams) WithFrameworkVersion(frameworkVersion *string) *FrameworkManifestsParams

WithFrameworkVersion adds the frameworkVersion to the framework manifests params

func (*FrameworkManifestsParams) WithHTTPClient

func (o *FrameworkManifestsParams) WithHTTPClient(client *http.Client) *FrameworkManifestsParams

WithHTTPClient adds the HTTPClient to the framework manifests params

func (*FrameworkManifestsParams) WithTimeout

WithTimeout adds the timeout to the framework manifests params

func (*FrameworkManifestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FrameworkManifestsReader

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

FrameworkManifestsReader is a Reader for the FrameworkManifests structure.

func (*FrameworkManifestsReader) ReadResponse

func (o *FrameworkManifestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModelAgentsOK

type ModelAgentsOK struct {
	Payload *models.DlframeworkAgents
}

ModelAgentsOK handles this case with default header values.

A successful response.

func NewModelAgentsOK

func NewModelAgentsOK() *ModelAgentsOK

NewModelAgentsOK creates a ModelAgentsOK with default headers values

func (*ModelAgentsOK) Error

func (o *ModelAgentsOK) Error() string

type ModelAgentsParams

type ModelAgentsParams struct {

	/*FrameworkName*/
	FrameworkName *string
	/*FrameworkVersion*/
	FrameworkVersion *string
	/*ModelName*/
	ModelName *string
	/*ModelVersion*/
	ModelVersion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModelAgentsParams contains all the parameters to send to the API endpoint for the model agents operation typically these are written to a http.Request

func NewModelAgentsParams

func NewModelAgentsParams() *ModelAgentsParams

NewModelAgentsParams creates a new ModelAgentsParams object with the default values initialized.

func NewModelAgentsParamsWithContext

func NewModelAgentsParamsWithContext(ctx context.Context) *ModelAgentsParams

NewModelAgentsParamsWithContext creates a new ModelAgentsParams object with the default values initialized, and the ability to set a context for a request

func NewModelAgentsParamsWithHTTPClient

func NewModelAgentsParamsWithHTTPClient(client *http.Client) *ModelAgentsParams

NewModelAgentsParamsWithHTTPClient creates a new ModelAgentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewModelAgentsParamsWithTimeout

func NewModelAgentsParamsWithTimeout(timeout time.Duration) *ModelAgentsParams

NewModelAgentsParamsWithTimeout creates a new ModelAgentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ModelAgentsParams) SetContext

func (o *ModelAgentsParams) SetContext(ctx context.Context)

SetContext adds the context to the model agents params

func (*ModelAgentsParams) SetFrameworkName

func (o *ModelAgentsParams) SetFrameworkName(frameworkName *string)

SetFrameworkName adds the frameworkName to the model agents params

func (*ModelAgentsParams) SetFrameworkVersion

func (o *ModelAgentsParams) SetFrameworkVersion(frameworkVersion *string)

SetFrameworkVersion adds the frameworkVersion to the model agents params

func (*ModelAgentsParams) SetHTTPClient

func (o *ModelAgentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the model agents params

func (*ModelAgentsParams) SetModelName

func (o *ModelAgentsParams) SetModelName(modelName *string)

SetModelName adds the modelName to the model agents params

func (*ModelAgentsParams) SetModelVersion

func (o *ModelAgentsParams) SetModelVersion(modelVersion *string)

SetModelVersion adds the modelVersion to the model agents params

func (*ModelAgentsParams) SetTimeout

func (o *ModelAgentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the model agents params

func (*ModelAgentsParams) WithContext

func (o *ModelAgentsParams) WithContext(ctx context.Context) *ModelAgentsParams

WithContext adds the context to the model agents params

func (*ModelAgentsParams) WithFrameworkName

func (o *ModelAgentsParams) WithFrameworkName(frameworkName *string) *ModelAgentsParams

WithFrameworkName adds the frameworkName to the model agents params

func (*ModelAgentsParams) WithFrameworkVersion

func (o *ModelAgentsParams) WithFrameworkVersion(frameworkVersion *string) *ModelAgentsParams

WithFrameworkVersion adds the frameworkVersion to the model agents params

func (*ModelAgentsParams) WithHTTPClient

func (o *ModelAgentsParams) WithHTTPClient(client *http.Client) *ModelAgentsParams

WithHTTPClient adds the HTTPClient to the model agents params

func (*ModelAgentsParams) WithModelName

func (o *ModelAgentsParams) WithModelName(modelName *string) *ModelAgentsParams

WithModelName adds the modelName to the model agents params

func (*ModelAgentsParams) WithModelVersion

func (o *ModelAgentsParams) WithModelVersion(modelVersion *string) *ModelAgentsParams

WithModelVersion adds the modelVersion to the model agents params

func (*ModelAgentsParams) WithTimeout

func (o *ModelAgentsParams) WithTimeout(timeout time.Duration) *ModelAgentsParams

WithTimeout adds the timeout to the model agents params

func (*ModelAgentsParams) WriteToRequest

func (o *ModelAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ModelAgentsReader

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

ModelAgentsReader is a Reader for the ModelAgents structure.

func (*ModelAgentsReader) ReadResponse

func (o *ModelAgentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModelManifestsOK

type ModelManifestsOK struct {
	Payload *models.DlframeworkModelManifestsResponse
}

ModelManifestsOK handles this case with default header values.

A successful response.

func NewModelManifestsOK

func NewModelManifestsOK() *ModelManifestsOK

NewModelManifestsOK creates a ModelManifestsOK with default headers values

func (*ModelManifestsOK) Error

func (o *ModelManifestsOK) Error() string

type ModelManifestsParams

type ModelManifestsParams struct {

	/*FrameworkName*/
	FrameworkName *string
	/*FrameworkVersion*/
	FrameworkVersion *string
	/*ModelName*/
	ModelName *string
	/*ModelVersion*/
	ModelVersion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModelManifestsParams contains all the parameters to send to the API endpoint for the model manifests operation typically these are written to a http.Request

func NewModelManifestsParams

func NewModelManifestsParams() *ModelManifestsParams

NewModelManifestsParams creates a new ModelManifestsParams object with the default values initialized.

func NewModelManifestsParamsWithContext

func NewModelManifestsParamsWithContext(ctx context.Context) *ModelManifestsParams

NewModelManifestsParamsWithContext creates a new ModelManifestsParams object with the default values initialized, and the ability to set a context for a request

func NewModelManifestsParamsWithHTTPClient

func NewModelManifestsParamsWithHTTPClient(client *http.Client) *ModelManifestsParams

NewModelManifestsParamsWithHTTPClient creates a new ModelManifestsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewModelManifestsParamsWithTimeout

func NewModelManifestsParamsWithTimeout(timeout time.Duration) *ModelManifestsParams

NewModelManifestsParamsWithTimeout creates a new ModelManifestsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ModelManifestsParams) SetContext

func (o *ModelManifestsParams) SetContext(ctx context.Context)

SetContext adds the context to the model manifests params

func (*ModelManifestsParams) SetFrameworkName

func (o *ModelManifestsParams) SetFrameworkName(frameworkName *string)

SetFrameworkName adds the frameworkName to the model manifests params

func (*ModelManifestsParams) SetFrameworkVersion

func (o *ModelManifestsParams) SetFrameworkVersion(frameworkVersion *string)

SetFrameworkVersion adds the frameworkVersion to the model manifests params

func (*ModelManifestsParams) SetHTTPClient

func (o *ModelManifestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the model manifests params

func (*ModelManifestsParams) SetModelName

func (o *ModelManifestsParams) SetModelName(modelName *string)

SetModelName adds the modelName to the model manifests params

func (*ModelManifestsParams) SetModelVersion

func (o *ModelManifestsParams) SetModelVersion(modelVersion *string)

SetModelVersion adds the modelVersion to the model manifests params

func (*ModelManifestsParams) SetTimeout

func (o *ModelManifestsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the model manifests params

func (*ModelManifestsParams) WithContext

WithContext adds the context to the model manifests params

func (*ModelManifestsParams) WithFrameworkName

func (o *ModelManifestsParams) WithFrameworkName(frameworkName *string) *ModelManifestsParams

WithFrameworkName adds the frameworkName to the model manifests params

func (*ModelManifestsParams) WithFrameworkVersion

func (o *ModelManifestsParams) WithFrameworkVersion(frameworkVersion *string) *ModelManifestsParams

WithFrameworkVersion adds the frameworkVersion to the model manifests params

func (*ModelManifestsParams) WithHTTPClient

func (o *ModelManifestsParams) WithHTTPClient(client *http.Client) *ModelManifestsParams

WithHTTPClient adds the HTTPClient to the model manifests params

func (*ModelManifestsParams) WithModelName

func (o *ModelManifestsParams) WithModelName(modelName *string) *ModelManifestsParams

WithModelName adds the modelName to the model manifests params

func (*ModelManifestsParams) WithModelVersion

func (o *ModelManifestsParams) WithModelVersion(modelVersion *string) *ModelManifestsParams

WithModelVersion adds the modelVersion to the model manifests params

func (*ModelManifestsParams) WithTimeout

func (o *ModelManifestsParams) WithTimeout(timeout time.Duration) *ModelManifestsParams

WithTimeout adds the timeout to the model manifests params

func (*ModelManifestsParams) WriteToRequest

func (o *ModelManifestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ModelManifestsReader

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

ModelManifestsReader is a Reader for the ModelManifests structure.

func (*ModelManifestsReader) ReadResponse

func (o *ModelManifestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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