Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=vertexai.cnrm.cloud.google.com
Index ¶
- Variables
- type EncryptionSpec
- type Featurestore_OnlineServingConfig
- type Featurestore_OnlineServingConfig_Scaling
- type MetadataStore
- type MetadataStoreIdentity
- type MetadataStoreParent
- type MetadataStoreRef
- type MetadataStore_DataplexConfig
- type MetadataStore_MetadataStoreState
- type VertexAIMetadataStore
- type VertexAIMetadataStoreList
- type VertexAIMetadataStoreObservedState
- type VertexAIMetadataStoreSpec
- type VertexAIMetadataStoreStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "vertexai.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var VertexAIMetadataStoreGVK = GroupVersion.WithKind("VertexAIMetadataStore")
Functions ¶
This section is empty.
Types ¶
type EncryptionSpec ¶
type EncryptionSpec struct {
// Required. The Cloud KMS resource identifier of the customer managed
// encryption key used to protect a resource.
// The key needs to be in the same region as where the compute resource is
// created.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.EncryptionSpec.kms_key_name
// +required
KMSKeyRef *refsv1beta1.KMSCryptoKeyRef `json:"kmsKeyRef,omitempty"`
}
+kcc:spec:proto=google.cloud.aiplatform.v1beta1.EncryptionSpec
func (*EncryptionSpec) DeepCopy ¶
func (in *EncryptionSpec) DeepCopy() *EncryptionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSpec.
func (*EncryptionSpec) DeepCopyInto ¶
func (in *EncryptionSpec) DeepCopyInto(out *EncryptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Featurestore_OnlineServingConfig ¶
type Featurestore_OnlineServingConfig struct {
// The number of nodes for the online store. The number of nodes doesn't
// scale automatically, but you can manually update the number of
// nodes. If set to 0, the featurestore will not have an
// online store and cannot be used for online serving.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.fixed_node_count
FixedNodeCount *int32 `json:"fixedNodeCount,omitempty"`
// Online serving scaling configuration.
// Only one of `fixed_node_count` and `scaling` can be set. Setting one will
// reset the other.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.scaling
Scaling *Featurestore_OnlineServingConfig_Scaling `json:"scaling,omitempty"`
}
+kcc:proto=google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig
func (*Featurestore_OnlineServingConfig) DeepCopy ¶
func (in *Featurestore_OnlineServingConfig) DeepCopy() *Featurestore_OnlineServingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Featurestore_OnlineServingConfig.
func (*Featurestore_OnlineServingConfig) DeepCopyInto ¶
func (in *Featurestore_OnlineServingConfig) DeepCopyInto(out *Featurestore_OnlineServingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Featurestore_OnlineServingConfig_Scaling ¶
type Featurestore_OnlineServingConfig_Scaling struct {
// Required. The minimum number of nodes to scale down to. Must be greater
// than or equal to 1.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.min_node_count
MinNodeCount *int32 `json:"minNodeCount,omitempty"`
// The maximum number of nodes to scale up to. Must be greater than
// min_node_count, and less than or equal to 10 times of 'min_node_count'.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.max_node_count
MaxNodeCount *int32 `json:"maxNodeCount,omitempty"`
// Optional. The cpu utilization that the Autoscaler should be trying to
// achieve. This number is on a scale from 0 (no utilization) to 100
// (total utilization), and is limited between 10 and 80. When a cluster's
// CPU utilization exceeds the target that you have set, Bigtable
// immediately adds nodes to the cluster. When CPU utilization is
// substantially lower than the target, Bigtable removes nodes. If not set
// or set to 0, default to 50.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.cpu_utilization_target
CPUUtilizationTarget *int32 `json:"cpuUtilizationTarget,omitempty"`
}
+kcc:proto=google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling
func (*Featurestore_OnlineServingConfig_Scaling) DeepCopy ¶
func (in *Featurestore_OnlineServingConfig_Scaling) DeepCopy() *Featurestore_OnlineServingConfig_Scaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Featurestore_OnlineServingConfig_Scaling.
func (*Featurestore_OnlineServingConfig_Scaling) DeepCopyInto ¶
func (in *Featurestore_OnlineServingConfig_Scaling) DeepCopyInto(out *Featurestore_OnlineServingConfig_Scaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataStore ¶
type MetadataStore struct {
// Customer-managed encryption key spec for a Metadata Store. If set, this
// Metadata Store and all sub-resources of this Metadata Store are secured
// using this key.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.encryption_spec
EncryptionSpec *EncryptionSpec `json:"encryptionSpec,omitempty"`
// Description of the MetadataStore.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.description
Description *string `json:"description,omitempty"`
// Optional. Dataplex integration settings.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.dataplex_config
DataplexConfig *MetadataStore_DataplexConfig `json:"dataplexConfig,omitempty"`
}
+kcc:proto=google.cloud.aiplatform.v1beta1.MetadataStore
func (*MetadataStore) DeepCopy ¶
func (in *MetadataStore) DeepCopy() *MetadataStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataStore.
func (*MetadataStore) DeepCopyInto ¶
func (in *MetadataStore) DeepCopyInto(out *MetadataStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataStoreIdentity ¶
type MetadataStoreIdentity struct {
// contains filtered or unexported fields
}
MetadataStoreIdentity defines the resource reference to VertexAIMetadataStore, which "External" field holds the GCP identifier for the KRM object.
func NewMetadataStoreIdentity ¶
func NewMetadataStoreIdentity(ctx context.Context, reader client.Reader, obj *VertexAIMetadataStore) (*MetadataStoreIdentity, error)
New builds a MetadataStoreIdentity from the Config Connector MetadataStore object.
func (*MetadataStoreIdentity) DeepCopy ¶
func (in *MetadataStoreIdentity) DeepCopy() *MetadataStoreIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataStoreIdentity.
func (*MetadataStoreIdentity) DeepCopyInto ¶
func (in *MetadataStoreIdentity) DeepCopyInto(out *MetadataStoreIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetadataStoreIdentity) ID ¶
func (i *MetadataStoreIdentity) ID() string
func (*MetadataStoreIdentity) Parent ¶
func (i *MetadataStoreIdentity) Parent() *MetadataStoreParent
func (*MetadataStoreIdentity) String ¶
func (i *MetadataStoreIdentity) String() string
type MetadataStoreParent ¶
func ParseMetadataStoreExternal ¶
func ParseMetadataStoreExternal(external string) (parent *MetadataStoreParent, resourceID string, err error)
func (*MetadataStoreParent) DeepCopy ¶
func (in *MetadataStoreParent) DeepCopy() *MetadataStoreParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataStoreParent.
func (*MetadataStoreParent) DeepCopyInto ¶
func (in *MetadataStoreParent) DeepCopyInto(out *MetadataStoreParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetadataStoreParent) String ¶
func (p *MetadataStoreParent) String() string
type MetadataStoreRef ¶
type MetadataStoreRef struct {
// A reference to an externally managed VertexAIMetadataStore resource.
// Should be in the format "projects/{{projectID}}/locations/{{location}}/metadatastores/{{metadatastoreID}}".
External string `json:"external,omitempty"`
// The name of a VertexAIMetadataStore resource.
Name string `json:"name,omitempty"`
// The namespace of a VertexAIMetadataStore resource.
Namespace string `json:"namespace,omitempty"`
}
MetadataStoreRef defines the resource reference to VertexAIMetadataStore, which "External" field holds the GCP identifier for the KRM object.
func (*MetadataStoreRef) DeepCopy ¶
func (in *MetadataStoreRef) DeepCopy() *MetadataStoreRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataStoreRef.
func (*MetadataStoreRef) DeepCopyInto ¶
func (in *MetadataStoreRef) DeepCopyInto(out *MetadataStoreRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetadataStoreRef) NormalizedExternal ¶
func (r *MetadataStoreRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on VertexAIMetadataStore. If the "External" is given in the other resource's spec.VertexAIMetadataStoreRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual VertexAIMetadataStore object from the cluster.
type MetadataStore_DataplexConfig ¶
type MetadataStore_DataplexConfig struct {
// Optional. Whether or not Data Lineage synchronization is enabled for
// Vertex Pipelines.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.DataplexConfig.enabled_pipelines_lineage
EnabledPipelinesLineage *bool `json:"enabledPipelinesLineage,omitempty"`
}
+kcc:proto=google.cloud.aiplatform.v1beta1.MetadataStore.DataplexConfig
func (*MetadataStore_DataplexConfig) DeepCopy ¶
func (in *MetadataStore_DataplexConfig) DeepCopy() *MetadataStore_DataplexConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataStore_DataplexConfig.
func (*MetadataStore_DataplexConfig) DeepCopyInto ¶
func (in *MetadataStore_DataplexConfig) DeepCopyInto(out *MetadataStore_DataplexConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataStore_MetadataStoreState ¶
type MetadataStore_MetadataStoreState struct {
// The disk utilization of the MetadataStore in bytes.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.MetadataStoreState.disk_utilization_bytes
DiskUtilizationBytes *int64 `json:"diskUtilizationBytes,omitempty"`
}
+kcc:proto=google.cloud.aiplatform.v1beta1.MetadataStore.MetadataStoreState
func (*MetadataStore_MetadataStoreState) DeepCopy ¶
func (in *MetadataStore_MetadataStoreState) DeepCopy() *MetadataStore_MetadataStoreState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataStore_MetadataStoreState.
func (*MetadataStore_MetadataStoreState) DeepCopyInto ¶
func (in *MetadataStore_MetadataStoreState) DeepCopyInto(out *MetadataStore_MetadataStoreState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VertexAIMetadataStore ¶
type VertexAIMetadataStore struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +required
Spec VertexAIMetadataStoreSpec `json:"spec,omitempty"`
Status VertexAIMetadataStoreStatus `json:"status,omitempty"`
}
VertexAIMetadataStore is the Schema for the VertexAIMetadataStore API +k8s:openapi-gen=true +kubebuilder:storageversion
func (*VertexAIMetadataStore) DeepCopy ¶
func (in *VertexAIMetadataStore) DeepCopy() *VertexAIMetadataStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VertexAIMetadataStore.
func (*VertexAIMetadataStore) DeepCopyInto ¶
func (in *VertexAIMetadataStore) DeepCopyInto(out *VertexAIMetadataStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VertexAIMetadataStore) DeepCopyObject ¶
func (in *VertexAIMetadataStore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VertexAIMetadataStoreList ¶
type VertexAIMetadataStoreList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VertexAIMetadataStore `json:"items"`
}
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object VertexAIMetadataStoreList contains a list of VertexAIMetadataStore
func (*VertexAIMetadataStoreList) DeepCopy ¶
func (in *VertexAIMetadataStoreList) DeepCopy() *VertexAIMetadataStoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VertexAIMetadataStoreList.
func (*VertexAIMetadataStoreList) DeepCopyInto ¶
func (in *VertexAIMetadataStoreList) DeepCopyInto(out *VertexAIMetadataStoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VertexAIMetadataStoreList) DeepCopyObject ¶
func (in *VertexAIMetadataStoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VertexAIMetadataStoreObservedState ¶
type VertexAIMetadataStoreObservedState struct {
// Output only. The resource name of the MetadataStore instance.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.name
Name *string `json:"name,omitempty"`
// Output only. Timestamp when this MetadataStore was created.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.create_time
CreateTime *string `json:"createTime,omitempty"`
// Output only. Timestamp when this MetadataStore was last updated.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.update_time
UpdateTime *string `json:"updateTime,omitempty"`
// Output only. State information of the MetadataStore.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.state
State *MetadataStore_MetadataStoreState `json:"state,omitempty"`
}
VertexAIMetadataStoreObservedState is the state of the VertexAIMetadataStore resource as most recently observed in GCP. +kcc:observedstate:proto=google.cloud.aiplatform.v1beta1.MetadataStore
func (*VertexAIMetadataStoreObservedState) DeepCopy ¶
func (in *VertexAIMetadataStoreObservedState) DeepCopy() *VertexAIMetadataStoreObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VertexAIMetadataStoreObservedState.
func (*VertexAIMetadataStoreObservedState) DeepCopyInto ¶
func (in *VertexAIMetadataStoreObservedState) DeepCopyInto(out *VertexAIMetadataStoreObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VertexAIMetadataStoreSpec ¶
type VertexAIMetadataStoreSpec struct {
// Customer-managed encryption key spec for a Metadata Store. If set, this
// Metadata Store and all sub-resources of this Metadata Store are secured
// using this key.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.encryption_spec
EncryptionSpec *EncryptionSpec `json:"encryptionSpec,omitempty"`
// Optional. Dataplex integration settings.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.dataplex_config
DataplexConfig *MetadataStore_DataplexConfig `json:"dataplexConfig,omitempty"`
// Description of the MetadataStore.
// +kcc:proto:field=google.cloud.aiplatform.v1beta1.MetadataStore.description
Description *string `json:"description,omitempty"`
// The region of the Metadata Store. eg us-central1.
Region string `json:"region,omitempty"`
// The project that this resource belongs to.
ProjectRef *refsv1beta1.ProjectRef `json:"projectRef,omitempty"`
// The VertexAIMetadataStore name. If not given, the metadata.name will be used.
ResourceID *string `json:"resourceID,omitempty"`
}
VertexAIMetadataStoreSpec defines the desired state of VertexAIMetadataStore +kcc:spec:proto=google.cloud.aiplatform.v1beta1.MetadataStore
func (*VertexAIMetadataStoreSpec) DeepCopy ¶
func (in *VertexAIMetadataStoreSpec) DeepCopy() *VertexAIMetadataStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VertexAIMetadataStoreSpec.
func (*VertexAIMetadataStoreSpec) DeepCopyInto ¶
func (in *VertexAIMetadataStoreSpec) DeepCopyInto(out *VertexAIMetadataStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VertexAIMetadataStoreStatus ¶
type VertexAIMetadataStoreStatus struct {
/* Conditions represent the latest available observations of the
object's current state. */
Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
// ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource.
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
// A unique specifier for the VertexAIMetadataStore resource in GCP.
ExternalRef *string `json:"externalRef,omitempty"`
// ObservedState is the state of the resource as most recently observed in GCP.
ObservedState *VertexAIMetadataStoreObservedState `json:"observedState,omitempty"`
}
VertexAIMetadataStoreStatus defines the config connector machine state of VertexAIMetadataStore
func (*VertexAIMetadataStoreStatus) DeepCopy ¶
func (in *VertexAIMetadataStoreStatus) DeepCopy() *VertexAIMetadataStoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VertexAIMetadataStoreStatus.
func (*VertexAIMetadataStoreStatus) DeepCopyInto ¶
func (in *VertexAIMetadataStoreStatus) DeepCopyInto(out *VertexAIMetadataStoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.