stubclients

package
v0.0.0-...-a5f9e11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PIStubClient

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

func NewPIStubClient

func NewPIStubClient() PIStubClient

func (PIStubClient) CreatePackagingIntegration

func (p PIStubClient) CreatePackagingIntegration(md *packaging.PackagingIntegration) error

func (PIStubClient) DeletePackagingIntegration

func (p PIStubClient) DeletePackagingIntegration(name string) error

func (PIStubClient) GetModelPackaging

func (p PIStubClient) GetModelPackaging(id string) (*packaging.ModelPackaging, error)

func (PIStubClient) GetPackagingIntegration

func (p PIStubClient) GetPackagingIntegration(name string) (*packaging.PackagingIntegration, error)

func (PIStubClient) GetPackagingIntegrationList

func (p PIStubClient) GetPackagingIntegrationList(
	options ...filter.ListOption) ([]packaging.PackagingIntegration, error)

func (PIStubClient) SaveModelPackagingResult

func (p PIStubClient) SaveModelPackagingResult(id string, result []v1alpha1.ModelPackagingResult) error

func (PIStubClient) UpdatePackagingIntegration

func (p PIStubClient) UpdatePackagingIntegration(md *packaging.PackagingIntegration) error

type TIStubClient

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

func NewTIStubClient

func NewTIStubClient() TIStubClient

func (TIStubClient) CreateToolchainIntegration

func (t TIStubClient) CreateToolchainIntegration(md *training.ToolchainIntegration) error

func (TIStubClient) DeleteToolchainIntegration

func (t TIStubClient) DeleteToolchainIntegration(name string) error

func (TIStubClient) GetModelTraining

func (t TIStubClient) GetModelTraining(id string) (*training.ModelTraining, error)

func (TIStubClient) GetToolchainIntegration

func (t TIStubClient) GetToolchainIntegration(name string) (*training.ToolchainIntegration, error)

func (TIStubClient) SaveModelTrainingResult

func (t TIStubClient) SaveModelTrainingResult(id string, result *v1alpha1.TrainingResult) error

func (TIStubClient) UpdateToolchainIntegration

func (t TIStubClient) UpdateToolchainIntegration(md *training.ToolchainIntegration) error

Jump to

Keyboard shortcuts

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