Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the config.porch.kpt.dev v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.porch.kpt.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "config.porch.kpt.dev", 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 ClusterRef ¶
type ClusterRef struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*ClusterRef) DeepCopy ¶
func (in *ClusterRef) DeepCopy() *ClusterRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRef.
func (*ClusterRef) DeepCopyInto ¶
func (in *ClusterRef) DeepCopyInto(out *ClusterRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRef) GetAPIVersion ¶
func (r *ClusterRef) GetAPIVersion() string
func (*ClusterRef) GetKind ¶
func (r *ClusterRef) GetKind() string
func (*ClusterRef) GetName ¶
func (r *ClusterRef) GetName() string
func (*ClusterRef) GetNamespace ¶
func (r *ClusterRef) GetNamespace() string
type ClusterRefStatus ¶
type ClusterRefStatus struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` SyncStatus string `json:"syncStatus,omitempty"` }
func (*ClusterRefStatus) DeepCopy ¶
func (in *ClusterRefStatus) DeepCopy() *ClusterRefStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRefStatus.
func (*ClusterRefStatus) DeepCopyInto ¶
func (in *ClusterRefStatus) DeepCopyInto(out *ClusterRefStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitInfo ¶
type GitInfo struct { Repo string `json:"repo"` Branch string `json:"branch,omitempty"` Revision string `json:"revision,omitempty"` Dir string `json:"dir,omitempty"` Period metav1.Duration `json:"period,omitempty"` Auth string `json:"auth"` GCPServiceAccountEmail string `json:"gcpServiceAccountEmail,omitempty"` Proxy string `json:"proxy,omitempty"` SecretRef SecretReference `json:"secretRef,omitempty"` NoSSLVerify bool `json:"noSSLVerify,omitempty"` }
func (*GitInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitInfo.
func (*GitInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RootSyncInfo ¶
type RootSyncInfo struct {
Spec *RootSyncSpec `json:"spec,omitempty"`
}
func (*RootSyncInfo) DeepCopy ¶
func (in *RootSyncInfo) DeepCopy() *RootSyncInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootSyncInfo.
func (*RootSyncInfo) DeepCopyInto ¶
func (in *RootSyncInfo) DeepCopyInto(out *RootSyncInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RootSyncSet ¶
type RootSyncSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RootSyncSetSpec `json:"spec,omitempty"` Status RootSyncSetStatus `json:"status,omitempty"` }
RootSyncSet is the Schema for the rootsyncsets API
func (*RootSyncSet) DeepCopy ¶
func (in *RootSyncSet) DeepCopy() *RootSyncSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootSyncSet.
func (*RootSyncSet) DeepCopyInto ¶
func (in *RootSyncSet) DeepCopyInto(out *RootSyncSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RootSyncSet) DeepCopyObject ¶
func (in *RootSyncSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RootSyncSetList ¶
type RootSyncSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RootSyncSet `json:"items"` }
RootSyncSetList contains a list of RootSyncSet
func (*RootSyncSetList) DeepCopy ¶
func (in *RootSyncSetList) DeepCopy() *RootSyncSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootSyncSetList.
func (*RootSyncSetList) DeepCopyInto ¶
func (in *RootSyncSetList) DeepCopyInto(out *RootSyncSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RootSyncSetList) DeepCopyObject ¶
func (in *RootSyncSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RootSyncSetSpec ¶
type RootSyncSetSpec struct { ClusterRefs []*ClusterRef `json:"clusterRefs,omitempty"` Template *RootSyncInfo `json:"template,omitempty"` }
RootSyncSetSpec defines the desired state of RootSyncSet
func (*RootSyncSetSpec) DeepCopy ¶
func (in *RootSyncSetSpec) DeepCopy() *RootSyncSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootSyncSetSpec.
func (*RootSyncSetSpec) DeepCopyInto ¶
func (in *RootSyncSetSpec) DeepCopyInto(out *RootSyncSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RootSyncSetStatus ¶
type RootSyncSetStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Conditions describes the reconciliation state of the object. Conditions []metav1.Condition `json:"conditions,omitempty"` ClusterRefStatuses []ClusterRefStatus `json:"clusterRefStatuses,omitempty"` }
RootSyncSetStatus defines the observed state of RootSyncSet
func (*RootSyncSetStatus) DeepCopy ¶
func (in *RootSyncSetStatus) DeepCopy() *RootSyncSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootSyncSetStatus.
func (*RootSyncSetStatus) DeepCopyInto ¶
func (in *RootSyncSetStatus) DeepCopyInto(out *RootSyncSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RootSyncSpec ¶
type RootSyncSpec struct { SourceFormat string `json:"sourceFormat,omitempty"` Git *GitInfo `json:"git,omitempty"` }
func (*RootSyncSpec) DeepCopy ¶
func (in *RootSyncSpec) DeepCopy() *RootSyncSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootSyncSpec.
func (*RootSyncSpec) DeepCopyInto ¶
func (in *RootSyncSpec) DeepCopyInto(out *RootSyncSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretReference ¶
type SecretReference struct { // Name represents the secret name. // +optional Name string `json:"name,omitempty"` }
SecretReference contains the reference to the secret used to connect to Git source of truth.
func (*SecretReference) DeepCopy ¶
func (in *SecretReference) DeepCopy() *SecretReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
func (*SecretReference) DeepCopyInto ¶
func (in *SecretReference) DeepCopyInto(out *SecretReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.