v1beta1

package
v0.0.0-...-26f83b8 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the aiml v1beta1 API group +kubebuilder:object:generate=true +groupName=aiml.pachyderm.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "aiml.pachyderm.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
)

Functions

func IsBase64Encoded

func IsBase64Encoded(input string) bool

IsBase64Encoded checks if user input is already base64 encoded

Types

type AmazonStorageOptions

type AmazonStorageOptions struct {
	// Name of the S3 bucket to hold objects
	Bucket string `json:"bucket,omitempty"`
	// AWS cloudfront distribution
	CloudFrontDistribution string `json:"cloudFrontDistribution,omitempty"`
	// Custom endpoint for connecting to S3 object store
	CustomEndpoint string `json:"customEndpoint,omitempty"`
	// Disable SSL.
	DisableSSL bool `json:"disableSSL,omitempty"`
	// IAM identity with the desired permissions
	IAMRole string `json:"iamRole,omitempty"`
	// Set an ID for the cluster deployment.
	// Defaults to a random value.
	ID string `json:"id,omitempty"`
	// Enable verbose logging in Pachyderm's internal S3 client for debugging.
	LogOptions string `json:"logOptions,omitempty"`
	// Set a custom maximum number of upload parts.
	// Default: 10000
	MaxUploadParts int `json:"maxUploadParts,omitempty" default:"10000"`
	// Skip SSL certificate verification.
	// Typically used for enabling self-signed certificates
	VerifySSL bool `json:"verifySSL,omitempty"`
	// Set a custom part size for object storage uploads.
	// Default: 5242880
	PartSize int64 `json:"partSize,omitempty" default:"5242880"`
	// Region for the object storqge cluster
	Region string `json:"region,omitempty"`
	// Set a custom number of retries for object storage requests.
	// Default: 10
	Retries int `json:"retries,omitempty" default:"10"`
	// Reverse object storage paths.
	Reverse *bool `json:"reverse,omitempty" default:"true"`
	// The secret access key for the S3 bucket
	Secret string `json:"secret,omitempty"`
	// Set a custom timeout for object storage requests.
	// Default: 5m
	Timeout string `json:"timeout,omitempty" default:"5m"`
	Token   string `json:"token,omitempty"`
	// Sets a custom upload ACL for object store uploads.
	// Default: "bucket-owner-full-control"
	UploadACL string `json:"uploadACL,omitempty" default:"bucket-owner-full-control"`
	// Container for storing archives
	Vault *AmazonStorageVault `json:"vault,omitempty"`
}

AmazonStorageOptions exposes options to configure Amazon s3 storage

func (*AmazonStorageOptions) DeepCopy

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

func (*AmazonStorageOptions) DeepCopyInto

func (in *AmazonStorageOptions) DeepCopyInto(out *AmazonStorageOptions)

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

type AmazonStorageVault

type AmazonStorageVault struct {
	Address string `json:"address,omitempty"`
	Role    string `json:"role,omitempty"`
	Token   string `json:"token,omitempty"`
}

AmazonStorageVault exposes options to configure Amazon vault

func (*AmazonStorageVault) DeepCopy

func (in *AmazonStorageVault) DeepCopy() *AmazonStorageVault

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

func (*AmazonStorageVault) DeepCopyInto

func (in *AmazonStorageVault) DeepCopyInto(out *AmazonStorageVault)

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

type BackupOptions

type BackupOptions struct {
	// Name of Pachyderm instance to backup.
	Pachyderm string `json:"pachyderm"`
}

func (*BackupOptions) DeepCopy

func (in *BackupOptions) DeepCopy() *BackupOptions

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

func (*BackupOptions) DeepCopyInto

func (in *BackupOptions) DeepCopyInto(out *BackupOptions)

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

type DashOptions

type DashOptions struct {
	// If true, this option disables the Pachyderm dashboard.
	Disable bool `json:"disable,omitempty"`
	// Optional image overrides.
	// Used to specify alternative images to use to deploy dash
	Image *ImageOverride `json:"image,omitempty"`
	// Optional resource requirements required to run the dash pods.
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// The address to use as the host in the dash ingress.
	// Used as the host of a rule
	URL     string            `json:"url,omitempty"`
	Service *ServiceOverrides `json:"service,omitempty"`
}

DashOptions provides options to configure the dashd component

func (*DashOptions) DeepCopy

func (in *DashOptions) DeepCopy() *DashOptions

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

func (*DashOptions) DeepCopyInto

func (in *DashOptions) DeepCopyInto(out *DashOptions)

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

type EtcdOptions

