Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.libre.sh
Index ¶
- Constants
- Variables
- type AuthenticationFlow
- type Bucket
- type BucketList
- type BucketPolicy
- type BucketPolicyPreset
- type BucketProvider
- type BucketSpec
- type BucketStatus
- type OIDCClient
- func (in *OIDCClient) DeepCopy() *OIDCClient
- func (in *OIDCClient) DeepCopyInto(out *OIDCClient)
- func (in *OIDCClient) DeepCopyObject() runtime.Object
- func (o *OIDCClient) GetConditions() []metav1.Condition
- func (o *OIDCClient) GetImage() string
- func (o *OIDCClient) GetSuspend() bool
- func (o *OIDCClient) GetVersion() string
- func (o *OIDCClient) SecretName() string
- func (o *OIDCClient) SetConditions(conditions []metav1.Condition)
- func (o *OIDCClient) SetSuspend(value bool)
- func (o *OIDCClient) SetVersion(value string)
- type OIDCClientList
- type OIDCClientSpec
- type OIDCClientStatus
- type Postgres
- func (in *Postgres) DeepCopy() *Postgres
- func (in *Postgres) DeepCopyInto(out *Postgres)
- func (in *Postgres) DeepCopyObject() runtime.Object
- func (o *Postgres) GetConditions() []metav1.Condition
- func (postgres *Postgres) SecretName() string
- func (o *Postgres) SetConditions(conditions []metav1.Condition)
- func (postgres *Postgres) User() string
- type PostgresList
- type PostgresSecret
- type PostgresSpec
- type PostgresStatus
- type Redis
- type RedisList
- type RedisPersistence
- type RedisSpec
- type RedisStatus
Constants ¶
const BucketSecretSuffix = "bucket.libre.sh"
const ZalandoTeam = "pg"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.libre.sh", 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 )
var ( IDPSecretName = "idp.sso.libre.sh" ClientSecretAuthenticator = "client-secret" )
Functions ¶
This section is empty.
Types ¶
type AuthenticationFlow ¶ added in v0.2.3
type AuthenticationFlow string
const ( AuthorizationCodeFlow AuthenticationFlow = "authorization-code" ImplicitFlow AuthenticationFlow = "implicit" HybridFlow AuthenticationFlow = "hybrid" )
type Bucket ¶
type Bucket struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BucketSpec `json:"spec,omitempty"` Status BucketStatus `json:"status,omitempty"` }
Bucket is the Schema for the buckets API
func (*Bucket) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bucket.
func (*Bucket) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bucket) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Bucket) GetConditions ¶
func (*Bucket) SecretName ¶
func (*Bucket) SetConditions ¶
type BucketList ¶
type BucketList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Bucket `json:"items"` }
BucketList contains a list of Bucket
func (*BucketList) DeepCopy ¶
func (in *BucketList) DeepCopy() *BucketList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketList.
func (*BucketList) DeepCopyInto ¶
func (in *BucketList) DeepCopyInto(out *BucketList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketList) DeepCopyObject ¶
func (in *BucketList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketPolicy ¶
type BucketPolicy struct { //+optional Preset BucketPolicyPreset `json:"preset,omitempty"` //+optional Custom string `json:"custom,omitempty"` }
func (*BucketPolicy) DeepCopy ¶
func (in *BucketPolicy) DeepCopy() *BucketPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketPolicy.
func (*BucketPolicy) DeepCopyInto ¶
func (in *BucketPolicy) DeepCopyInto(out *BucketPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketPolicyPreset ¶
type BucketPolicyPreset string
+kubebuilder:validation:Enum:=cdn;public;private
const ( BucketCDNPreset BucketPolicyPreset = "cdn" BucketPublicPreset BucketPolicyPreset = "public" BucketPrivatePreset BucketPolicyPreset = "private" )
type BucketProvider ¶
type BucketProvider string
+kubebuilder:validation:Enum:=data;pitr
const ( BucketDataProvider BucketProvider = "data" BucketPITRProvider BucketProvider = "pitr" )
type BucketSpec ¶
type BucketSpec struct { //+optional Suspend bool `json:"suspend,omitempty"` //+required Provider BucketProvider `json:"provider"` //+optional Policy BucketPolicy `json:"policy,omitempty"` //+optional Versioned bool `json:"versioned,omitempty"` //+optional //+kubebuilder:validation:Schemaless //+kubebuilder:pruning:PreserveUnknownFields LifecycleRules []json.RawMessage `json:"lifecycleRules,omitempty"` }
BucketSpec defines the desired state of Bucket
func (*BucketSpec) DeepCopy ¶
func (in *BucketSpec) DeepCopy() *BucketSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketSpec.
func (*BucketSpec) DeepCopyInto ¶
func (in *BucketSpec) DeepCopyInto(out *BucketSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketStatus ¶
type BucketStatus struct { //+optional Conditions []metav1.Condition `json:"conditions,omitempty"` //+kubebuilder:validation:Type=object //+kubebuilder:validation:Schemaless //+kubebuilder:pruning:PreserveUnknownFields State json.RawMessage `json:"state,omitempty"` }
BucketStatus defines the observed state of Bucket
func (*BucketStatus) DeepCopy ¶
func (in *BucketStatus) DeepCopy() *BucketStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketStatus.
func (*BucketStatus) DeepCopyInto ¶
func (in *BucketStatus) DeepCopyInto(out *BucketStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OIDCClient ¶ added in v0.2.3
type OIDCClient struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OIDCClientSpec `json:"spec,omitempty"` Status OIDCClientStatus `json:"status,omitempty"` }
OIDCClient is the Schema for the oidcclients API
func (*OIDCClient) DeepCopy ¶ added in v0.2.3
func (in *OIDCClient) DeepCopy() *OIDCClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCClient.
func (*OIDCClient) DeepCopyInto ¶ added in v0.2.3
func (in *OIDCClient) DeepCopyInto(out *OIDCClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OIDCClient) DeepCopyObject ¶ added in v0.2.3
func (in *OIDCClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OIDCClient) GetConditions ¶ added in v0.2.3
func (o *OIDCClient) GetConditions() []metav1.Condition
func (*OIDCClient) GetImage ¶ added in v0.2.3
func (o *OIDCClient) GetImage() string
func (*OIDCClient) GetSuspend ¶ added in v0.2.3
func (o *OIDCClient) GetSuspend() bool
func (*OIDCClient) GetVersion ¶ added in v0.2.3
func (o *OIDCClient) GetVersion() string
func (*OIDCClient) SecretName ¶ added in v0.2.3
func (o *OIDCClient) SecretName() string
func (*OIDCClient) SetConditions ¶ added in v0.2.3
func (o *OIDCClient) SetConditions(conditions []metav1.Condition)
func (*OIDCClient) SetSuspend ¶ added in v0.2.3
func (o *OIDCClient) SetSuspend(value bool)
func (*OIDCClient) SetVersion ¶ added in v0.2.3
func (o *OIDCClient) SetVersion(value string)
type OIDCClientList ¶ added in v0.2.3
type OIDCClientList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OIDCClient `json:"items"` }
OIDCClientList contains a list of OIDCClient
func (*OIDCClientList) DeepCopy ¶ added in v0.2.3
func (in *OIDCClientList) DeepCopy() *OIDCClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCClientList.
func (*OIDCClientList) DeepCopyInto ¶ added in v0.2.3
func (in *OIDCClientList) DeepCopyInto(out *OIDCClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OIDCClientList) DeepCopyObject ¶ added in v0.2.3
func (in *OIDCClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OIDCClientSpec ¶ added in v0.2.3
type OIDCClientSpec struct { //+kubebuilder:validation:Optional Suspend bool `json:"suspend,omitempty"` //+kubebuilder:validation:Optional Disable bool `json:"disable,omitempty"` //+kubebuilder:validation:Required BaseURL string `json:"baseURL,omitempty"` //+kubebuilder:validation:Optional RedirectURIs []string `json:"redirectURIs,omitempty"` // AuthenticationFlow, can be authorization code flow, implicit flow or hybrid flow //+kubebuilder:validation:Required AuthenticationFlow AuthenticationFlow `json:"authenticationFlow,omitempty"` }
OIDCClientSpec defines the desired state of OIDCClient
func (*OIDCClientSpec) DeepCopy ¶ added in v0.2.3
func (in *OIDCClientSpec) DeepCopy() *OIDCClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCClientSpec.
func (*OIDCClientSpec) DeepCopyInto ¶ added in v0.2.3
func (in *OIDCClientSpec) DeepCopyInto(out *OIDCClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OIDCClientStatus ¶ added in v0.2.3
type OIDCClientStatus struct { //+kubebuilder:validation:Optional Conditions []metav1.Condition `json:"conditions,omitempty"` //+kubebuilder:validation:Type=object //+kubebuilder:validation:Schemaless //+kubebuilder:pruning:PreserveUnknownFields State json.RawMessage `json:"state,omitempty"` }
OIDCClientStatus defines the observed state of OIDCClient
func (*OIDCClientStatus) DeepCopy ¶ added in v0.2.3
func (in *OIDCClientStatus) DeepCopy() *OIDCClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCClientStatus.
func (*OIDCClientStatus) DeepCopyInto ¶ added in v0.2.3
func (in *OIDCClientStatus) DeepCopyInto(out *OIDCClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Postgres ¶
type Postgres struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PostgresSpec `json:"spec,omitempty"` Status PostgresStatus `json:"status,omitempty"` }
Postgres is the Schema for the Postgres API
func (*Postgres) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Postgres.
func (*Postgres) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Postgres) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Postgres) GetConditions ¶
func (*Postgres) SecretName ¶
func (*Postgres) SetConditions ¶
type PostgresList ¶
type PostgresList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Postgres `json:"items"` }
PostgresList contains a list of Postgres
func (*PostgresList) DeepCopy ¶
func (in *PostgresList) DeepCopy() *PostgresList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresList.
func (*PostgresList) DeepCopyInto ¶
func (in *PostgresList) DeepCopyInto(out *PostgresList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresList) DeepCopyObject ¶
func (in *PostgresList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresSecret ¶ added in v0.2.0
+kubebuilder:object:generate=false
func (PostgresSecret) GetDatabase ¶ added in v0.2.0
func (ps PostgresSecret) GetDatabase() string
func (PostgresSecret) GetHost ¶ added in v0.2.0
func (ps PostgresSecret) GetHost() string
func (PostgresSecret) GetPassword ¶ added in v0.2.0
func (ps PostgresSecret) GetPassword() string
func (PostgresSecret) GetURL ¶ added in v0.2.0
func (ps PostgresSecret) GetURL() string
func (PostgresSecret) GetUsername ¶ added in v0.2.0
func (ps PostgresSecret) GetUsername() string
type PostgresSpec ¶
type PostgresSpec struct { //+kubebuilder:validation:Optional Suspend bool `json:"suspend,omitempty"` //+kubebuilder:validation:Required Database string `json:"database"` }
PostgresSpec defines the desired state of Postgres
func (*PostgresSpec) DeepCopy ¶
func (in *PostgresSpec) DeepCopy() *PostgresSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresSpec.
func (*PostgresSpec) DeepCopyInto ¶
func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresStatus ¶
type PostgresStatus struct { //+optional Conditions []metav1.Condition `json:"conditions,omitempty"` //+kubebuilder:validation:Type=object //+kubebuilder:validation:Schemaless //+kubebuilder:pruning:PreserveUnknownFields State json.RawMessage `json:"state,omitempty"` }
PostgresStatus defines the observed state of Postgres
func (*PostgresStatus) DeepCopy ¶
func (in *PostgresStatus) DeepCopy() *PostgresStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresStatus.
func (*PostgresStatus) DeepCopyInto ¶
func (in *PostgresStatus) DeepCopyInto(out *PostgresStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Redis ¶
type Redis struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RedisSpec `json:"spec,omitempty"` Status RedisStatus `json:"status,omitempty"` }
Redis is the Schema for the redis API
func (*Redis) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Redis.
func (*Redis) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Redis) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Redis) GetConditions ¶
func (*Redis) SecretName ¶
func (*Redis) SetConditions ¶
type RedisList ¶
type RedisList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Redis `json:"items"` }
RedisList contains a list of Redis
func (*RedisList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisList.
func (*RedisList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisPersistence ¶
type RedisPersistence struct { //+optional Enabled bool `json:"enabled,omitempty"` }
func (*RedisPersistence) DeepCopy ¶ added in v0.2.0
func (in *RedisPersistence) DeepCopy() *RedisPersistence
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisPersistence.
func (*RedisPersistence) DeepCopyInto ¶ added in v0.2.0
func (in *RedisPersistence) DeepCopyInto(out *RedisPersistence)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisSpec ¶
type RedisSpec struct { //+optional Suspend bool `json:"suspend,omitempty"` //+optional DisableAuth bool `json:"disableAuth,omitempty"` //+optional Persistence RedisPersistence `json:"persistence,omitempty"` }
RedisSpec defines the desired state of Redis
func (*RedisSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSpec.
func (*RedisSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisStatus ¶
type RedisStatus struct { //+optional Conditions []metav1.Condition `json:"conditions,omitempty"` //+kubebuilder:validation:Type=object //+kubebuilder:validation:Schemaless //+kubebuilder:pruning:PreserveUnknownFields State json.RawMessage `json:"state,omitempty"` }
RedisStatus defines the observed state of Redis
func (*RedisStatus) DeepCopy ¶
func (in *RedisStatus) DeepCopy() *RedisStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisStatus.
func (*RedisStatus) DeepCopyInto ¶
func (in *RedisStatus) DeepCopyInto(out *RedisStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.