v1alpha1

package
v1.120.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for mlengine/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the mlengine v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/mlengine +k8s:defaulter-gen=TypeMeta +groupName=mlengine.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "mlengine.cnrm.cloud.google.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	MLEngineModelGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(MLEngineModel{}).Name(),
	}
)

Functions

This section is empty.

Types

type MLEngineModel

type MLEngineModel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MLEngineModelSpec   `json:"spec,omitempty"`
	Status MLEngineModelStatus `json:"status,omitempty"`
}

MLEngineModel is the Schema for the mlengine API +k8s:openapi-gen=true

func (*MLEngineModel) DeepCopy

func (in *MLEngineModel) DeepCopy() *MLEngineModel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MLEngineModel.

func (*MLEngineModel) DeepCopyInto

func (in *MLEngineModel) DeepCopyInto(out *MLEngineModel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MLEngineModel) DeepCopyObject

func (in *MLEngineModel) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MLEngineModelList

type MLEngineModelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MLEngineModel `json:"items"`
}

MLEngineModelList contains a list of MLEngineModel

func (*MLEngineModelList) DeepCopy

func (in *MLEngineModelList) DeepCopy() *MLEngineModelList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MLEngineModelList.

func (*MLEngineModelList) DeepCopyInto

func (in *MLEngineModelList) DeepCopyInto(out *MLEngineModelList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MLEngineModelList) DeepCopyObject

func (in *MLEngineModelList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MLEngineModelSpec

type MLEngineModelSpec struct {
	/* Immutable. The default version of the model. This version will be used to handle
	prediction requests that do not specify a version. */
	// +optional
	DefaultVersion *ModelDefaultVersion `json:"defaultVersion,omitempty"`

	/* Immutable. The description specified for the model when it was created. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging. */
	// +optional
	OnlinePredictionConsoleLogging *bool `json:"onlinePredictionConsoleLogging,omitempty"`

	/* Immutable. If true, online prediction access logs are sent to StackDriver Logging. */
	// +optional
	OnlinePredictionLogging *bool `json:"onlinePredictionLogging,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. The list of regions where the model is going to be deployed.
	Currently only one region per model is supported. */
	// +optional
	Regions []string `json:"regions,omitempty"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*MLEngineModelSpec) DeepCopy

func (in *MLEngineModelSpec) DeepCopy() *MLEngineModelSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MLEngineModelSpec.

func (*MLEngineModelSpec) DeepCopyInto

func (in *MLEngineModelSpec) DeepCopyInto(out *MLEngineModelSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MLEngineModelStatus

type MLEngineModelStatus struct {
	/* Conditions represent the latest available observations of the
	   MLEngineModel'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. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*MLEngineModelStatus) DeepCopy

func (in *MLEngineModelStatus) DeepCopy() *MLEngineModelStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MLEngineModelStatus.

func (*MLEngineModelStatus) DeepCopyInto

func (in *MLEngineModelStatus) DeepCopyInto(out *MLEngineModelStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelDefaultVersion

type ModelDefaultVersion struct {
	/* Immutable. The name specified for the version when it was created. */
	Name string `json:"name"`
}

func (*ModelDefaultVersion) DeepCopy

func (in *ModelDefaultVersion) DeepCopy() *ModelDefaultVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelDefaultVersion.

func (*ModelDefaultVersion) DeepCopyInto

func (in *ModelDefaultVersion) DeepCopyInto(out *ModelDefaultVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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