Documentation ¶
Index ¶
- type ServiceBuilder
- func (c *ServiceBuilder) CreateEndpointService(isvc *v1alpha2.InferenceService, endpoint constants.InferenceServiceEndpoint, ...) (*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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceBuilder ¶
type ServiceBuilder struct {
// contains filtered or unexported fields
}
func NewServiceBuilder ¶
func NewServiceBuilder(client client.Client, config *v1.ConfigMap) *ServiceBuilder
func (*ServiceBuilder) CreateEndpointService ¶
func (c *ServiceBuilder) CreateEndpointService(isvc *v1alpha2.InferenceService, endpoint constants.InferenceServiceEndpoint, isCanary bool) (*knservingv1alpha1.Service, error)
func (*ServiceBuilder) CreateExplainerService ¶
func (c *ServiceBuilder) CreateExplainerService(name string, metadata metav1.ObjectMeta, explainerSpec *v1alpha2.ExplainerSpec, predictorService string, isCanary bool) (*knservingv1alpha1.Service, error)
func (*ServiceBuilder) CreatePredictorService ¶
func (c *ServiceBuilder) CreatePredictorService(name string, metadata metav1.ObjectMeta, predictorSpec *v1alpha2.PredictorSpec) (*knservingv1alpha1.Service, error)
func (*ServiceBuilder) CreateTransformerService ¶
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.