Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the extension v1alpha1 API group +kubebuilder:object:generate=true +groupName=extension.projectsveltos.io
Index ¶
Constants ¶
const (
YttSourceKind = "YttSourceKind"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "extension.projectsveltos.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 ¶
This section is empty.
Types ¶
type YttSource ¶
type YttSource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec YttSourceSpec `json:"spec,omitempty"` Status YttSourceStatus `json:"status,omitempty"` }
YttSource is the Schema for the yttsources API
func (*YttSource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YttSource.
func (*YttSource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*YttSource) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type YttSourceList ¶
type YttSourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []YttSource `json:"items"` }
YttSourceList contains a list of YttSource
func (*YttSourceList) DeepCopy ¶
func (in *YttSourceList) DeepCopy() *YttSourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YttSourceList.
func (*YttSourceList) DeepCopyInto ¶
func (in *YttSourceList) DeepCopyInto(out *YttSourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*YttSourceList) DeepCopyObject ¶
func (in *YttSourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type YttSourceSpec ¶
type YttSourceSpec struct { // Namespace of the referenced resource. // Namespace can be left empty. In such a case, namespace will // be implicit set to cluster's namespace. Namespace string `json:"namespace"` // Name of the rreferenced resource. // +kubebuilder:validation:MinLength=1 Name string `json:"name"` // Kind of the resource. Supported kinds are: // - flux GitRepository;OCIRepository;Bucket // - ConfigMap/Secret (which will be mounted as volume) // +kubebuilder:validation:Enum=GitRepository;OCIRepository;Bucket;ConfigMap;Secret Kind string `json:"kind"` // Path to the directory containing the kustomization.yaml file, or the // set of plain YAMLs a kustomization.yaml should be generated for. // Defaults to 'None', which translates to the root path of the SourceRef. // +optional Path string `json:"path,omitempty"` }
YttSourceSpec defines the desired state of YttSource
func (*YttSourceSpec) DeepCopy ¶
func (in *YttSourceSpec) DeepCopy() *YttSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YttSourceSpec.
func (*YttSourceSpec) DeepCopyInto ¶
func (in *YttSourceSpec) DeepCopyInto(out *YttSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type YttSourceStatus ¶
type YttSourceStatus struct { // Resources contains the output of YTT, so the // resources to be deployed Resources string `json:"resources,omitempty"` // FailureMessage provides more information about the error. // +optional FailureMessage *string `json:"failureMessage,omitempty"` }
YttSourceStatus defines the observed state of YttSource
func (*YttSourceStatus) DeepCopy ¶
func (in *YttSourceStatus) DeepCopy() *YttSourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YttSourceStatus.
func (*YttSourceStatus) DeepCopyInto ¶
func (in *YttSourceStatus) DeepCopyInto(out *YttSourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.