type EtcdOptions struct {
	// Optional parameter to set the number of nodes in the Etcd statefulset.
	// Analogous --dynamic-etcd-nodes argument to 'pachctl deploy'
	DynamicNodes int32 `json:"dynamicNodes,omitempty"`
	// Optional image overrides.
	// Used to specify alternative images to use to deploy dash
	Image *ImageOverride `json:"image,omitempty"`
	// Resource requests and limits for Etcd
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
	// If specified, etcd would use an existing storage class for its storage
	// Name of existing storage class to use for the Etcd persistent volume.
	StorageClass string `json:"storageClass,omitempty"`
	// The size of the storage to use for etcd.
	// For example: "100Gi"
	StorageSize string            `json:"storageSize,omitempty"`
	Service     *ServiceOverrides `json:"service,omitempty"`
}

EtcdOptions allows users to change the etcd statefulset

func (*EtcdOptions) DeepCopy

func (in *EtcdOptions) DeepCopy() *EtcdOptions

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

func (*EtcdOptions) DeepCopyInto

func (in *EtcdOptions) DeepCopyInto(out *EtcdOptions)

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

type GoogleStorageOptions

type GoogleStorageOptions struct {
	// Name of GCS bucket to hold objects
	Bucket string `json:"bucket,omitempty"`
	// Credentials json file
	CredentialSecret   string `json:"credentialSecret,omitempty"`
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
}

GoogleStorageOptions exposes options to configure Google Cloud Storage

func (*GoogleStorageOptions) DeepCopy

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

func (*GoogleStorageOptions) DeepCopyInto

func (in *GoogleStorageOptions) DeepCopyInto(out *GoogleStorageOptions)

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

type ImageOverride

type ImageOverride struct {
	// This option dictates the particular image to pull
	Repository string `json:"repository,omitempty"`
	// Used with the image registry to choose a specific
	// image in a cointainer registry to pull
	ImageTag string `json:"tag,omitempty"`
	// Determines when images should be pulled.
	// It accepts, "IfNotPresent","Never" or "Always"
	// +kubebuilder:validation:Enum:=IfNotPresent;Always;Never
	PullPolicy string `json:"pullPolicy,omitempty"`
}

ImageOverride allows the user to override the default image and change the image pull policy

func (*ImageOverride) DeepCopy

func (in *ImageOverride) DeepCopy() *ImageOverride

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

func (*ImageOverride) DeepCopyInto

func (in *ImageOverride) DeepCopyInto(out *ImageOverride)

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

type LocalStorageOptions

type LocalStorageOptions struct {
	// Location on the worker node to be
	// mounted into the pod.
	// Default: "/var/pachyderm/"
	HostPath string `json:"hostPath,omitempty" default:"/var/pachyderm/"`
}

LocalStorageOptions exposes options to confifure local storage

func (*LocalStorageOptions) DeepCopy

func (in *LocalStorageOptions) DeepCopy() *LocalStorageOptions

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

func (*LocalStorageOptions) DeepCopyInto

func (in *LocalStorageOptions) DeepCopyInto(out *LocalStorageOptions)

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

type MetricsOptions

type MetricsOptions struct {
	// If true, this option allows user to disable metrics endpoint.
	Disable bool `json:"disable,omitempty"`

	// Option to customize pachd metrics endpoint.
	// When not set, defaults to /metrics
	Endpoint string `json:"endpoint,omitempty"`
}

MetricsOptions allows the user to enable/disable pachyderm metrics

func (*MetricsOptions) DeepCopy

func (in *MetricsOptions) DeepCopy() *MetricsOptions

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

func (*MetricsOptions) DeepCopyInto

func (in *MetricsOptions) DeepCopyInto(out *MetricsOptions)

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

type MicrosoftStorageOptions

type MicrosoftStorageOptions struct {
	Container string `json:"container,omitempty"`
	ID        string `json:"id,omitempty"`
	Secret    string `json:"secret,omitempty"`
}

MicrosoftStorageOptions exposes options to configure Microsoft storage

func (*MicrosoftStorageOptions) DeepCopy

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

func (*MicrosoftStorageOptions) DeepCopyInto

func (in *MicrosoftStorageOptions) DeepCopyInto(out *MicrosoftStorageOptions)

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

type MinioStorageOptions

type MinioStorageOptions struct {
	// Name of minio bucket to store pachd objects
	Bucket string `json:"bucket,omitempty"`
	// The hostname and port that are used to access the minio object store
	// Example: "minio-server:9000"
	Endpoint string `json:"endpoint,omitempty"`
	// The user access ID that is used to access minio object store.
	ID string `json:"id,omitempty"`
	// The associated password that is used with the user access ID
	Secret    string `json:"secret,omitempty"`
	Secure    string `json:"secure,omitempty"`
	Signature string `json:"signature,omitempty"`
}

