deploymentclient

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagKey = "name"
)

Variables

View Source
var (
	DefaultMDDeleteOption = metav1.DeletePropagationForeground

	MaxSize   = 500
	FirstPage = 0
)

Functions

This section is empty.

Types

type Client

type Client interface {
	GetModelDeployment(name string) (*deployment.ModelDeployment, error)
	GetModelDeploymentList(options ...filter.ListOption) ([]deployment.ModelDeployment, error)
	DeleteModelDeployment(name string) error
	UpdateModelDeployment(md *deployment.ModelDeployment) error
	CreateModelDeployment(md *deployment.ModelDeployment) error
	GetModelRoute(name string) (*deployment.ModelRoute, error)
	GetModelRouteList(options ...filter.ListOption) ([]deployment.ModelRoute, error)
	DeleteModelRoute(name string) error
	UpdateModelRoute(md *deployment.ModelRoute) error
	CreateModelRoute(md *deployment.ModelRoute) error
}

func NewClient

func NewClient(namespace string, k8sClient client.Client) Client

func NewClientWithOptions

func NewClientWithOptions(namespace string, k8sClient client.Client,
	mdDeleteOption metav1.DeletionPropagation) Client

Jump to

Keyboard shortcuts

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