packagingclient

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagKey = "name"
)

Variables

View Source
var (
	MpMaxSize   = 500
	MpFirstPage = 0
)

Functions

func TransformMpToK8s

func TransformMpToK8s(mp *packaging.ModelPackaging, k8sNamespace string) (*v1alpha1.ModelPackaging, error)

Take a look to the documentation of TransformPackagingIntegrationFromK8s

Types

type Client

type Client interface {
	GetModelPackaging(id string) (*packaging.ModelPackaging, error)
	GetModelPackagingList(options ...filter.ListOption) ([]packaging.ModelPackaging, error)
	DeleteModelPackaging(id string) error
	UpdateModelPackaging(md *packaging.ModelPackaging) error
	CreateModelPackaging(md *packaging.ModelPackaging) error
	GetModelPackagingLogs(id string, writer utils.Writer, follow bool) error
	SaveModelPackagingResult(id string, result []odahuflowv1alpha1.ModelPackagingResult) error
	GetModelPackagingResult(id string) ([]odahuflowv1alpha1.ModelPackagingResult, error)
}

func NewClient

func NewClient(namespace, piNamespace string, k8sClient client.Client,
	k8sConfig *rest.Config) Client

Jump to

Keyboard shortcuts

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