v1alpha1

package
v0.0.0-...-5006184 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=platform.arangodb.com

Index

Constants

View Source
const (
	DeploymentFoundCondition api.ConditionType = "DeploymentFound"
	SpecValidCondition       api.ConditionType = "SpecValid"
	ReadyCondition           api.ConditionType = "Ready"
)
View Source
const (
	ArangoPlatformVersion = "v1alpha1"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme

	SchemeGroupVersion = schema.GroupVersion{Group: platform.ArangoPlatformGroupName, Version: ArangoPlatformVersion}
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource gets an ArangoCluster GroupResource for a specified resource

Types

type ArangoPlatformChart

type ArangoPlatformChart struct {
	meta.TypeMeta   `json:",inline"`
	meta.ObjectMeta `json:"metadata,omitempty"`

	Spec   ArangoPlatformChartSpec   `json:"spec"`
	Status ArangoPlatformChartStatus `json:"status"`
}

ArangoPlatformChart contains definition and status of the ArangoPlatform Chart.

func (*ArangoPlatformChart) AsOwner

AsOwner creates an OwnerReference for the given Extension

func (*ArangoPlatformChart) DeepCopy

func (in *ArangoPlatformChart) DeepCopy() *ArangoPlatformChart

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

func (*ArangoPlatformChart) DeepCopyInto

func (in *ArangoPlatformChart) DeepCopyInto(out *ArangoPlatformChart)

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

func (*ArangoPlatformChart) DeepCopyObject

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

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

func (*ArangoPlatformChart) GetStatus

func (*ArangoPlatformChart) SetStatus

func (a *ArangoPlatformChart) SetStatus(status ArangoPlatformChartStatus)

type ArangoPlatformChartList

type ArangoPlatformChartList struct {
	meta.TypeMeta `json:",inline"`
	meta.ListMeta `json:"metadata,omitempty"`

	Items []ArangoPlatformChart `json:"items"`
}

ArangoPlatformChartList is a list of ArangoPlatform Chart.

func (*ArangoPlatformChartList) DeepCopy

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

func (*ArangoPlatformChartList) DeepCopyInto

func (in *ArangoPlatformChartList) DeepCopyInto(out *ArangoPlatformChartList)

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

func (*ArangoPlatformChartList) DeepCopyObject

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

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

type ArangoPlatformChartSpec

type ArangoPlatformChartSpec struct {
	Definition sharedApi.Data `json:"definition,omitempty"`
}

func (*ArangoPlatformChartSpec) DeepCopy

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

func (*ArangoPlatformChartSpec) DeepCopyInto

func (in *ArangoPlatformChartSpec) DeepCopyInto(out *ArangoPlatformChartSpec)

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

func (*ArangoPlatformChartSpec) Validate

func (c *ArangoPlatformChartSpec) Validate() error

type ArangoPlatformChartStatus

type ArangoPlatformChartStatus struct {
	Info *ChartStatusInfo `json:"info,omitempty"`

	// Conditions specific to the entire storage
	// +doc/type: api.Conditions
	Conditions api.ConditionList `json:"conditions,omitempty"`
}

func (*ArangoPlatformChartStatus) DeepCopy

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

func (*ArangoPlatformChartStatus) DeepCopyInto

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

type ArangoPlatformStorage

type ArangoPlatformStorage struct {
	meta.TypeMeta   `json:",inline"`
	meta.ObjectMeta `json:"metadata,omitempty"`

	Spec   ArangoPlatformStorageSpec   `json:"spec"`
	Status ArangoPlatformStorageStatus `json:"status"`
}

ArangoPlatformStorage contains definition and status of the ArangoPlatform Storage.

func (*ArangoPlatformStorage) AsOwner

AsOwner creates an OwnerReference for the given Extension

func (*ArangoPlatformStorage) DeepCopy

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

func (*ArangoPlatformStorage) DeepCopyInto

func (in *ArangoPlatformStorage) DeepCopyInto(out *ArangoPlatformStorage)

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

func (*ArangoPlatformStorage) DeepCopyObject

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

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

func (*ArangoPlatformStorage) GetStatus

func (*ArangoPlatformStorage) SetStatus

type ArangoPlatformStorageList

type ArangoPlatformStorageList struct {
	meta.TypeMeta `json:",inline"`
	meta.ListMeta `json:"metadata,omitempty"`

	Items []ArangoPlatformStorage `json:"items"`
}

ArangoPlatformStorageList is a list of ArangoPlatform Storage.

func (*ArangoPlatformStorageList) DeepCopy

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

func (*ArangoPlatformStorageList) DeepCopyInto

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

func (*ArangoPlatformStorageList) DeepCopyObject

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

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

type ArangoPlatformStorageSpec

type ArangoPlatformStorageSpec struct {
	// Backend defines how storage is implemented
	Backend *ArangoPlatformStorageSpecBackend `json:"backend,omitempty"`
}

func (*ArangoPlatformStorageSpec) DeepCopy

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

func (*ArangoPlatformStorageSpec) DeepCopyInto

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

func (*ArangoPlatformStorageSpec) GetBackend

func (*ArangoPlatformStorageSpec) Validate

func (s *ArangoPlatformStorageSpec) Validate() error

type ArangoPlatformStorageSpecBackend

type ArangoPlatformStorageSpecBackend struct {
	// S3 backend implements storage as a proxy to the provided S3 API endpoint
	S3 *ArangoPlatformStorageSpecBackendS3 `json:"s3,omitempty"`
}

func (*ArangoPlatformStorageSpecBackend) DeepCopy

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

func (*ArangoPlatformStorageSpecBackend) DeepCopyInto

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

func (*ArangoPlatformStorageSpecBackend) GetS3

func (*ArangoPlatformStorageSpecBackend) Validate

type ArangoPlatformStorageSpecBackendS3

type ArangoPlatformStorageSpecBackendS3 struct {
	// BucketName specifies the name of the bucket
	// Required
	BucketName *string `json:"bucketName,omitempty"`
	// BucketPath specifies the Prefix within the bucket
	// +doc/default:
	BucketPrefix *string `json:"bucketPath,omitempty"`
	// Endpoint specifies the S3 API-compatible endpoint which implements storage
	// Required
	Endpoint *string `json:"endpoint"`
	// CredentialsSecret specifies the Kubernetes Secret containing AccessKey and SecretKey for S3 API authorization
	// Required
	CredentialsSecret *sharedApi.Object `json:"credentialsSecret"`
	// AllowInsecure if set to true, the Endpoint certificates won't be checked
	// +doc/default: false
	AllowInsecure *bool `json:"allowInsecure,omitempty"`
	// CASecret if not empty, the given Kubernetes Secret will be used to check the authenticity of Endpoint
	// The specified Secret, must contain the following data fields:
	// - `ca.crt` PEM encoded public key of the CA certificate
	// - `ca.key` PEM encoded private key of the CA certificate
	// +doc/default: nil
	CASecret *sharedApi.Object `json:"caSecret,omitempty"`
	// Region defines the availability zone name.
	// +doc/default: ""
	Region *string `json:"region,omitempty"`
}

func (*ArangoPlatformStorageSpecBackendS3) DeepCopy

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

func (*ArangoPlatformStorageSpecBackendS3) DeepCopyInto

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

func (*ArangoPlatformStorageSpecBackendS3) GetAllowInsecure

func (s *ArangoPlatformStorageSpecBackendS3) GetAllowInsecure() bool

func (*ArangoPlatformStorageSpecBackendS3) GetBucketName

func (s *ArangoPlatformStorageSpecBackendS3) GetBucketName() string

func (*ArangoPlatformStorageSpecBackendS3) GetBucketPrefix

func (s *ArangoPlatformStorageSpecBackendS3) GetBucketPrefix() string

func (*ArangoPlatformStorageSpecBackendS3) GetCASecret

func (*ArangoPlatformStorageSpecBackendS3) GetCredentialsSecret

func (s *ArangoPlatformStorageSpecBackendS3) GetCredentialsSecret() *sharedApi.Object

func (*ArangoPlatformStorageSpecBackendS3) GetEndpoint

func (s *ArangoPlatformStorageSpecBackendS3) GetEndpoint() string

func (*ArangoPlatformStorageSpecBackendS3) GetRegion

func (*ArangoPlatformStorageSpecBackendS3) Validate

type ArangoPlatformStorageSpecMode

type ArangoPlatformStorageSpecMode struct {
	// Sidecar mode runs the storage implementation as a sidecar
	Sidecar *ArangoPlatformStorageSpecModeSidecar `json:"sidecar,omitempty"`
}

func (*ArangoPlatformStorageSpecMode) DeepCopy

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

func (*ArangoPlatformStorageSpecMode) DeepCopyInto

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

func (*ArangoPlatformStorageSpecMode) GetSidecar

func (*ArangoPlatformStorageSpecMode) GetType

func (*ArangoPlatformStorageSpecMode) Validate

func (s *ArangoPlatformStorageSpecMode) Validate() error

type ArangoPlatformStorageSpecModeSidecar

type ArangoPlatformStorageSpecModeSidecar struct {
}

func (*ArangoPlatformStorageSpecModeSidecar) DeepCopy

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

func (*ArangoPlatformStorageSpecModeSidecar) DeepCopyInto

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

type ArangoPlatformStorageSpecModeType

type ArangoPlatformStorageSpecModeType int
const (
	ArangoPlatformStorageSpecModeTypeUnknown ArangoPlatformStorageSpecModeType = iota
	ArangoPlatformStorageSpecModeTypeSidecar
)

type ArangoPlatformStorageStatus

type ArangoPlatformStorageStatus struct {
	// Conditions specific to the entire storage
	// +doc/type: api.Conditions
	Conditions api.ConditionList `json:"conditions,omitempty"`
}

func (*ArangoPlatformStorageStatus) DeepCopy

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

func (*ArangoPlatformStorageStatus) DeepCopyInto

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

type ChartDetails

type ChartDetails struct {
	Name     string                `json:"name,omitempty"`
	Version  string                `json:"version,omitempty"`
	Platform *ChartDetailsPlatform `json:"platform,omitempty"`
}

func (*ChartDetails) DeepCopy

func (in *ChartDetails) DeepCopy() *ChartDetails

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

func (*ChartDetails) DeepCopyInto

func (in *ChartDetails) DeepCopyInto(out *ChartDetails)

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

func (*ChartDetails) GetName

func (c *ChartDetails) GetName() string

func (*ChartDetails) GetPlatform

func (c *ChartDetails) GetPlatform() *ChartDetailsPlatform

func (*ChartDetails) GetVersion

func (c *ChartDetails) GetVersion() string

type ChartDetailsPlatform

type ChartDetailsPlatform struct {
	Requirements ChartDetailsPlatformRequirements `json:"requirements,omitempty"`
}

func (*ChartDetailsPlatform) DeepCopy

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

func (*ChartDetailsPlatform) DeepCopyInto

func (in *ChartDetailsPlatform) DeepCopyInto(out *ChartDetailsPlatform)

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

func (*ChartDetailsPlatform) GetRequirements

type ChartDetailsPlatformRequirements

type ChartDetailsPlatformRequirements map[string]ChartDetailsPlatformVersionConstrain

func (ChartDetailsPlatformRequirements) DeepCopy

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

func (ChartDetailsPlatformRequirements) DeepCopyInto

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

type ChartDetailsPlatformVersionConstrain

type ChartDetailsPlatformVersionConstrain string

func (*ChartDetailsPlatformVersionConstrain) AsSemverConstrain

type ChartStatusInfo

type ChartStatusInfo struct {
	Definition sharedApi.Data `json:"definition,omitempty"`
	Checksum   string         `json:"checksum,omitempty"`

	Valid   bool   `json:"valid,omitempty"`
	Message string `json:"message,omitempty"`

	Details *ChartDetails `json:"details,omitempty"`
}

func (*ChartStatusInfo) DeepCopy

func (in *ChartStatusInfo) DeepCopy() *ChartStatusInfo

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

func (*ChartStatusInfo) DeepCopyInto

func (in *ChartStatusInfo) DeepCopyInto(out *ChartStatusInfo)

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