Documentation
¶
Index ¶
- type FlavorApplyConfiguration
- func (b *FlavorApplyConfiguration) WithName(value v1alpha1.FlavorName) *FlavorApplyConfiguration
- func (b *FlavorApplyConfiguration) WithNodeSelector(entries map[string]string) *FlavorApplyConfiguration
- func (b *FlavorApplyConfiguration) WithParams(entries map[string]string) *FlavorApplyConfiguration
- func (b *FlavorApplyConfiguration) WithRequests(value v1.ResourceList) *FlavorApplyConfiguration
- type ModelClaimApplyConfiguration
- type ModelClaimsApplyConfiguration
- type ModelHubApplyConfiguration
- func (b *ModelHubApplyConfiguration) WithFilename(value string) *ModelHubApplyConfiguration
- func (b *ModelHubApplyConfiguration) WithModelID(value string) *ModelHubApplyConfiguration
- func (b *ModelHubApplyConfiguration) WithName(value string) *ModelHubApplyConfiguration
- func (b *ModelHubApplyConfiguration) WithRevision(value string) *ModelHubApplyConfiguration
- type ModelRepresentativeApplyConfiguration
- type ModelSourceApplyConfiguration
- type ModelSpecApplyConfiguration
- func (b *ModelSpecApplyConfiguration) WithFamilyName(value v1alpha1.ModelName) *ModelSpecApplyConfiguration
- func (b *ModelSpecApplyConfiguration) WithInferenceFlavors(values ...*FlavorApplyConfiguration) *ModelSpecApplyConfiguration
- func (b *ModelSpecApplyConfiguration) WithSource(value *ModelSourceApplyConfiguration) *ModelSpecApplyConfiguration
- type ModelStatusApplyConfiguration
- type OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithAPIVersion(value string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithAnnotations(entries map[string]string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithFinalizers(values ...string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithGenerateName(value string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithGeneration(value int64) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithKind(value string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithLabels(entries map[string]string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithName(value string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithNamespace(value string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithResourceVersion(value string) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithSpec(value *ModelSpecApplyConfiguration) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithStatus(value *ModelStatusApplyConfiguration) *OpenModelApplyConfiguration
- func (b *OpenModelApplyConfiguration) WithUID(value types.UID) *OpenModelApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlavorApplyConfiguration ¶
type FlavorApplyConfiguration struct {
Name *v1alpha1.FlavorName `json:"name,omitempty"`
Requests *v1.ResourceList `json:"requests,omitempty"`
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
Params map[string]string `json:"params,omitempty"`
}
FlavorApplyConfiguration represents an declarative configuration of the Flavor type for use with apply.
func Flavor ¶
func Flavor() *FlavorApplyConfiguration
FlavorApplyConfiguration constructs an declarative configuration of the Flavor type for use with apply.
func (*FlavorApplyConfiguration) WithName ¶
func (b *FlavorApplyConfiguration) WithName(value v1alpha1.FlavorName) *FlavorApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*FlavorApplyConfiguration) WithNodeSelector ¶
func (b *FlavorApplyConfiguration) WithNodeSelector(entries map[string]string) *FlavorApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*FlavorApplyConfiguration) WithParams ¶
func (b *FlavorApplyConfiguration) WithParams(entries map[string]string) *FlavorApplyConfiguration
WithParams puts the entries into the Params field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Params field, overwriting an existing map entries in Params field with the same key.
func (*FlavorApplyConfiguration) WithRequests ¶
func (b *FlavorApplyConfiguration) WithRequests(value v1.ResourceList) *FlavorApplyConfiguration
WithRequests sets the Requests field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Requests field is set to the value of the last call.
type ModelClaimApplyConfiguration ¶
type ModelClaimApplyConfiguration struct {
ModelName *v1alpha1.ModelName `json:"modelName,omitempty"`
InferenceFlavors []v1alpha1.FlavorName `json:"inferenceFlavors,omitempty"`
}
ModelClaimApplyConfiguration represents an declarative configuration of the ModelClaim type for use with apply.
func ModelClaim ¶
func ModelClaim() *ModelClaimApplyConfiguration
ModelClaimApplyConfiguration constructs an declarative configuration of the ModelClaim type for use with apply.
func (*ModelClaimApplyConfiguration) WithInferenceFlavors ¶
func (b *ModelClaimApplyConfiguration) WithInferenceFlavors(values ...v1alpha1.FlavorName) *ModelClaimApplyConfiguration
WithInferenceFlavors adds the given value to the InferenceFlavors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InferenceFlavors field.
func (*ModelClaimApplyConfiguration) WithModelName ¶
func (b *ModelClaimApplyConfiguration) WithModelName(value v1alpha1.ModelName) *ModelClaimApplyConfiguration
WithModelName sets the ModelName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ModelName field is set to the value of the last call.
type ModelClaimsApplyConfiguration ¶ added in v0.0.6
type ModelClaimsApplyConfiguration struct {
Models []ModelRepresentativeApplyConfiguration `json:"models,omitempty"`
InferenceFlavors []corev1alpha1.FlavorName `json:"inferenceFlavors,omitempty"`
}
ModelClaimsApplyConfiguration represents an declarative configuration of the ModelClaims type for use with apply.
func ModelClaims ¶ added in v0.0.6
func ModelClaims() *ModelClaimsApplyConfiguration
ModelClaimsApplyConfiguration constructs an declarative configuration of the ModelClaims type for use with apply.
func (*ModelClaimsApplyConfiguration) WithInferenceFlavors ¶ added in v0.0.6
func (b *ModelClaimsApplyConfiguration) WithInferenceFlavors(values ...corev1alpha1.FlavorName) *ModelClaimsApplyConfiguration
WithInferenceFlavors adds the given value to the InferenceFlavors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InferenceFlavors field.
func (*ModelClaimsApplyConfiguration) WithModels ¶ added in v0.0.6
func (b *ModelClaimsApplyConfiguration) WithModels(values ...*ModelRepresentativeApplyConfiguration) *ModelClaimsApplyConfiguration
WithModels adds the given value to the Models field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Models field.
type ModelHubApplyConfiguration ¶
type ModelHubApplyConfiguration struct {
Name *string `json:"name,omitempty"`
ModelID *string `json:"modelID,omitempty"`
Filename *string `json:"filename,omitempty"`
Revision *string `json:"revision,omitempty"`
}
ModelHubApplyConfiguration represents an declarative configuration of the ModelHub type for use with apply.
func ModelHub ¶
func ModelHub() *ModelHubApplyConfiguration
ModelHubApplyConfiguration constructs an declarative configuration of the ModelHub type for use with apply.
func (*ModelHubApplyConfiguration) WithFilename ¶
func (b *ModelHubApplyConfiguration) WithFilename(value string) *ModelHubApplyConfiguration
WithFilename sets the Filename field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filename field is set to the value of the last call.
func (*ModelHubApplyConfiguration) WithModelID ¶
func (b *ModelHubApplyConfiguration) WithModelID(value string) *ModelHubApplyConfiguration
WithModelID sets the ModelID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ModelID field is set to the value of the last call.
func (*ModelHubApplyConfiguration) WithName ¶
func (b *ModelHubApplyConfiguration) WithName(value string) *ModelHubApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ModelHubApplyConfiguration) WithRevision ¶
func (b *ModelHubApplyConfiguration) WithRevision(value string) *ModelHubApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
type ModelRepresentativeApplyConfiguration ¶ added in v0.0.6
type ModelRepresentativeApplyConfiguration struct {
Name *v1alpha1.ModelName `json:"name,omitempty"`
Role *v1alpha1.ModelRole `json:"role,omitempty"`
}
ModelRepresentativeApplyConfiguration represents an declarative configuration of the ModelRepresentative type for use with apply.
func ModelRepresentative ¶ added in v0.0.6
func ModelRepresentative() *ModelRepresentativeApplyConfiguration
ModelRepresentativeApplyConfiguration constructs an declarative configuration of the ModelRepresentative type for use with apply.
func (*ModelRepresentativeApplyConfiguration) WithName ¶ added in v0.0.6
func (b *ModelRepresentativeApplyConfiguration) WithName(value v1alpha1.ModelName) *ModelRepresentativeApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ModelRepresentativeApplyConfiguration) WithRole ¶ added in v0.0.6
func (b *ModelRepresentativeApplyConfiguration) WithRole(value v1alpha1.ModelRole) *ModelRepresentativeApplyConfiguration
WithRole sets the Role field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Role field is set to the value of the last call.
type ModelSourceApplyConfiguration ¶
type ModelSourceApplyConfiguration struct {
ModelHub *ModelHubApplyConfiguration `json:"modelHub,omitempty"`
URI *corev1alpha1.URIProtocol `json:"uri,omitempty"`
}
ModelSourceApplyConfiguration represents an declarative configuration of the ModelSource type for use with apply.
func ModelSource ¶
func ModelSource() *ModelSourceApplyConfiguration
ModelSourceApplyConfiguration constructs an declarative configuration of the ModelSource type for use with apply.
func (*ModelSourceApplyConfiguration) WithModelHub ¶
func (b *ModelSourceApplyConfiguration) WithModelHub(value *ModelHubApplyConfiguration) *ModelSourceApplyConfiguration
WithModelHub sets the ModelHub field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ModelHub field is set to the value of the last call.
func (*ModelSourceApplyConfiguration) WithURI ¶
func (b *ModelSourceApplyConfiguration) WithURI(value corev1alpha1.URIProtocol) *ModelSourceApplyConfiguration
WithURI sets the URI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URI field is set to the value of the last call.
type ModelSpecApplyConfiguration ¶
type ModelSpecApplyConfiguration struct {
FamilyName *v1alpha1.ModelName `json:"familyName,omitempty"`
Source *ModelSourceApplyConfiguration `json:"source,omitempty"`
InferenceFlavors []FlavorApplyConfiguration `json:"inferenceFlavors,omitempty"`
}
ModelSpecApplyConfiguration represents an declarative configuration of the ModelSpec type for use with apply.
func ModelSpec ¶
func ModelSpec() *ModelSpecApplyConfiguration
ModelSpecApplyConfiguration constructs an declarative configuration of the ModelSpec type for use with apply.
func (*ModelSpecApplyConfiguration) WithFamilyName ¶
func (b *ModelSpecApplyConfiguration) WithFamilyName(value v1alpha1.ModelName) *ModelSpecApplyConfiguration
WithFamilyName sets the FamilyName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FamilyName field is set to the value of the last call.
func (*ModelSpecApplyConfiguration) WithInferenceFlavors ¶
func (b *ModelSpecApplyConfiguration) WithInferenceFlavors(values ...*FlavorApplyConfiguration) *ModelSpecApplyConfiguration
WithInferenceFlavors adds the given value to the InferenceFlavors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InferenceFlavors field.
func (*ModelSpecApplyConfiguration) WithSource ¶
func (b *ModelSpecApplyConfiguration) WithSource(value *ModelSourceApplyConfiguration) *ModelSpecApplyConfiguration
WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.
type ModelStatusApplyConfiguration ¶
type ModelStatusApplyConfiguration struct {
Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
}
ModelStatusApplyConfiguration represents an declarative configuration of the ModelStatus type for use with apply.
func ModelStatus ¶
func ModelStatus() *ModelStatusApplyConfiguration
ModelStatusApplyConfiguration constructs an declarative configuration of the ModelStatus type for use with apply.
func (*ModelStatusApplyConfiguration) WithConditions ¶
func (b *ModelStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *ModelStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
type OpenModelApplyConfiguration ¶
type OpenModelApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *ModelSpecApplyConfiguration `json:"spec,omitempty"`
Status *ModelStatusApplyConfiguration `json:"status,omitempty"`
}
OpenModelApplyConfiguration represents an declarative configuration of the OpenModel type for use with apply.
func OpenModel ¶
func OpenModel(name, namespace string) *OpenModelApplyConfiguration
OpenModel constructs an declarative configuration of the OpenModel type for use with apply.
func (*OpenModelApplyConfiguration) WithAPIVersion ¶
func (b *OpenModelApplyConfiguration) WithAPIVersion(value string) *OpenModelApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithAnnotations ¶
func (b *OpenModelApplyConfiguration) WithAnnotations(entries map[string]string) *OpenModelApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*OpenModelApplyConfiguration) WithCreationTimestamp ¶
func (b *OpenModelApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenModelApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *OpenModelApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenModelApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithDeletionTimestamp ¶
func (b *OpenModelApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenModelApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithFinalizers ¶
func (b *OpenModelApplyConfiguration) WithFinalizers(values ...string) *OpenModelApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*OpenModelApplyConfiguration) WithGenerateName ¶
func (b *OpenModelApplyConfiguration) WithGenerateName(value string) *OpenModelApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithGeneration ¶
func (b *OpenModelApplyConfiguration) WithGeneration(value int64) *OpenModelApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithKind ¶
func (b *OpenModelApplyConfiguration) WithKind(value string) *OpenModelApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithLabels ¶
func (b *OpenModelApplyConfiguration) WithLabels(entries map[string]string) *OpenModelApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*OpenModelApplyConfiguration) WithName ¶
func (b *OpenModelApplyConfiguration) WithName(value string) *OpenModelApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithNamespace ¶
func (b *OpenModelApplyConfiguration) WithNamespace(value string) *OpenModelApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithOwnerReferences ¶
func (b *OpenModelApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenModelApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*OpenModelApplyConfiguration) WithResourceVersion ¶
func (b *OpenModelApplyConfiguration) WithResourceVersion(value string) *OpenModelApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithSpec ¶
func (b *OpenModelApplyConfiguration) WithSpec(value *ModelSpecApplyConfiguration) *OpenModelApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithStatus ¶
func (b *OpenModelApplyConfiguration) WithStatus(value *ModelStatusApplyConfiguration) *OpenModelApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*OpenModelApplyConfiguration) WithUID ¶
func (b *OpenModelApplyConfiguration) WithUID(value types.UID) *OpenModelApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.