knative

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FrameworkConfigKeyName = "frameworks"
	ExplainerConfigKeyName = "explainers"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteBuilder

type RouteBuilder struct {
}

func NewRouteBuilder

func NewRouteBuilder() *RouteBuilder

func (*RouteBuilder) CreateKnativeRoute

type ServiceBuilder added in v0.1.3

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

func NewServiceBuilder added in v0.1.3

func NewServiceBuilder(client client.Client, config *v1.ConfigMap) *ServiceBuilder

func (*ServiceBuilder) CreateEndpointService added in v0.1.3

func (c *ServiceBuilder) CreateEndpointService(kfsvc *v1alpha2.KFService, endpoint constants.KFServiceEndpoint, isCanary bool) (*knservingv1alpha1.Service, error)

func (*ServiceBuilder) CreateExplainerService added in v0.1.3

func (c *ServiceBuilder) CreateExplainerService(name string, metadata metav1.ObjectMeta, explainerSpec *v1alpha2.ExplainerSpec, predictorService string, isCanary bool) (*knservingv1alpha1.Service, error)

func (*ServiceBuilder) CreatePredictorService added in v0.1.3

func (c *ServiceBuilder) CreatePredictorService(name string, metadata metav1.ObjectMeta, predictorSpec *v1alpha2.PredictorSpec) (*knservingv1alpha1.Service, error)

func (*ServiceBuilder) CreateTransformerService added in v0.1.3

func (c *ServiceBuilder) CreateTransformerService(name string, metadata metav1.ObjectMeta, transformerSpec *v1alpha2.TransformerSpec, isCanary bool) (*knservingv1alpha1.Service, error)

Jump to

Keyboard shortcuts

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