v1alpha1

package
v0.0.0-...-df32d36 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the radosgw provider. +kubebuilder:object:generate=true +groupName=ceph.radosgw.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "ceph.radosgw.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CephUserKind             = reflect.TypeOf(CephUser{}).Name()
	CephUserGroupKind        = schema.GroupKind{Group: Group, Kind: CephUserKind}.String()
	CephUserKindAPIVersion   = CephUserKind + "." + SchemeGroupVersion.String()
	CephUserGroupVersionKind = SchemeGroupVersion.WithKind(CephUserKind)
)

CephUser type metadata.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

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

Functions

This section is empty.

Types

type CephUser

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

	Spec   CephUserSpec   `json:"spec"`
	Status CephUserStatus `json:"status,omitempty"`
}

A CephUser is an example API type. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="CLUSTERNAME",type="string",JSONPath=".spec.providerConfigRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,radosgw}

func (*CephUser) DeepCopy

func (in *CephUser) DeepCopy() *CephUser

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

func (*CephUser) DeepCopyInto

func (in *CephUser) DeepCopyInto(out *CephUser)

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

func (*CephUser) DeepCopyObject

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

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

func (*CephUser) GetCondition

func (mg *CephUser) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CephUser.

func (*CephUser) GetDeletionPolicy

func (mg *CephUser) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CephUser.

func (*CephUser) GetManagementPolicies

func (mg *CephUser) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CephUser.

func (*CephUser) GetProviderConfigReference

func (mg *CephUser) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CephUser.

func (*CephUser) GetProviderReference

func (mg *CephUser) GetProviderReference() *xpv1.Reference

GetProviderReference of this CephUser. Deprecated: Use GetProviderConfigReference.

func (*CephUser) GetPublishConnectionDetailsTo

func (mg *CephUser) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CephUser.

func (*CephUser) GetWriteConnectionSecretToReference

func (mg *CephUser) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CephUser.

func (*CephUser) SetConditions

func (mg *CephUser) SetConditions(c ...xpv1.Condition)

SetConditions of this CephUser.

func (*CephUser) SetDeletionPolicy

func (mg *CephUser) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CephUser.

func (*CephUser) SetManagementPolicies

func (mg *CephUser) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CephUser.

func (*CephUser) SetProviderConfigReference

func (mg *CephUser) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CephUser.

func (*CephUser) SetProviderReference

func (mg *CephUser) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this CephUser. Deprecated: Use SetProviderConfigReference.

func (*CephUser) SetPublishConnectionDetailsTo

func (mg *CephUser) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CephUser.

func (*CephUser) SetWriteConnectionSecretToReference

func (mg *CephUser) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CephUser.

type CephUserList

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

CephUserList contains a list of CephUser

func (*CephUserList) DeepCopy

func (in *CephUserList) DeepCopy() *CephUserList

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

func (*CephUserList) DeepCopyInto

func (in *CephUserList) DeepCopyInto(out *CephUserList)

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

func (*CephUserList) DeepCopyObject

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

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

func (*CephUserList) GetItems

func (l *CephUserList) GetItems() []resource.Managed

GetItems of this CephUserList.

type CephUserObservation

type CephUserObservation struct {
	ObservableField string `json:"observableField,omitempty"`
}

CephUserObservation are the observable fields of a CephUser.

func (*CephUserObservation) DeepCopy

func (in *CephUserObservation) DeepCopy() *CephUserObservation

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

func (*CephUserObservation) DeepCopyInto

func (in *CephUserObservation) DeepCopyInto(out *CephUserObservation)

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

type CephUserParameters

type CephUserParameters struct {
	// The uid of the user (human readable string)
	UID *string `json:"uid"`

	// The displayed name
	DisplayedName *string `json:"displayedName"`

	// The max number of objects allowed for this user
	UserQuotaMaxBuckets *int `json:"userQuotaMaxBuckets"`

	// The maximum storage size (total) in MB
	UserQuotaMaxSizeKB *int `json:"userQuotaMaxSizeKB"`

	// The number of objects for this user
	UserQuotaMaxObjects *int64 `json:"userQuotaMaxObjects"`

	// Config for storing the created user its credentials in vault
	VaultCredentialsStore *VaultConfig `json:"vaultCredentialsStore"`
}

CephUserParameters are the configurable fields of a CephUser.

func (*CephUserParameters) DeepCopy

func (in *CephUserParameters) DeepCopy() *CephUserParameters

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

func (*CephUserParameters) DeepCopyInto

func (in *CephUserParameters) DeepCopyInto(out *CephUserParameters)

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

type CephUserSpec

type CephUserSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       CephUserParameters `json:"forProvider"`
}

A CephUserSpec defines the desired state of a CephUser.

func (*CephUserSpec) DeepCopy

func (in *CephUserSpec) DeepCopy() *CephUserSpec

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

func (*CephUserSpec) DeepCopyInto

func (in *CephUserSpec) DeepCopyInto(out *CephUserSpec)

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

type CephUserStatus

type CephUserStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          CephUserObservation `json:"atProvider,omitempty"`
}

A CephUserStatus represents the observed state of a CephUser.

func (*CephUserStatus) DeepCopy

func (in *CephUserStatus) DeepCopy() *CephUserStatus

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

func (*CephUserStatus) DeepCopyInto

func (in *CephUserStatus) DeepCopyInto(out *CephUserStatus)

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

type VaultConfig

type VaultConfig struct {
	// The version of the Vault KV store to use ("1" or "2")
	KVVersion string `json:"kvVersion"`

	// The address of the Vault server (e.g., "https://vault.example.com:8200")
	Address string `json:"address"`

	// The vault human readable name
	Name string `json:"Name"`

	// The name of the Kubernetes service account authorized to access Vault
	ServiceAccountName string `json:"serviceAccountName"`

	// The mount path in Vault where the secrets engine is
	MountPath string `json:"mountPath"`

	// The secret path in Vault where the credentials are stored
	SecretPath string `json:"secretPath"`
}

func (*VaultConfig) DeepCopy

func (in *VaultConfig) DeepCopy() *VaultConfig

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

func (*VaultConfig) DeepCopyInto

func (in *VaultConfig) DeepCopyInto(out *VaultConfig)

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