MinioStorageOptions exposes options to confugure Minio object store

func (*MinioStorageOptions) DeepCopy

func (in *MinioStorageOptions) DeepCopy() *MinioStorageOptions

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

func (*MinioStorageOptions) DeepCopyInto

func (in *MinioStorageOptions) DeepCopyInto(out *MinioStorageOptions)

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

type ObjectStorageOptions

type ObjectStorageOptions struct {
	// The maximum number of files to upload or fetch from remote sources (HTTP, blob storage) using PutFile concurrently.
	// Default: 100
	// +kubebuilder:default:=100
	PutFileConcurrencyLimit int32 `json:"putFileConcurrencyLimit,omitempty"`
	// The maximum number of concurrent object storage uploads per Pachd instance.
	// Default: 100
	// +kubebuilder:default:=100
	UploadFileConcurrencyLimit int32 `json:"uploadFileConcurrencyLimit,omitempty"`
	// Sets the type of storage backend.
	// Should be one of "google", "amazon", "minio", "microsoft" or "local"
	// +kubebuilder:validation:Enum:=amazon;minio;microsoft;local;google
	Backend string `json:"backend"`
	// Configures the Amazon storage backend
	Amazon *AmazonStorageOptions `json:"amazon,omitempty"`
	// Configures the Google storage backend
	Google *GoogleStorageOptions `json:"google,omitempty"`
	// Configures Microsoft storage backend
	Microsoft *MicrosoftStorageOptions `json:"microsoft,omitempty"`
	// Configures Minio object store
	Minio *MinioStorageOptions `json:"minio,omitempty"`
	// Kubernetes hostPath
	Local *LocalStorageOptions `json:"local,omitempty"`
}

ObjectStorageOptions exposes options to configure object store backend for Pachyderm resource

func (*ObjectStorageOptions) DeepCopy

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

func (*ObjectStorageOptions) DeepCopyInto

func (in *ObjectStorageOptions) DeepCopyInto(out *ObjectStorageOptions)

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

type PachdOptions

type PachdOptions struct {
	// Set an ID for the cluster deployment.
	// Defaults to a random value if none is provided
	ClusterID string `json:"clusterDeploymentID,omitempty"`
	// Sets the maximum number of pachd nodes allowed in the cluster.
	// Increasing this number blindly could lead to degraded performance.
	// Default: 16
	// +kubebuilder:default:=16
	NumShards int32 `json:"numShards,omitempty"`
	// Size of Pachd's in-memory cache for PFS file.
	// Size is specified in bytes, with allowed SI suffixes (M, K, G, Mi, Ki, Gi, etc)
	BlockCacheBytes string `json:"blockCacheBytes,omitempty"`
	// Pachd memory request
	// +kubebuilder:default:="1T"
	MemoryRequest string `json:"memoryRequest,omitempty"`
	// Resource requests and limits for Pachd
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// Require only critical Pachd servers to startup and run without errors.
	RequireCriticalServers bool `json:"requireCriticalServersOnly,omitempty"`
	// Object storage options for Pachd
	Storage ObjectStorageOptions `json:"storage,omitempty"`
	// Optional image overrides.
	// Used to specify alternative images to use to deploy dash
	Image *ImageOverride `json:"image,omitempty"`
	// The log level option determines the severity of logs
	// that are of interest to the user
	// +kubebuilder:default:=info
	LogLevel string `json:"logLevel,omitempty"`
	// Optional value to determine the format of the logs
	// Default: false
	LokiLogging bool `json:"lokiLogging,omitempty"`
	// When true, allows user to disable authentication during testing
	AuthenticationDisabledForTesting bool `json:"authenticationDisabledForTesting,omitempty"`
	// Pachyderm Pipeline System(PPS) worker GRPC port.
	// Defaults to port 1080
	// +kubebuilder:default=1080
	PPSWorkerGRPCPort int32             `json:"ppsWorkerGRPCPort,omitempty"`
	Service           *ServiceOverrides `json:"service,omitempty"`
	// Allows user to customize metrics options
	Metrics            MetricsOptions `json:"metrics,omitempty"`
	ServiceAccountName string         `json:"serviceAccountName,omitempty"`
	// Postgresql server connection credentials
	Postgres PachdPostgresConfig `json:"postgresql,omitempty"`
}

