v1alpha1

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the gcp.plugins.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=gcp.plugins.kubeflow.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "gcp.plugins.kubeflow.org", Version: "v1alpha1"}

	// 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
)

Functions

This section is empty.

Types

type Auth

type Auth struct {
	BasicAuth *BasicAuth `json:"basicAuth,omitempty"`
	IAP       *IAP       `json:"iap,omitempty"`
}

func (*Auth) DeepCopy

func (in *Auth) DeepCopy() *Auth

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

func (*Auth) DeepCopyInto

func (in *Auth) DeepCopyInto(out *Auth)

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

type BasicAuth

type BasicAuth struct {
	Username string                `json:"username,omitempty"`
	Password *kfdeftypes.SecretRef `json:"password,omitempty"`
}

func (*BasicAuth) DeepCopy

func (in *BasicAuth) DeepCopy() *BasicAuth

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

func (*BasicAuth) DeepCopyInto

func (in *BasicAuth) DeepCopyInto(out *BasicAuth)

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

type DeploymentManagerConfig

type DeploymentManagerConfig struct {
	RepoRef *kfdeftypes.RepoRef `json:"repoRef,omitempty"`
}

func (*DeploymentManagerConfig) DeepCopy

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

func (*DeploymentManagerConfig) DeepCopyInto

func (in *DeploymentManagerConfig) DeepCopyInto(out *DeploymentManagerConfig)

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

type GcpPlugin

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

	Spec   GcpPluginSpec   `json:"spec,omitempty"`
	Status GcpPluginStatus `json:"status,omitempty"`
}

GcpPlugin is the Schema for the gcpplugins API

func (*GcpPlugin) DeepCopy

func (in *GcpPlugin) DeepCopy() *GcpPlugin

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

func (*GcpPlugin) DeepCopyInto

func (in *GcpPlugin) DeepCopyInto(out *GcpPlugin)

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

func (*GcpPlugin) DeepCopyObject

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

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

type GcpPluginList

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

GcpPluginList contains a list of GcpPlugin

func (*GcpPluginList) DeepCopy

func (in *GcpPluginList) DeepCopy() *GcpPluginList

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

func (*GcpPluginList) DeepCopyInto

func (in *GcpPluginList) DeepCopyInto(out *GcpPluginList)

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

func (*GcpPluginList) DeepCopyObject

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

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

type GcpPluginSpec

type GcpPluginSpec struct {
	Auth *Auth `json:"auth,omitempty"`

	// SAClientId if supplied grant this service account cluster admin access
	// TODO(jlewi): Might want to make it a list
	SAClientId string `json:"username,omitempty"`

	// CreatePipelinePersistentStorage indicates whether to create storage.
	// Use a pointer so we can distinguish unset values.
	CreatePipelinePersistentStorage *bool `json:"createPipelinePersistentStorage,omitempty"`

	// EnableWorkloadIdentity indicates whether to enable workload identity.
	// Use a pointer so we can distinguish unset values.
	EnableWorkloadIdentity *bool `json:"enableWorkloadIdentity,omitempty"`

	// DeploymentManagerConfig provides location of the deployment manager configs.
	DeploymentManagerConfig *DeploymentManagerConfig `json:"deploymentManagerConfig,omitempty"`

	Project         string `json:"project,omitempty"`
	Email           string `json:"email,omitempty"`
	IpName          string `json:"ipName,omitempty"`
	Hostname        string `json:"hostname,omitempty"`
	Zone            string `json:"zone,omitempty"`
	UseBasicAuth    bool   `json:"useBasicAuth"`
	SkipInitProject bool   `json:"skipInitProject,omitempty"`
	DeleteStorage   bool   `json:"deleteStorage,omitempty"`
}

GcpPluginSpec defines the desired state of GcpPlugin

func (*GcpPluginSpec) DeepCopy

func (in *GcpPluginSpec) DeepCopy() *GcpPluginSpec

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

func (*GcpPluginSpec) DeepCopyInto

func (in *GcpPluginSpec) DeepCopyInto(out *GcpPluginSpec)

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

func (*GcpPluginSpec) GetCreatePipelinePersistentStorage

func (p *GcpPluginSpec) GetCreatePipelinePersistentStorage() bool

func (*GcpPluginSpec) GetEnableWorkloadIdentity

func (p *GcpPluginSpec) GetEnableWorkloadIdentity() bool

func (*GcpPluginSpec) IsValid

func (s *GcpPluginSpec) IsValid() (bool, string)

IsValid returns true if the spec is a valid and complete spec. If false it will also return a string providing a message about why its invalid.

type GcpPluginStatus

type GcpPluginStatus struct {
}

GcpPluginStatus defines the observed state of GcpPlugin

func (*GcpPluginStatus) DeepCopy

func (in *GcpPluginStatus) DeepCopy() *GcpPluginStatus

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

func (*GcpPluginStatus) DeepCopyInto

func (in *GcpPluginStatus) DeepCopyInto(out *GcpPluginStatus)

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

type IAP

type IAP struct {
	OAuthClientId     string                `json:"oAuthClientId,omitempty"`
	OAuthClientSecret *kfdeftypes.SecretRef `json:"oAuthClientSecret,omitempty"`
}

func (*IAP) DeepCopy

func (in *IAP) DeepCopy() *IAP

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

func (*IAP) DeepCopyInto

func (in *IAP) DeepCopyInto(out *IAP)

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

type KfGcpPlugin

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

	Spec GcpPluginSpec `json:"spec,omitempty"`
}

+k8s:openapi-gen=true Placeholder for the plugin API.

func (*KfGcpPlugin) DeepCopy

func (in *KfGcpPlugin) DeepCopy() *KfGcpPlugin

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

func (*KfGcpPlugin) DeepCopyInto

func (in *KfGcpPlugin) DeepCopyInto(out *KfGcpPlugin)

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