Documentation ¶
Index ¶
- Constants
- type RouteBuilder
- type ServiceBuilder
- func (c *ServiceBuilder) CreateEndpointService(kfsvc *v1alpha2.KFService, endpoint constants.KFServiceEndpoint, isCanary bool) (*knservingv1alpha1.Service, error)
- func (c *ServiceBuilder) CreateExplainerService(name string, metadata metav1.ObjectMeta, explainerSpec *v1alpha2.ExplainerSpec, ...) (*knservingv1alpha1.Service, error)
- func (c *ServiceBuilder) CreatePredictorService(name string, metadata metav1.ObjectMeta, predictorSpec *v1alpha2.PredictorSpec) (*knservingv1alpha1.Service, error)
- func (c *ServiceBuilder) CreateTransformerService(name string, metadata metav1.ObjectMeta, ...) (*knservingv1alpha1.Service, error)
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 ¶
func (r *RouteBuilder) CreateKnativeRoute(kfsvc *v1alpha2.KFService, endpoint constants.KFServiceEndpoint, verb constants.KFServiceVerb) *knservingv1alpha1.Route
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)
Click to show internal directories.
Click to hide internal directories.