TODO: renove obsolete options such as NumShards, BlockCacheBytes, etc PachdOptions allows the user to customize pachd

func (*PachdOptions) DeepCopy

func (in *PachdOptions) DeepCopy() *PachdOptions

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

func (*PachdOptions) DeepCopyInto

func (in *PachdOptions) DeepCopyInto(out *PachdOptions)

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

type PachdPostgresConfig

type PachdPostgresConfig struct {
	// +kubebuilder:default:=postgres
	Host string `json:"host,omitempty"`
	// +kubebuilder:default:=5432
	Port int32 `json:"port,omitempty"`
	// +kubebuilder:default:=disable
	SSL      string `json:"ssl,omitempty"`
	User     string `json:"user,omitempty"`
	Password string `json:"password,omitempty"`
}

PachdPostgresConfig

func (*PachdPostgresConfig) DeepCopy

func (in *PachdPostgresConfig) DeepCopy() *PachdPostgresConfig

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

func (*PachdPostgresConfig) DeepCopyInto

func (in *PachdPostgresConfig) DeepCopyInto(out *PachdPostgresConfig)

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

type Pachyderm

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

	Spec   PachydermSpec   `json:"spec,omitempty"`
	Status PachydermStatus `json:"status,omitempty"`
}

Pachyderm is the Schema for the pachyderms API

func (*Pachyderm) DeepCopy

func (in *Pachyderm) DeepCopy() *Pachyderm

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

func (*Pachyderm) DeepCopyInto

func (in *Pachyderm) DeepCopyInto(out *Pachyderm)

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

func (*Pachyderm) DeepCopyObject

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

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

func (*Pachyderm) Default

func (r *Pachyderm) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*Pachyderm) SetupWebhookWithManager

func (r *Pachyderm) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager setups the webhook

func (*Pachyderm) ValidateCreate

func (r *Pachyderm) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Pachyderm) ValidateDelete

func (r *Pachyderm) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Pachyderm) ValidateUpdate

func (r *Pachyderm) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PachydermList

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

PachydermList contains a list of Pachyderm

func (*PachydermList) DeepCopy

func (in *PachydermList) DeepCopy() *PachydermList

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

func (*PachydermList) DeepCopyInto

func (in *PachydermList) DeepCopyInto(out *PachydermList)

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

func (*PachydermList) DeepCopyObject

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

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

type PachydermPhase

type PachydermPhase string

PachydermPhase defines the data type used to report the status of a Pachyderm resource

const (
	// PhaseInitializing sets the Pachyderm status to initilizing
	PhaseInitializing PachydermPhase = "Initializing"
	// PhaseRunning sets the resource status to running
	PhaseRunning PachydermPhase = "Running"
	// PhaseDeleting reports the resource status to deleting
	PhaseDeleting PachydermPhase = "Deleting"
)

type PachydermRestore

type PachydermRestore struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*PachydermRestore) DeepCopy

func (in *PachydermRestore) DeepCopy() *PachydermRestore

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

func (*PachydermRestore) DeepCopyInto

func (in *PachydermRestore) DeepCopyInto(out *PachydermRestore)

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

type PachydermSpec

type PachydermSpec struct {
	// Allows user to change version of Pachyderm to deploy
	Version string `json:"version,omitempty"`
	// Allows the user to customize the etcd key-value store
	Etcd EtcdOptions `json:"etcd,omitempty"`
	// Allows the user to customize the pachd instance(s)
	Pachd PachdOptions `json:"pachd,omitempty"`
	// Allows the user to customize the dashd instance(s)
	Dashd DashOptions `json:"dash,omitempty"`
	// Allows user to customize worker instance(s)
	Worker WorkerOptions `json:"worker,omitempty"`
	// Allows user to customize Postgresql database
	Postgres PostgresOptions `json:"postgresql,omitempty"`
	// Allow user to provide an image pull secret
	ImagePullSecret *string `json:"imagePullSecret,omitempty"`
}

PachydermSpec defines the desired state of Pachyderm

func (*PachydermSpec) DeepCopy

func (in *PachydermSpec) DeepCopy() *PachydermSpec

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

func (*PachydermSpec) DeepCopyInto

func (in *PachydermSpec) DeepCopyInto(out *PachydermSpec)

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

type PachydermStatus

type PachydermStatus struct {
	Phase PachydermPhase `json:"phase"`
}

PachydermStatus defines the observed state of Pachyderm

func (*PachydermStatus) DeepCopy

func (in *PachydermStatus) DeepCopy() *PachydermStatus

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

func (*PachydermStatus) DeepCopyInto

