Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the codewind v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=codewind.eclipse.org
Package v1alpha1 contains API Schema definitions for the codewind v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=codewind.eclipse.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "codewind.eclipse.org", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Codewind ¶
type Codewind struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CodewindSpec `json:"spec,omitempty"`
Status CodewindStatus `json:"status,omitempty"`
}
Codewind is the Schema for the codewinds API +kubebuilder:subresource:status +kubebuilder:resource:path=codewinds,scope=Namespaced +kubebuilder:printcolumn:name="Username",type="string",JSONPath=".spec.username",priority=0,description="Deployment reference name" +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".metadata.namespace",priority=0,description="Deployment namespace" +kubebuilder:printcolumn:name="Workspace",type="string",JSONPath=".metadata.annotations.codewindWorkspace",priority=0,description="WorkspaceID" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",priority=0,description="Age of the resource" +kubebuilder:printcolumn:name="Keycloak",type="string",JSONPath=".spec.keycloakDeployment",priority=0,description="Deployment reference name" +kubebuilder:printcolumn:name="Registration",type="string",JSONPath=".status.keycloakStatus",priority=0,description="Keycloak configuration status" +kubebuilder:printcolumn:name="AccessURL",type="string",JSONPath=".status.accessURL",priority=0,description="Exposed route"
func (*Codewind) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Codewind.
func (*Codewind) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Codewind) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CodewindList ¶
type CodewindList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Codewind `json:"items"`
}
CodewindList contains a list of Codewind
func (*CodewindList) DeepCopy ¶
func (in *CodewindList) DeepCopy() *CodewindList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodewindList.
func (*CodewindList) DeepCopyInto ¶
func (in *CodewindList) DeepCopyInto(out *CodewindList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CodewindList) DeepCopyObject ¶
func (in *CodewindList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CodewindSpec ¶
type CodewindSpec struct {
// KeycloakDeployment : name of the keycloak deployment used by this instance of codewind
// +kubebuilder:validation:Pattern=^[A-Za-z0-9/-]*$
KeycloakDeployment string `json:"keycloakDeployment"`
// Developer username assigned to this instance
// +kubebuilder:validation:Pattern=^[A-Za-z0-9/-]*$
Username string `json:"username"`
// Codewind Storage size
// +kubebuilder:validation:Pattern=[0-9]*Gi$
StorageSize string `json:"storageSize"`
// LogLevel within pods
LogLevel string `json:"logLevel"`
}
CodewindSpec defines the desired state of Codewind
func (*CodewindSpec) DeepCopy ¶
func (in *CodewindSpec) DeepCopy() *CodewindSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodewindSpec.
func (*CodewindSpec) DeepCopyInto ¶
func (in *CodewindSpec) DeepCopyInto(out *CodewindSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CodewindStatus ¶
type CodewindStatus struct {
// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
// Keycloak access URL
AuthURL string `json:"authURL"`
// Exposed Ingress of Codewind (Gatekeeper)
AccessURL string `json:"accessURL"`
// Keycloak Configuration status
KeycloakStatus string `json:"keycloakStatus"`
}
CodewindStatus defines the observed state of Codewind
func (*CodewindStatus) DeepCopy ¶
func (in *CodewindStatus) DeepCopy() *CodewindStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodewindStatus.
func (*CodewindStatus) DeepCopyInto ¶
func (in *CodewindStatus) DeepCopyInto(out *CodewindStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Keycloak ¶
type Keycloak struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec KeycloakSpec `json:"spec,omitempty"`
Status KeycloakStatus `json:"status,omitempty"`
}
Keycloak is the Schema for the keycloaks API +kubebuilder:subresource:status +kubebuilder:resource:path=keycloaks,scope=Namespaced +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".metadata.namespace",priority=0,description="Deployment namespace" +kubebuilder:printcolumn:name="AuthID",type="string",JSONPath=".metadata.annotations.authID",priority=0,description="Deployment AuthID" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",priority=0,description="Age of the resource" +kubebuilder:printcolumn:name="Access",type="string",JSONPath=".status.url",priority=0,description="Exposed route"
func (*Keycloak) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keycloak.
func (*Keycloak) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Keycloak) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeycloakList ¶
type KeycloakList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Keycloak `json:"items"`
}
KeycloakList contains a list of Keycloak
func (*KeycloakList) DeepCopy ¶
func (in *KeycloakList) DeepCopy() *KeycloakList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakList.
func (*KeycloakList) DeepCopyInto ¶
func (in *KeycloakList) DeepCopyInto(out *KeycloakList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeycloakList) DeepCopyObject ¶
func (in *KeycloakList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeycloakSpec ¶
type KeycloakSpec struct {
// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
// StorageSize : Size of the Keycloak PVC
// +kubebuilder:validation:Pattern=[0-9]*Gi$
StorageSize string `json:"storageSize"`
}
KeycloakSpec defines the desired state of Keycloak
func (*KeycloakSpec) DeepCopy ¶
func (in *KeycloakSpec) DeepCopy() *KeycloakSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakSpec.
func (*KeycloakSpec) DeepCopyInto ¶
func (in *KeycloakSpec) DeepCopyInto(out *KeycloakSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeycloakStatus ¶
type KeycloakStatus struct {
// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
Phase string `json:"phase"`
AccessURL string `json:"url"`
DefaultRealm string `json:"defaultRealm"`
}
KeycloakStatus defines the observed state of Keycloak
func (*KeycloakStatus) DeepCopy ¶
func (in *KeycloakStatus) DeepCopy() *KeycloakStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakStatus.
func (*KeycloakStatus) DeepCopyInto ¶
func (in *KeycloakStatus) DeepCopyInto(out *KeycloakStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.