v1alpha1

package
v1.117.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for notebooks/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the notebooks 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/notebooks +k8s:defaulter-gen=TypeMeta +groupName=notebooks.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: "notebooks.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

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

Functions

This section is empty.

Types

type EnvironmentContainerImage

type EnvironmentContainerImage struct {
	/* The path to the container image repository.
	For example: gcr.io/{project_id}/{imageName}. */
	Repository string `json:"repository"`

	/* The tag of the container image. If not specified, this defaults to the latest tag. */
	// +optional
	Tag *string `json:"tag,omitempty"`
}

func (*EnvironmentContainerImage) DeepCopy

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

func (*EnvironmentContainerImage) DeepCopyInto

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

type EnvironmentVmImage

type EnvironmentVmImage struct {
	/* Use this VM image family to find the image; the newest image in this family will be used. */
	// +optional
	ImageFamily *string `json:"imageFamily,omitempty"`

	/* Use VM image name to find the image. */
	// +optional
	ImageName *string `json:"imageName,omitempty"`

	/* The name of the Google Cloud project that this VM image belongs to.
	Format: projects/{project_id}. */
	Project string `json:"project"`
}

func (*EnvironmentVmImage) DeepCopy

func (in *EnvironmentVmImage) DeepCopy() *EnvironmentVmImage

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

func (*EnvironmentVmImage) DeepCopyInto

func (in *EnvironmentVmImage) DeepCopyInto(out *EnvironmentVmImage)

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

type NotebooksEnvironment

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

	Spec   NotebooksEnvironmentSpec   `json:"spec,omitempty"`
	Status NotebooksEnvironmentStatus `json:"status,omitempty"`
}

NotebooksEnvironment is the Schema for the notebooks API +k8s:openapi-gen=true

func (*NotebooksEnvironment) DeepCopy

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

func (*NotebooksEnvironment) DeepCopyInto

func (in *NotebooksEnvironment) DeepCopyInto(out *NotebooksEnvironment)

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

func (*NotebooksEnvironment) DeepCopyObject

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

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

type NotebooksEnvironmentList

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

NotebooksEnvironmentList contains a list of NotebooksEnvironment

func (*NotebooksEnvironmentList) DeepCopy

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

func (*NotebooksEnvironmentList) DeepCopyInto

func (in *NotebooksEnvironmentList) DeepCopyInto(out *NotebooksEnvironmentList)

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

func (*NotebooksEnvironmentList) DeepCopyObject

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

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

type NotebooksEnvironmentSpec

type NotebooksEnvironmentSpec struct {
	/* Use a container image to start the notebook instance. */
	// +optional
	ContainerImage *EnvironmentContainerImage `json:"containerImage,omitempty"`

	/* A brief description of this environment. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Display name of this environment for the UI. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	LocationRef v1alpha1.ResourceRef `json:"locationRef"`

	/* Path to a Bash script that automatically runs after a notebook instance fully boots up.
	The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name". */
	// +optional
	PostStartupScript *string `json:"postStartupScript,omitempty"`

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

	/* 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"`

	/* Use a Compute Engine VM image to start the notebook instance. */
	// +optional
	VmImage *EnvironmentVmImage `json:"vmImage,omitempty"`
}

func (*NotebooksEnvironmentSpec) DeepCopy

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

func (*NotebooksEnvironmentSpec) DeepCopyInto

func (in *NotebooksEnvironmentSpec) DeepCopyInto(out *NotebooksEnvironmentSpec)

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

type NotebooksEnvironmentStatus

type NotebooksEnvironmentStatus struct {
	/* Conditions represent the latest available observations of the
	   NotebooksEnvironment's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Instance creation time. */
	// +optional
	CreateTime *string `json:"createTime,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 (*NotebooksEnvironmentStatus) DeepCopy

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

func (*NotebooksEnvironmentStatus) DeepCopyInto

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