func (in *PachydermStatus) DeepCopyInto(out *PachydermStatus)

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

type PachydermVault

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

	Spec   PachydermVaultSpec   `json:"spec,omitempty"`
	Status PachydermVaultStatus `json:"status,omitempty"`
}

PachydermVault is the Schema for the pachydermvaults API

func (*PachydermVault) DeepCopy

func (in *PachydermVault) DeepCopy() *PachydermVault

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

func (*PachydermVault) DeepCopyInto

func (in *PachydermVault) DeepCopyInto(out *PachydermVault)

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

func (*PachydermVault) DeepCopyObject

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

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

type PachydermVaultList

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

PachydermVaultList contains a list of PachydermVault

func (*PachydermVaultList) DeepCopy

func (in *PachydermVaultList) DeepCopy() *PachydermVaultList

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

func (*PachydermVaultList) DeepCopyInto

func (in *PachydermVaultList) DeepCopyInto(out *PachydermVaultList)

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

func (*PachydermVaultList) DeepCopyObject

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

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

type PachydermVaultSpec

type PachydermVaultSpec struct {
	// Backup options allow the user to provide options
	// when performing a backup
	Backup *BackupOptions `json:"backup,omitempty"`

	// Restore allows a user to restore a backup to a new Pachyderm cluster
	Restore *RestoreOptions `json:"restore,omitempty"`
}

PachydermVaultSpec defines the desired state of PachydermVault

func (*PachydermVaultSpec) DeepCopy

func (in *PachydermVaultSpec) DeepCopy() *PachydermVaultSpec

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

func (*PachydermVaultSpec) DeepCopyInto

func (in *PachydermVaultSpec) DeepCopyInto(out *PachydermVaultSpec)

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

type PachydermVaultStatus

type PachydermVaultStatus struct {
	// Time the backup process commenced
	StartedAt string `json:"startedAt,omitempty"`
	// Time the backup process completed
	CompletedAt string `json:"completedAt,omitempty"`
	// Name and location of backup resource created
	Backup string `json:"backupName"`
}

PachydermVaultStatus defines the observed state of PachydermVault

func (*PachydermVaultStatus) DeepCopy

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

func (*PachydermVaultStatus) DeepCopyInto

func (in *PachydermVaultStatus) DeepCopyInto(out *PachydermVaultStatus)

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

type PostgresOptions

type PostgresOptions struct {
	Disabled     bool                        `json:"disabled,omitempty"`
	StorageClass string                      `json:"storageClass,omitempty"`
	Service      ServiceOverrides            `json:"service,omitempty"`
	Resources    corev1.ResourceRequirements `json:"resources,omitempty"`
}

PostgresOptions allows user to customize Postgresql

func (*PostgresOptions) DeepCopy

func (in *PostgresOptions) DeepCopy() *PostgresOptions

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

func (*PostgresOptions) DeepCopyInto

func (in *PostgresOptions) DeepCopyInto(out *PostgresOptions)

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

type RestoreOptions

type RestoreOptions struct {
	// Name of the pachyderm instance to be
	// deployed from a specific backup
	Pachyderm PachydermRestore `json:"pachyderm"`
	// Name of backup to restore
	BackupName string `json:"backup,omitempty"`
}

func (*RestoreOptions) DeepCopy

func (in *RestoreOptions) DeepCopy() *RestoreOptions

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

func (*RestoreOptions) DeepCopyInto

func (in *RestoreOptions) DeepCopyInto(out *RestoreOptions)

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

type ServiceOverrides

type ServiceOverrides struct {
	Annotations []string `json:"annotations,omitempty"`
	Type        string   `json:"type"`
}

ServiceOverrides allows user to customize k8s service type and annotations

func (*ServiceOverrides) DeepCopy

func (in *ServiceOverrides) DeepCopy() *ServiceOverrides

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

func (*ServiceOverrides) DeepCopyInto

func (in *ServiceOverrides) DeepCopyInto(out *ServiceOverrides)

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

type WorkerOptions

type WorkerOptions struct {
	// Optional image overrides.
	// Used to specify alternative images to use to deploy dash
	Image *ImageOverride `json:"image,omitempty"`
	// Name of worker service account.
	// Defaults to pachyderm-worker service account
	// +kubebuilder:default:=pachyderm-worker
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
}

WorkerOptions allows the user to configure workers

func (*WorkerOptions) DeepCopy

func (in *WorkerOptions) DeepCopy() *WorkerOptions

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

func (*WorkerOptions) DeepCopyInto

func (in *WorkerOptions) DeepCopyInto(out *WorkerOptions)

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