Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +kubebuilder:object:generate=true +groupName=cache.converged-computing.github.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cache.converged-computing.github.io", 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 )
Functions ¶
func NewMutatingWebhook ¶
NewMutatingWebhook allows us to keep the sidecarInjector private If it's public it's exported and kubebuilder tries to add to zz_generated_deepcopy and you get all kinds of terrible errors about admission.Decoder missing DeepCopyInto
Types ¶
type OrasCache ¶
type OrasCache struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OrasCacheSpec `json:"spec,omitempty"` Status OrasCacheStatus `json:"status,omitempty"` }
OrasCache is the Schema for the orascaches API
func (*OrasCache) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrasCache.
func (*OrasCache) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrasCache) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrasCacheList ¶
type OrasCacheList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OrasCache `json:"items"` }
OrasCacheList contains a list of OrasCache
func (*OrasCacheList) DeepCopy ¶
func (in *OrasCacheList) DeepCopy() *OrasCacheList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrasCacheList.
func (*OrasCacheList) DeepCopyInto ¶
func (in *OrasCacheList) DeepCopyInto(out *OrasCacheList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrasCacheList) DeepCopyObject ¶
func (in *OrasCacheList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrasCacheSpec ¶
type OrasCacheSpec struct { // Image is the oras registry to deploy // +kubebuilder:default="ghcr.io/oras-project/registry:latest" // +default="ghcr.io/oras-project/registry:latest" // +optional Image string `json:"image"` // Names of secrets for the operator // +optional Secrets Secrets `json:"secrets"` // Skip deploying the registry (stateful set) implying all references // are for a remote (existing) registry // +kubebuilder:default=true // +default=true // +optional Deploy bool `json:"deploy"` }
OrasCacheSpec defines the desired state of OrasCache
func (*OrasCacheSpec) DeepCopy ¶
func (in *OrasCacheSpec) DeepCopy() *OrasCacheSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrasCacheSpec.
func (*OrasCacheSpec) DeepCopyInto ¶
func (in *OrasCacheSpec) DeepCopyInto(out *OrasCacheSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrasCacheStatus ¶
type OrasCacheStatus struct { }
OrasCacheStatus defines the observed state of OrasCache
func (*OrasCacheStatus) DeepCopy ¶
func (in *OrasCacheStatus) DeepCopy() *OrasCacheStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrasCacheStatus.
func (*OrasCacheStatus) DeepCopyInto ¶
func (in *OrasCacheStatus) DeepCopyInto(out *OrasCacheStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secrets ¶
type Secrets struct { // Secrets for the environment for the ORAS operator sidecar pod to push // e.g., oras pull -u username -p password myregistry.io/myimage:latest // This should have ORAS_USER and ORAS_PASS // +optional OrasEnv string `json:"orasEnv"` // Secret for the registry REGISTRY_HTTP_SECRET // +optional RegistryHttp string `json:"registryHttp"` }
func (*Secrets) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secrets.
func (*Secrets) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.