Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleContainerTools/kpt/porch/api/porch +k8s:defaulter-gen=TypeMeta +groupName=porch.kpt.dev
Index ¶
- Constants
- Variables
- func Convert_porch_Condition_To_v1alpha1_Condition(in *porch.Condition, out *Condition, s conversion.Scope) error
- func Convert_porch_Field_To_v1alpha1_Field(in *porch.Field, out *Field, s conversion.Scope) error
- func Convert_porch_File_To_v1alpha1_File(in *porch.File, out *File, s conversion.Scope) error
- func Convert_porch_FunctionConfig_To_v1alpha1_FunctionConfig(in *porch.FunctionConfig, out *FunctionConfig, s conversion.Scope) error
- func Convert_porch_FunctionEvalTaskSpec_To_v1alpha1_FunctionEvalTaskSpec(in *porch.FunctionEvalTaskSpec, out *FunctionEvalTaskSpec, s conversion.Scope) error
- func Convert_porch_FunctionList_To_v1alpha1_FunctionList(in *porch.FunctionList, out *FunctionList, s conversion.Scope) error
- func Convert_porch_FunctionRef_To_v1alpha1_FunctionRef(in *porch.FunctionRef, out *FunctionRef, s conversion.Scope) error
- func Convert_porch_FunctionSpec_To_v1alpha1_FunctionSpec(in *porch.FunctionSpec, out *FunctionSpec, s conversion.Scope) error
- func Convert_porch_FunctionStatus_To_v1alpha1_FunctionStatus(in *porch.FunctionStatus, out *FunctionStatus, s conversion.Scope) error
- func Convert_porch_Function_To_v1alpha1_Function(in *porch.Function, out *Function, s conversion.Scope) error
- func Convert_porch_GitLock_To_v1alpha1_GitLock(in *porch.GitLock, out *GitLock, s conversion.Scope) error
- func Convert_porch_GitPackage_To_v1alpha1_GitPackage(in *porch.GitPackage, out *GitPackage, s conversion.Scope) error
- func Convert_porch_NameMeta_To_v1alpha1_NameMeta(in *porch.NameMeta, out *NameMeta, s conversion.Scope) error
- func Convert_porch_OciPackage_To_v1alpha1_OciPackage(in *porch.OciPackage, out *OciPackage, s conversion.Scope) error
- func Convert_porch_PackageCloneTaskSpec_To_v1alpha1_PackageCloneTaskSpec(in *porch.PackageCloneTaskSpec, out *PackageCloneTaskSpec, s conversion.Scope) error
- func Convert_porch_PackageEditTaskSpec_To_v1alpha1_PackageEditTaskSpec(in *porch.PackageEditTaskSpec, out *PackageEditTaskSpec, s conversion.Scope) error
- func Convert_porch_PackageInitTaskSpec_To_v1alpha1_PackageInitTaskSpec(in *porch.PackageInitTaskSpec, out *PackageInitTaskSpec, s conversion.Scope) error
- func Convert_porch_PackageList_To_v1alpha1_PackageList(in *porch.PackageList, out *PackageList, s conversion.Scope) error
- func Convert_porch_PackagePatchTaskSpec_To_v1alpha1_PackagePatchTaskSpec(in *porch.PackagePatchTaskSpec, out *PackagePatchTaskSpec, s conversion.Scope) error
- func Convert_porch_PackageRevisionList_To_v1alpha1_PackageRevisionList(in *porch.PackageRevisionList, out *PackageRevisionList, s conversion.Scope) error
- func Convert_porch_PackageRevisionRef_To_v1alpha1_PackageRevisionRef(in *porch.PackageRevisionRef, out *PackageRevisionRef, s conversion.Scope) error
- func Convert_porch_PackageRevisionResourcesList_To_v1alpha1_PackageRevisionResourcesList(in *porch.PackageRevisionResourcesList, out *PackageRevisionResourcesList, ...) error
- func Convert_porch_PackageRevisionResourcesSpec_To_v1alpha1_PackageRevisionResourcesSpec(in *porch.PackageRevisionResourcesSpec, out *PackageRevisionResourcesSpec, ...) error
- func Convert_porch_PackageRevisionResourcesStatus_To_v1alpha1_PackageRevisionResourcesStatus(in *porch.PackageRevisionResourcesStatus, out *PackageRevisionResourcesStatus, ...) error
- func Convert_porch_PackageRevisionResources_To_v1alpha1_PackageRevisionResources(in *porch.PackageRevisionResources, out *PackageRevisionResources, ...) error
- func Convert_porch_PackageRevisionSpec_To_v1alpha1_PackageRevisionSpec(in *porch.PackageRevisionSpec, out *PackageRevisionSpec, s conversion.Scope) error
- func Convert_porch_PackageRevisionStatus_To_v1alpha1_PackageRevisionStatus(in *porch.PackageRevisionStatus, out *PackageRevisionStatus, ...) error
- func Convert_porch_PackageRevision_To_v1alpha1_PackageRevision(in *porch.PackageRevision, out *PackageRevision, s conversion.Scope) error
- func Convert_porch_PackageSpec_To_v1alpha1_PackageSpec(in *porch.PackageSpec, out *PackageSpec, s conversion.Scope) error
- func Convert_porch_PackageStatus_To_v1alpha1_PackageStatus(in *porch.PackageStatus, out *PackageStatus, s conversion.Scope) error
- func Convert_porch_PackageUpdateTaskSpec_To_v1alpha1_PackageUpdateTaskSpec(in *porch.PackageUpdateTaskSpec, out *PackageUpdateTaskSpec, ...) error
- func Convert_porch_Package_To_v1alpha1_Package(in *porch.Package, out *Package, s conversion.Scope) error
- func Convert_porch_ParentReference_To_v1alpha1_ParentReference(in *porch.ParentReference, out *ParentReference, s conversion.Scope) error
- func Convert_porch_PatchSpec_To_v1alpha1_PatchSpec(in *porch.PatchSpec, out *PatchSpec, s conversion.Scope) error
- func Convert_porch_ReadinessGate_To_v1alpha1_ReadinessGate(in *porch.ReadinessGate, out *ReadinessGate, s conversion.Scope) error
- func Convert_porch_RenderStatus_To_v1alpha1_RenderStatus(in *porch.RenderStatus, out *RenderStatus, s conversion.Scope) error
- func Convert_porch_RepositoryRef_To_v1alpha1_RepositoryRef(in *porch.RepositoryRef, out *RepositoryRef, s conversion.Scope) error
- func Convert_porch_ResourceIdentifier_To_v1alpha1_ResourceIdentifier(in *porch.ResourceIdentifier, out *ResourceIdentifier, s conversion.Scope) error
- func Convert_porch_ResultItem_To_v1alpha1_ResultItem(in *porch.ResultItem, out *ResultItem, s conversion.Scope) error
- func Convert_porch_ResultList_To_v1alpha1_ResultList(in *porch.ResultList, out *ResultList, s conversion.Scope) error
- func Convert_porch_Result_To_v1alpha1_Result(in *porch.Result, out *Result, s conversion.Scope) error
- func Convert_porch_SecretRef_To_v1alpha1_SecretRef(in *porch.SecretRef, out *SecretRef, s conversion.Scope) error
- func Convert_porch_Selector_To_v1alpha1_Selector(in *porch.Selector, out *Selector, s conversion.Scope) error
- func Convert_porch_TaskResult_To_v1alpha1_TaskResult(in *porch.TaskResult, out *TaskResult, s conversion.Scope) error
- func Convert_porch_Task_To_v1alpha1_Task(in *porch.Task, out *Task, s conversion.Scope) error
- func Convert_porch_UpstreamLock_To_v1alpha1_UpstreamLock(in *porch.UpstreamLock, out *UpstreamLock, s conversion.Scope) error
- func Convert_porch_UpstreamPackage_To_v1alpha1_UpstreamPackage(in *porch.UpstreamPackage, out *UpstreamPackage, s conversion.Scope) error
- func Convert_v1alpha1_Condition_To_porch_Condition(in *Condition, out *porch.Condition, s conversion.Scope) error
- func Convert_v1alpha1_Field_To_porch_Field(in *Field, out *porch.Field, s conversion.Scope) error
- func Convert_v1alpha1_File_To_porch_File(in *File, out *porch.File, s conversion.Scope) error
- func Convert_v1alpha1_FunctionConfig_To_porch_FunctionConfig(in *FunctionConfig, out *porch.FunctionConfig, s conversion.Scope) error
- func Convert_v1alpha1_FunctionEvalTaskSpec_To_porch_FunctionEvalTaskSpec(in *FunctionEvalTaskSpec, out *porch.FunctionEvalTaskSpec, s conversion.Scope) error
- func Convert_v1alpha1_FunctionList_To_porch_FunctionList(in *FunctionList, out *porch.FunctionList, s conversion.Scope) error
- func Convert_v1alpha1_FunctionRef_To_porch_FunctionRef(in *FunctionRef, out *porch.FunctionRef, s conversion.Scope) error
- func Convert_v1alpha1_FunctionSpec_To_porch_FunctionSpec(in *FunctionSpec, out *porch.FunctionSpec, s conversion.Scope) error
- func Convert_v1alpha1_FunctionStatus_To_porch_FunctionStatus(in *FunctionStatus, out *porch.FunctionStatus, s conversion.Scope) error
- func Convert_v1alpha1_Function_To_porch_Function(in *Function, out *porch.Function, s conversion.Scope) error
- func Convert_v1alpha1_GitLock_To_porch_GitLock(in *GitLock, out *porch.GitLock, s conversion.Scope) error
- func Convert_v1alpha1_GitPackage_To_porch_GitPackage(in *GitPackage, out *porch.GitPackage, s conversion.Scope) error
- func Convert_v1alpha1_NameMeta_To_porch_NameMeta(in *NameMeta, out *porch.NameMeta, s conversion.Scope) error
- func Convert_v1alpha1_OciPackage_To_porch_OciPackage(in *OciPackage, out *porch.OciPackage, s conversion.Scope) error
- func Convert_v1alpha1_PackageCloneTaskSpec_To_porch_PackageCloneTaskSpec(in *PackageCloneTaskSpec, out *porch.PackageCloneTaskSpec, s conversion.Scope) error
- func Convert_v1alpha1_PackageEditTaskSpec_To_porch_PackageEditTaskSpec(in *PackageEditTaskSpec, out *porch.PackageEditTaskSpec, s conversion.Scope) error
- func Convert_v1alpha1_PackageInitTaskSpec_To_porch_PackageInitTaskSpec(in *PackageInitTaskSpec, out *porch.PackageInitTaskSpec, s conversion.Scope) error
- func Convert_v1alpha1_PackageList_To_porch_PackageList(in *PackageList, out *porch.PackageList, s conversion.Scope) error
- func Convert_v1alpha1_PackagePatchTaskSpec_To_porch_PackagePatchTaskSpec(in *PackagePatchTaskSpec, out *porch.PackagePatchTaskSpec, s conversion.Scope) error
- func Convert_v1alpha1_PackageRevisionList_To_porch_PackageRevisionList(in *PackageRevisionList, out *porch.PackageRevisionList, s conversion.Scope) error
- func Convert_v1alpha1_PackageRevisionRef_To_porch_PackageRevisionRef(in *PackageRevisionRef, out *porch.PackageRevisionRef, s conversion.Scope) error
- func Convert_v1alpha1_PackageRevisionResourcesList_To_porch_PackageRevisionResourcesList(in *PackageRevisionResourcesList, out *porch.PackageRevisionResourcesList, ...) error
- func Convert_v1alpha1_PackageRevisionResourcesSpec_To_porch_PackageRevisionResourcesSpec(in *PackageRevisionResourcesSpec, out *porch.PackageRevisionResourcesSpec, ...) error
- func Convert_v1alpha1_PackageRevisionResourcesStatus_To_porch_PackageRevisionResourcesStatus(in *PackageRevisionResourcesStatus, out *porch.PackageRevisionResourcesStatus, ...) error
- func Convert_v1alpha1_PackageRevisionResources_To_porch_PackageRevisionResources(in *PackageRevisionResources, out *porch.PackageRevisionResources, ...) error
- func Convert_v1alpha1_PackageRevisionSpec_To_porch_PackageRevisionSpec(in *PackageRevisionSpec, out *porch.PackageRevisionSpec, s conversion.Scope) error
- func Convert_v1alpha1_PackageRevisionStatus_To_porch_PackageRevisionStatus(in *PackageRevisionStatus, out *porch.PackageRevisionStatus, ...) error
- func Convert_v1alpha1_PackageRevision_To_porch_PackageRevision(in *PackageRevision, out *porch.PackageRevision, s conversion.Scope) error
- func Convert_v1alpha1_PackageSpec_To_porch_PackageSpec(in *PackageSpec, out *porch.PackageSpec, s conversion.Scope) error
- func Convert_v1alpha1_PackageStatus_To_porch_PackageStatus(in *PackageStatus, out *porch.PackageStatus, s conversion.Scope) error
- func Convert_v1alpha1_PackageUpdateTaskSpec_To_porch_PackageUpdateTaskSpec(in *PackageUpdateTaskSpec, out *porch.PackageUpdateTaskSpec, ...) error
- func Convert_v1alpha1_Package_To_porch_Package(in *Package, out *porch.Package, s conversion.Scope) error
- func Convert_v1alpha1_ParentReference_To_porch_ParentReference(in *ParentReference, out *porch.ParentReference, s conversion.Scope) error
- func Convert_v1alpha1_PatchSpec_To_porch_PatchSpec(in *PatchSpec, out *porch.PatchSpec, s conversion.Scope) error
- func Convert_v1alpha1_ReadinessGate_To_porch_ReadinessGate(in *ReadinessGate, out *porch.ReadinessGate, s conversion.Scope) error
- func Convert_v1alpha1_RenderStatus_To_porch_RenderStatus(in *RenderStatus, out *porch.RenderStatus, s conversion.Scope) error
- func Convert_v1alpha1_RepositoryRef_To_porch_RepositoryRef(in *RepositoryRef, out *porch.RepositoryRef, s conversion.Scope) error
- func Convert_v1alpha1_ResourceIdentifier_To_porch_ResourceIdentifier(in *ResourceIdentifier, out *porch.ResourceIdentifier, s conversion.Scope) error
- func Convert_v1alpha1_ResultItem_To_porch_ResultItem(in *ResultItem, out *porch.ResultItem, s conversion.Scope) error
- func Convert_v1alpha1_ResultList_To_porch_ResultList(in *ResultList, out *porch.ResultList, s conversion.Scope) error
- func Convert_v1alpha1_Result_To_porch_Result(in *Result, out *porch.Result, s conversion.Scope) error
- func Convert_v1alpha1_SecretRef_To_porch_SecretRef(in *SecretRef, out *porch.SecretRef, s conversion.Scope) error
- func Convert_v1alpha1_Selector_To_porch_Selector(in *Selector, out *porch.Selector, s conversion.Scope) error
- func Convert_v1alpha1_TaskResult_To_porch_TaskResult(in *TaskResult, out *porch.TaskResult, s conversion.Scope) error
- func Convert_v1alpha1_Task_To_porch_Task(in *Task, out *porch.Task, s conversion.Scope) error
- func Convert_v1alpha1_UpstreamLock_To_porch_UpstreamLock(in *UpstreamLock, out *porch.UpstreamLock, s conversion.Scope) error
- func Convert_v1alpha1_UpstreamPackage_To_porch_UpstreamPackage(in *UpstreamPackage, out *porch.UpstreamPackage, s conversion.Scope) error
- func LifecycleIsPublished(lifecycle PackageRevisionLifecycle) bool
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Condition
- type ConditionStatus
- type Field
- type File
- type Function
- type FunctionConfig
- type FunctionEvalTaskSpec
- type FunctionList
- type FunctionRef
- type FunctionSpec
- type FunctionStatus
- type FunctionType
- type GitLock
- type GitPackage
- type NameMeta
- type OciPackage
- type OriginType
- type Package
- type PackageCloneTaskSpec
- type PackageEditTaskSpec
- type PackageInitTaskSpec
- type PackageList
- type PackageMergeStrategy
- type PackagePatchTaskSpec
- type PackageRevision
- type PackageRevisionLifecycle
- type PackageRevisionList
- type PackageRevisionRef
- type PackageRevisionResources
- type PackageRevisionResourcesList
- type PackageRevisionResourcesSpec
- type PackageRevisionResourcesStatus
- type PackageRevisionSpec
- type PackageRevisionStatus
- type PackageSpec
- type PackageStatus
- type PackageUpdateTaskSpec
- type ParentReference
- type PatchSpec
- type PatchType
- type ReadinessGate
- type RenderStatus
- type RepositoryRef
- type RepositoryType
- type ResourceIdentifier
- type Result
- type ResultItem
- type ResultList
- type SecretRef
- type Selector
- type Task
- type TaskResult
- type TaskType
- type UpstreamLock
- type UpstreamPackage
- type WorkspaceName
Constants ¶
const ( LatestPackageRevisionKey = "kpt.dev/latest-revision" LatestPackageRevisionValue = "true" )
const ( // Deprecated: prefer ResultListGVK ResultListKind = "FunctionResultList" // Deprecated: prefer ResultListGVK ResultListGroup = "kpt.dev" // Deprecated: prefer ResultListGVK ResultListVersion = "v1" // Deprecated: prefer ResultListGVK ResultListAPIVersion = ResultListGroup + "/" + ResultListVersion )
const GroupName = "porch.kpt.dev"
Variables ¶
var ( SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme PackageGVR = SchemeGroupVersion.WithResource("packages") PackageRevisionGVR = SchemeGroupVersion.WithResource("packagerevisions") PackageRevisionResourcesGVR = SchemeGroupVersion.WithResource("packagerevisionresources") FunctionGVR = SchemeGroupVersion.WithResource("functions") )
Functions ¶
func Convert_porch_Condition_To_v1alpha1_Condition ¶
func Convert_porch_Condition_To_v1alpha1_Condition(in *porch.Condition, out *Condition, s conversion.Scope) error
Convert_porch_Condition_To_v1alpha1_Condition is an autogenerated conversion function.
func Convert_porch_Field_To_v1alpha1_Field ¶
Convert_porch_Field_To_v1alpha1_Field is an autogenerated conversion function.
func Convert_porch_File_To_v1alpha1_File ¶
Convert_porch_File_To_v1alpha1_File is an autogenerated conversion function.
func Convert_porch_FunctionConfig_To_v1alpha1_FunctionConfig ¶
func Convert_porch_FunctionConfig_To_v1alpha1_FunctionConfig(in *porch.FunctionConfig, out *FunctionConfig, s conversion.Scope) error
Convert_porch_FunctionConfig_To_v1alpha1_FunctionConfig is an autogenerated conversion function.
func Convert_porch_FunctionEvalTaskSpec_To_v1alpha1_FunctionEvalTaskSpec ¶
func Convert_porch_FunctionEvalTaskSpec_To_v1alpha1_FunctionEvalTaskSpec(in *porch.FunctionEvalTaskSpec, out *FunctionEvalTaskSpec, s conversion.Scope) error
Convert_porch_FunctionEvalTaskSpec_To_v1alpha1_FunctionEvalTaskSpec is an autogenerated conversion function.
func Convert_porch_FunctionList_To_v1alpha1_FunctionList ¶
func Convert_porch_FunctionList_To_v1alpha1_FunctionList(in *porch.FunctionList, out *FunctionList, s conversion.Scope) error
Convert_porch_FunctionList_To_v1alpha1_FunctionList is an autogenerated conversion function.
func Convert_porch_FunctionRef_To_v1alpha1_FunctionRef ¶
func Convert_porch_FunctionRef_To_v1alpha1_FunctionRef(in *porch.FunctionRef, out *FunctionRef, s conversion.Scope) error
Convert_porch_FunctionRef_To_v1alpha1_FunctionRef is an autogenerated conversion function.
func Convert_porch_FunctionSpec_To_v1alpha1_FunctionSpec ¶
func Convert_porch_FunctionSpec_To_v1alpha1_FunctionSpec(in *porch.FunctionSpec, out *FunctionSpec, s conversion.Scope) error
Convert_porch_FunctionSpec_To_v1alpha1_FunctionSpec is an autogenerated conversion function.
func Convert_porch_FunctionStatus_To_v1alpha1_FunctionStatus ¶
func Convert_porch_FunctionStatus_To_v1alpha1_FunctionStatus(in *porch.FunctionStatus, out *FunctionStatus, s conversion.Scope) error
Convert_porch_FunctionStatus_To_v1alpha1_FunctionStatus is an autogenerated conversion function.
func Convert_porch_Function_To_v1alpha1_Function ¶
func Convert_porch_Function_To_v1alpha1_Function(in *porch.Function, out *Function, s conversion.Scope) error
Convert_porch_Function_To_v1alpha1_Function is an autogenerated conversion function.
func Convert_porch_GitLock_To_v1alpha1_GitLock ¶
func Convert_porch_GitLock_To_v1alpha1_GitLock(in *porch.GitLock, out *GitLock, s conversion.Scope) error
Convert_porch_GitLock_To_v1alpha1_GitLock is an autogenerated conversion function.
func Convert_porch_GitPackage_To_v1alpha1_GitPackage ¶
func Convert_porch_GitPackage_To_v1alpha1_GitPackage(in *porch.GitPackage, out *GitPackage, s conversion.Scope) error
Convert_porch_GitPackage_To_v1alpha1_GitPackage is an autogenerated conversion function.
func Convert_porch_NameMeta_To_v1alpha1_NameMeta ¶
func Convert_porch_NameMeta_To_v1alpha1_NameMeta(in *porch.NameMeta, out *NameMeta, s conversion.Scope) error
Convert_porch_NameMeta_To_v1alpha1_NameMeta is an autogenerated conversion function.
func Convert_porch_OciPackage_To_v1alpha1_OciPackage ¶
func Convert_porch_OciPackage_To_v1alpha1_OciPackage(in *porch.OciPackage, out *OciPackage, s conversion.Scope) error
Convert_porch_OciPackage_To_v1alpha1_OciPackage is an autogenerated conversion function.
func Convert_porch_PackageCloneTaskSpec_To_v1alpha1_PackageCloneTaskSpec ¶
func Convert_porch_PackageCloneTaskSpec_To_v1alpha1_PackageCloneTaskSpec(in *porch.PackageCloneTaskSpec, out *PackageCloneTaskSpec, s conversion.Scope) error
Convert_porch_PackageCloneTaskSpec_To_v1alpha1_PackageCloneTaskSpec is an autogenerated conversion function.
func Convert_porch_PackageEditTaskSpec_To_v1alpha1_PackageEditTaskSpec ¶
func Convert_porch_PackageEditTaskSpec_To_v1alpha1_PackageEditTaskSpec(in *porch.PackageEditTaskSpec, out *PackageEditTaskSpec, s conversion.Scope) error
Convert_porch_PackageEditTaskSpec_To_v1alpha1_PackageEditTaskSpec is an autogenerated conversion function.
func Convert_porch_PackageInitTaskSpec_To_v1alpha1_PackageInitTaskSpec ¶
func Convert_porch_PackageInitTaskSpec_To_v1alpha1_PackageInitTaskSpec(in *porch.PackageInitTaskSpec, out *PackageInitTaskSpec, s conversion.Scope) error
Convert_porch_PackageInitTaskSpec_To_v1alpha1_PackageInitTaskSpec is an autogenerated conversion function.
func Convert_porch_PackageList_To_v1alpha1_PackageList ¶
func Convert_porch_PackageList_To_v1alpha1_PackageList(in *porch.PackageList, out *PackageList, s conversion.Scope) error
Convert_porch_PackageList_To_v1alpha1_PackageList is an autogenerated conversion function.
func Convert_porch_PackagePatchTaskSpec_To_v1alpha1_PackagePatchTaskSpec ¶
func Convert_porch_PackagePatchTaskSpec_To_v1alpha1_PackagePatchTaskSpec(in *porch.PackagePatchTaskSpec, out *PackagePatchTaskSpec, s conversion.Scope) error
Convert_porch_PackagePatchTaskSpec_To_v1alpha1_PackagePatchTaskSpec is an autogenerated conversion function.
func Convert_porch_PackageRevisionList_To_v1alpha1_PackageRevisionList ¶
func Convert_porch_PackageRevisionList_To_v1alpha1_PackageRevisionList(in *porch.PackageRevisionList, out *PackageRevisionList, s conversion.Scope) error
Convert_porch_PackageRevisionList_To_v1alpha1_PackageRevisionList is an autogenerated conversion function.
func Convert_porch_PackageRevisionRef_To_v1alpha1_PackageRevisionRef ¶
func Convert_porch_PackageRevisionRef_To_v1alpha1_PackageRevisionRef(in *porch.PackageRevisionRef, out *PackageRevisionRef, s conversion.Scope) error
Convert_porch_PackageRevisionRef_To_v1alpha1_PackageRevisionRef is an autogenerated conversion function.
func Convert_porch_PackageRevisionResourcesList_To_v1alpha1_PackageRevisionResourcesList ¶
func Convert_porch_PackageRevisionResourcesList_To_v1alpha1_PackageRevisionResourcesList(in *porch.PackageRevisionResourcesList, out *PackageRevisionResourcesList, s conversion.Scope) error
Convert_porch_PackageRevisionResourcesList_To_v1alpha1_PackageRevisionResourcesList is an autogenerated conversion function.
func Convert_porch_PackageRevisionResourcesSpec_To_v1alpha1_PackageRevisionResourcesSpec ¶
func Convert_porch_PackageRevisionResourcesSpec_To_v1alpha1_PackageRevisionResourcesSpec(in *porch.PackageRevisionResourcesSpec, out *PackageRevisionResourcesSpec, s conversion.Scope) error
Convert_porch_PackageRevisionResourcesSpec_To_v1alpha1_PackageRevisionResourcesSpec is an autogenerated conversion function.
func Convert_porch_PackageRevisionResourcesStatus_To_v1alpha1_PackageRevisionResourcesStatus ¶
func Convert_porch_PackageRevisionResourcesStatus_To_v1alpha1_PackageRevisionResourcesStatus(in *porch.PackageRevisionResourcesStatus, out *PackageRevisionResourcesStatus, s conversion.Scope) error
Convert_porch_PackageRevisionResourcesStatus_To_v1alpha1_PackageRevisionResourcesStatus is an autogenerated conversion function.
func Convert_porch_PackageRevisionResources_To_v1alpha1_PackageRevisionResources ¶
func Convert_porch_PackageRevisionResources_To_v1alpha1_PackageRevisionResources(in *porch.PackageRevisionResources, out *PackageRevisionResources, s conversion.Scope) error
Convert_porch_PackageRevisionResources_To_v1alpha1_PackageRevisionResources is an autogenerated conversion function.
func Convert_porch_PackageRevisionSpec_To_v1alpha1_PackageRevisionSpec ¶
func Convert_porch_PackageRevisionSpec_To_v1alpha1_PackageRevisionSpec(in *porch.PackageRevisionSpec, out *PackageRevisionSpec, s conversion.Scope) error
Convert_porch_PackageRevisionSpec_To_v1alpha1_PackageRevisionSpec is an autogenerated conversion function.
func Convert_porch_PackageRevisionStatus_To_v1alpha1_PackageRevisionStatus ¶
func Convert_porch_PackageRevisionStatus_To_v1alpha1_PackageRevisionStatus(in *porch.PackageRevisionStatus, out *PackageRevisionStatus, s conversion.Scope) error
Convert_porch_PackageRevisionStatus_To_v1alpha1_PackageRevisionStatus is an autogenerated conversion function.
func Convert_porch_PackageRevision_To_v1alpha1_PackageRevision ¶
func Convert_porch_PackageRevision_To_v1alpha1_PackageRevision(in *porch.PackageRevision, out *PackageRevision, s conversion.Scope) error
Convert_porch_PackageRevision_To_v1alpha1_PackageRevision is an autogenerated conversion function.
func Convert_porch_PackageSpec_To_v1alpha1_PackageSpec ¶
func Convert_porch_PackageSpec_To_v1alpha1_PackageSpec(in *porch.PackageSpec, out *PackageSpec, s conversion.Scope) error
Convert_porch_PackageSpec_To_v1alpha1_PackageSpec is an autogenerated conversion function.
func Convert_porch_PackageStatus_To_v1alpha1_PackageStatus ¶
func Convert_porch_PackageStatus_To_v1alpha1_PackageStatus(in *porch.PackageStatus, out *PackageStatus, s conversion.Scope) error
Convert_porch_PackageStatus_To_v1alpha1_PackageStatus is an autogenerated conversion function.
func Convert_porch_PackageUpdateTaskSpec_To_v1alpha1_PackageUpdateTaskSpec ¶
func Convert_porch_PackageUpdateTaskSpec_To_v1alpha1_PackageUpdateTaskSpec(in *porch.PackageUpdateTaskSpec, out *PackageUpdateTaskSpec, s conversion.Scope) error
Convert_porch_PackageUpdateTaskSpec_To_v1alpha1_PackageUpdateTaskSpec is an autogenerated conversion function.
func Convert_porch_Package_To_v1alpha1_Package ¶
func Convert_porch_Package_To_v1alpha1_Package(in *porch.Package, out *Package, s conversion.Scope) error
Convert_porch_Package_To_v1alpha1_Package is an autogenerated conversion function.
func Convert_porch_ParentReference_To_v1alpha1_ParentReference ¶
func Convert_porch_ParentReference_To_v1alpha1_ParentReference(in *porch.ParentReference, out *ParentReference, s conversion.Scope) error
Convert_porch_ParentReference_To_v1alpha1_ParentReference is an autogenerated conversion function.
func Convert_porch_PatchSpec_To_v1alpha1_PatchSpec ¶
func Convert_porch_PatchSpec_To_v1alpha1_PatchSpec(in *porch.PatchSpec, out *PatchSpec, s conversion.Scope) error
Convert_porch_PatchSpec_To_v1alpha1_PatchSpec is an autogenerated conversion function.
func Convert_porch_ReadinessGate_To_v1alpha1_ReadinessGate ¶
func Convert_porch_ReadinessGate_To_v1alpha1_ReadinessGate(in *porch.ReadinessGate, out *ReadinessGate, s conversion.Scope) error
Convert_porch_ReadinessGate_To_v1alpha1_ReadinessGate is an autogenerated conversion function.
func Convert_porch_RenderStatus_To_v1alpha1_RenderStatus ¶
func Convert_porch_RenderStatus_To_v1alpha1_RenderStatus(in *porch.RenderStatus, out *RenderStatus, s conversion.Scope) error
Convert_porch_RenderStatus_To_v1alpha1_RenderStatus is an autogenerated conversion function.
func Convert_porch_RepositoryRef_To_v1alpha1_RepositoryRef ¶
func Convert_porch_RepositoryRef_To_v1alpha1_RepositoryRef(in *porch.RepositoryRef, out *RepositoryRef, s conversion.Scope) error
Convert_porch_RepositoryRef_To_v1alpha1_RepositoryRef is an autogenerated conversion function.
func Convert_porch_ResourceIdentifier_To_v1alpha1_ResourceIdentifier ¶
func Convert_porch_ResourceIdentifier_To_v1alpha1_ResourceIdentifier(in *porch.ResourceIdentifier, out *ResourceIdentifier, s conversion.Scope) error
Convert_porch_ResourceIdentifier_To_v1alpha1_ResourceIdentifier is an autogenerated conversion function.
func Convert_porch_ResultItem_To_v1alpha1_ResultItem ¶
func Convert_porch_ResultItem_To_v1alpha1_ResultItem(in *porch.ResultItem, out *ResultItem, s conversion.Scope) error
Convert_porch_ResultItem_To_v1alpha1_ResultItem is an autogenerated conversion function.
func Convert_porch_ResultList_To_v1alpha1_ResultList ¶
func Convert_porch_ResultList_To_v1alpha1_ResultList(in *porch.ResultList, out *ResultList, s conversion.Scope) error
Convert_porch_ResultList_To_v1alpha1_ResultList is an autogenerated conversion function.
func Convert_porch_Result_To_v1alpha1_Result ¶
func Convert_porch_Result_To_v1alpha1_Result(in *porch.Result, out *Result, s conversion.Scope) error
Convert_porch_Result_To_v1alpha1_Result is an autogenerated conversion function.
func Convert_porch_SecretRef_To_v1alpha1_SecretRef ¶
func Convert_porch_SecretRef_To_v1alpha1_SecretRef(in *porch.SecretRef, out *SecretRef, s conversion.Scope) error
Convert_porch_SecretRef_To_v1alpha1_SecretRef is an autogenerated conversion function.
func Convert_porch_Selector_To_v1alpha1_Selector ¶
func Convert_porch_Selector_To_v1alpha1_Selector(in *porch.Selector, out *Selector, s conversion.Scope) error
Convert_porch_Selector_To_v1alpha1_Selector is an autogenerated conversion function.
func Convert_porch_TaskResult_To_v1alpha1_TaskResult ¶
func Convert_porch_TaskResult_To_v1alpha1_TaskResult(in *porch.TaskResult, out *TaskResult, s conversion.Scope) error
Convert_porch_TaskResult_To_v1alpha1_TaskResult is an autogenerated conversion function.
func Convert_porch_Task_To_v1alpha1_Task ¶
Convert_porch_Task_To_v1alpha1_Task is an autogenerated conversion function.
func Convert_porch_UpstreamLock_To_v1alpha1_UpstreamLock ¶
func Convert_porch_UpstreamLock_To_v1alpha1_UpstreamLock(in *porch.UpstreamLock, out *UpstreamLock, s conversion.Scope) error
Convert_porch_UpstreamLock_To_v1alpha1_UpstreamLock is an autogenerated conversion function.
func Convert_porch_UpstreamPackage_To_v1alpha1_UpstreamPackage ¶
func Convert_porch_UpstreamPackage_To_v1alpha1_UpstreamPackage(in *porch.UpstreamPackage, out *UpstreamPackage, s conversion.Scope) error
Convert_porch_UpstreamPackage_To_v1alpha1_UpstreamPackage is an autogenerated conversion function.
func Convert_v1alpha1_Condition_To_porch_Condition ¶
func Convert_v1alpha1_Condition_To_porch_Condition(in *Condition, out *porch.Condition, s conversion.Scope) error
Convert_v1alpha1_Condition_To_porch_Condition is an autogenerated conversion function.
func Convert_v1alpha1_Field_To_porch_Field ¶
Convert_v1alpha1_Field_To_porch_Field is an autogenerated conversion function.
func Convert_v1alpha1_File_To_porch_File ¶
Convert_v1alpha1_File_To_porch_File is an autogenerated conversion function.
func Convert_v1alpha1_FunctionConfig_To_porch_FunctionConfig ¶
func Convert_v1alpha1_FunctionConfig_To_porch_FunctionConfig(in *FunctionConfig, out *porch.FunctionConfig, s conversion.Scope) error
Convert_v1alpha1_FunctionConfig_To_porch_FunctionConfig is an autogenerated conversion function.
func Convert_v1alpha1_FunctionEvalTaskSpec_To_porch_FunctionEvalTaskSpec ¶
func Convert_v1alpha1_FunctionEvalTaskSpec_To_porch_FunctionEvalTaskSpec(in *FunctionEvalTaskSpec, out *porch.FunctionEvalTaskSpec, s conversion.Scope) error
Convert_v1alpha1_FunctionEvalTaskSpec_To_porch_FunctionEvalTaskSpec is an autogenerated conversion function.
func Convert_v1alpha1_FunctionList_To_porch_FunctionList ¶
func Convert_v1alpha1_FunctionList_To_porch_FunctionList(in *FunctionList, out *porch.FunctionList, s conversion.Scope) error
Convert_v1alpha1_FunctionList_To_porch_FunctionList is an autogenerated conversion function.
func Convert_v1alpha1_FunctionRef_To_porch_FunctionRef ¶
func Convert_v1alpha1_FunctionRef_To_porch_FunctionRef(in *FunctionRef, out *porch.FunctionRef, s conversion.Scope) error
Convert_v1alpha1_FunctionRef_To_porch_FunctionRef is an autogenerated conversion function.
func Convert_v1alpha1_FunctionSpec_To_porch_FunctionSpec ¶
func Convert_v1alpha1_FunctionSpec_To_porch_FunctionSpec(in *FunctionSpec, out *porch.FunctionSpec, s conversion.Scope) error
Convert_v1alpha1_FunctionSpec_To_porch_FunctionSpec is an autogenerated conversion function.
func Convert_v1alpha1_FunctionStatus_To_porch_FunctionStatus ¶
func Convert_v1alpha1_FunctionStatus_To_porch_FunctionStatus(in *FunctionStatus, out *porch.FunctionStatus, s conversion.Scope) error
Convert_v1alpha1_FunctionStatus_To_porch_FunctionStatus is an autogenerated conversion function.
func Convert_v1alpha1_Function_To_porch_Function ¶
func Convert_v1alpha1_Function_To_porch_Function(in *Function, out *porch.Function, s conversion.Scope) error
Convert_v1alpha1_Function_To_porch_Function is an autogenerated conversion function.
func Convert_v1alpha1_GitLock_To_porch_GitLock ¶
func Convert_v1alpha1_GitLock_To_porch_GitLock(in *GitLock, out *porch.GitLock, s conversion.Scope) error
Convert_v1alpha1_GitLock_To_porch_GitLock is an autogenerated conversion function.
func Convert_v1alpha1_GitPackage_To_porch_GitPackage ¶
func Convert_v1alpha1_GitPackage_To_porch_GitPackage(in *GitPackage, out *porch.GitPackage, s conversion.Scope) error
Convert_v1alpha1_GitPackage_To_porch_GitPackage is an autogenerated conversion function.
func Convert_v1alpha1_NameMeta_To_porch_NameMeta ¶
func Convert_v1alpha1_NameMeta_To_porch_NameMeta(in *NameMeta, out *porch.NameMeta, s conversion.Scope) error
Convert_v1alpha1_NameMeta_To_porch_NameMeta is an autogenerated conversion function.
func Convert_v1alpha1_OciPackage_To_porch_OciPackage ¶
func Convert_v1alpha1_OciPackage_To_porch_OciPackage(in *OciPackage, out *porch.OciPackage, s conversion.Scope) error
Convert_v1alpha1_OciPackage_To_porch_OciPackage is an autogenerated conversion function.
func Convert_v1alpha1_PackageCloneTaskSpec_To_porch_PackageCloneTaskSpec ¶
func Convert_v1alpha1_PackageCloneTaskSpec_To_porch_PackageCloneTaskSpec(in *PackageCloneTaskSpec, out *porch.PackageCloneTaskSpec, s conversion.Scope) error
Convert_v1alpha1_PackageCloneTaskSpec_To_porch_PackageCloneTaskSpec is an autogenerated conversion function.
func Convert_v1alpha1_PackageEditTaskSpec_To_porch_PackageEditTaskSpec ¶
func Convert_v1alpha1_PackageEditTaskSpec_To_porch_PackageEditTaskSpec(in *PackageEditTaskSpec, out *porch.PackageEditTaskSpec, s conversion.Scope) error
Convert_v1alpha1_PackageEditTaskSpec_To_porch_PackageEditTaskSpec is an autogenerated conversion function.
func Convert_v1alpha1_PackageInitTaskSpec_To_porch_PackageInitTaskSpec ¶
func Convert_v1alpha1_PackageInitTaskSpec_To_porch_PackageInitTaskSpec(in *PackageInitTaskSpec, out *porch.PackageInitTaskSpec, s conversion.Scope) error
Convert_v1alpha1_PackageInitTaskSpec_To_porch_PackageInitTaskSpec is an autogenerated conversion function.
func Convert_v1alpha1_PackageList_To_porch_PackageList ¶
func Convert_v1alpha1_PackageList_To_porch_PackageList(in *PackageList, out *porch.PackageList, s conversion.Scope) error
Convert_v1alpha1_PackageList_To_porch_PackageList is an autogenerated conversion function.
func Convert_v1alpha1_PackagePatchTaskSpec_To_porch_PackagePatchTaskSpec ¶
func Convert_v1alpha1_PackagePatchTaskSpec_To_porch_PackagePatchTaskSpec(in *PackagePatchTaskSpec, out *porch.PackagePatchTaskSpec, s conversion.Scope) error
Convert_v1alpha1_PackagePatchTaskSpec_To_porch_PackagePatchTaskSpec is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevisionList_To_porch_PackageRevisionList ¶
func Convert_v1alpha1_PackageRevisionList_To_porch_PackageRevisionList(in *PackageRevisionList, out *porch.PackageRevisionList, s conversion.Scope) error
Convert_v1alpha1_PackageRevisionList_To_porch_PackageRevisionList is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevisionRef_To_porch_PackageRevisionRef ¶
func Convert_v1alpha1_PackageRevisionRef_To_porch_PackageRevisionRef(in *PackageRevisionRef, out *porch.PackageRevisionRef, s conversion.Scope) error
Convert_v1alpha1_PackageRevisionRef_To_porch_PackageRevisionRef is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevisionResourcesList_To_porch_PackageRevisionResourcesList ¶
func Convert_v1alpha1_PackageRevisionResourcesList_To_porch_PackageRevisionResourcesList(in *PackageRevisionResourcesList, out *porch.PackageRevisionResourcesList, s conversion.Scope) error
Convert_v1alpha1_PackageRevisionResourcesList_To_porch_PackageRevisionResourcesList is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevisionResourcesSpec_To_porch_PackageRevisionResourcesSpec ¶
func Convert_v1alpha1_PackageRevisionResourcesSpec_To_porch_PackageRevisionResourcesSpec(in *PackageRevisionResourcesSpec, out *porch.PackageRevisionResourcesSpec, s conversion.Scope) error
Convert_v1alpha1_PackageRevisionResourcesSpec_To_porch_PackageRevisionResourcesSpec is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevisionResourcesStatus_To_porch_PackageRevisionResourcesStatus ¶
func Convert_v1alpha1_PackageRevisionResourcesStatus_To_porch_PackageRevisionResourcesStatus(in *PackageRevisionResourcesStatus, out *porch.PackageRevisionResourcesStatus, s conversion.Scope) error
Convert_v1alpha1_PackageRevisionResourcesStatus_To_porch_PackageRevisionResourcesStatus is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevisionResources_To_porch_PackageRevisionResources ¶
func Convert_v1alpha1_PackageRevisionResources_To_porch_PackageRevisionResources(in *PackageRevisionResources, out *porch.PackageRevisionResources, s conversion.Scope) error
Convert_v1alpha1_PackageRevisionResources_To_porch_PackageRevisionResources is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevisionSpec_To_porch_PackageRevisionSpec ¶
func Convert_v1alpha1_PackageRevisionSpec_To_porch_PackageRevisionSpec(in *PackageRevisionSpec, out *porch.PackageRevisionSpec, s conversion.Scope) error
Convert_v1alpha1_PackageRevisionSpec_To_porch_PackageRevisionSpec is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevisionStatus_To_porch_PackageRevisionStatus ¶
func Convert_v1alpha1_PackageRevisionStatus_To_porch_PackageRevisionStatus(in *PackageRevisionStatus, out *porch.PackageRevisionStatus, s conversion.Scope) error
Convert_v1alpha1_PackageRevisionStatus_To_porch_PackageRevisionStatus is an autogenerated conversion function.
func Convert_v1alpha1_PackageRevision_To_porch_PackageRevision ¶
func Convert_v1alpha1_PackageRevision_To_porch_PackageRevision(in *PackageRevision, out *porch.PackageRevision, s conversion.Scope) error
Convert_v1alpha1_PackageRevision_To_porch_PackageRevision is an autogenerated conversion function.
func Convert_v1alpha1_PackageSpec_To_porch_PackageSpec ¶
func Convert_v1alpha1_PackageSpec_To_porch_PackageSpec(in *PackageSpec, out *porch.PackageSpec, s conversion.Scope) error
Convert_v1alpha1_PackageSpec_To_porch_PackageSpec is an autogenerated conversion function.
func Convert_v1alpha1_PackageStatus_To_porch_PackageStatus ¶
func Convert_v1alpha1_PackageStatus_To_porch_PackageStatus(in *PackageStatus, out *porch.PackageStatus, s conversion.Scope) error
Convert_v1alpha1_PackageStatus_To_porch_PackageStatus is an autogenerated conversion function.
func Convert_v1alpha1_PackageUpdateTaskSpec_To_porch_PackageUpdateTaskSpec ¶
func Convert_v1alpha1_PackageUpdateTaskSpec_To_porch_PackageUpdateTaskSpec(in *PackageUpdateTaskSpec, out *porch.PackageUpdateTaskSpec, s conversion.Scope) error
Convert_v1alpha1_PackageUpdateTaskSpec_To_porch_PackageUpdateTaskSpec is an autogenerated conversion function.
func Convert_v1alpha1_Package_To_porch_Package ¶
func Convert_v1alpha1_Package_To_porch_Package(in *Package, out *porch.Package, s conversion.Scope) error
Convert_v1alpha1_Package_To_porch_Package is an autogenerated conversion function.
func Convert_v1alpha1_ParentReference_To_porch_ParentReference ¶
func Convert_v1alpha1_ParentReference_To_porch_ParentReference(in *ParentReference, out *porch.ParentReference, s conversion.Scope) error
Convert_v1alpha1_ParentReference_To_porch_ParentReference is an autogenerated conversion function.
func Convert_v1alpha1_PatchSpec_To_porch_PatchSpec ¶
func Convert_v1alpha1_PatchSpec_To_porch_PatchSpec(in *PatchSpec, out *porch.PatchSpec, s conversion.Scope) error
Convert_v1alpha1_PatchSpec_To_porch_PatchSpec is an autogenerated conversion function.
func Convert_v1alpha1_ReadinessGate_To_porch_ReadinessGate ¶
func Convert_v1alpha1_ReadinessGate_To_porch_ReadinessGate(in *ReadinessGate, out *porch.ReadinessGate, s conversion.Scope) error
Convert_v1alpha1_ReadinessGate_To_porch_ReadinessGate is an autogenerated conversion function.
func Convert_v1alpha1_RenderStatus_To_porch_RenderStatus ¶
func Convert_v1alpha1_RenderStatus_To_porch_RenderStatus(in *RenderStatus, out *porch.RenderStatus, s conversion.Scope) error
Convert_v1alpha1_RenderStatus_To_porch_RenderStatus is an autogenerated conversion function.
func Convert_v1alpha1_RepositoryRef_To_porch_RepositoryRef ¶
func Convert_v1alpha1_RepositoryRef_To_porch_RepositoryRef(in *RepositoryRef, out *porch.RepositoryRef, s conversion.Scope) error
Convert_v1alpha1_RepositoryRef_To_porch_RepositoryRef is an autogenerated conversion function.
func Convert_v1alpha1_ResourceIdentifier_To_porch_ResourceIdentifier ¶
func Convert_v1alpha1_ResourceIdentifier_To_porch_ResourceIdentifier(in *ResourceIdentifier, out *porch.ResourceIdentifier, s conversion.Scope) error
Convert_v1alpha1_ResourceIdentifier_To_porch_ResourceIdentifier is an autogenerated conversion function.
func Convert_v1alpha1_ResultItem_To_porch_ResultItem ¶
func Convert_v1alpha1_ResultItem_To_porch_ResultItem(in *ResultItem, out *porch.ResultItem, s conversion.Scope) error
Convert_v1alpha1_ResultItem_To_porch_ResultItem is an autogenerated conversion function.
func Convert_v1alpha1_ResultList_To_porch_ResultList ¶
func Convert_v1alpha1_ResultList_To_porch_ResultList(in *ResultList, out *porch.ResultList, s conversion.Scope) error
Convert_v1alpha1_ResultList_To_porch_ResultList is an autogenerated conversion function.
func Convert_v1alpha1_Result_To_porch_Result ¶
func Convert_v1alpha1_Result_To_porch_Result(in *Result, out *porch.Result, s conversion.Scope) error
Convert_v1alpha1_Result_To_porch_Result is an autogenerated conversion function.
func Convert_v1alpha1_SecretRef_To_porch_SecretRef ¶
func Convert_v1alpha1_SecretRef_To_porch_SecretRef(in *SecretRef, out *porch.SecretRef, s conversion.Scope) error
Convert_v1alpha1_SecretRef_To_porch_SecretRef is an autogenerated conversion function.
func Convert_v1alpha1_Selector_To_porch_Selector ¶
func Convert_v1alpha1_Selector_To_porch_Selector(in *Selector, out *porch.Selector, s conversion.Scope) error
Convert_v1alpha1_Selector_To_porch_Selector is an autogenerated conversion function.
func Convert_v1alpha1_TaskResult_To_porch_TaskResult ¶
func Convert_v1alpha1_TaskResult_To_porch_TaskResult(in *TaskResult, out *porch.TaskResult, s conversion.Scope) error
Convert_v1alpha1_TaskResult_To_porch_TaskResult is an autogenerated conversion function.
func Convert_v1alpha1_Task_To_porch_Task ¶
Convert_v1alpha1_Task_To_porch_Task is an autogenerated conversion function.
func Convert_v1alpha1_UpstreamLock_To_porch_UpstreamLock ¶
func Convert_v1alpha1_UpstreamLock_To_porch_UpstreamLock(in *UpstreamLock, out *porch.UpstreamLock, s conversion.Scope) error
Convert_v1alpha1_UpstreamLock_To_porch_UpstreamLock is an autogenerated conversion function.
func Convert_v1alpha1_UpstreamPackage_To_porch_UpstreamPackage ¶
func Convert_v1alpha1_UpstreamPackage_To_porch_UpstreamPackage(in *UpstreamPackage, out *porch.UpstreamPackage, s conversion.Scope) error
Convert_v1alpha1_UpstreamPackage_To_porch_UpstreamPackage is an autogenerated conversion function.
func LifecycleIsPublished ¶
func LifecycleIsPublished(lifecycle PackageRevisionLifecycle) bool
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Condition ¶
type Condition struct { Type string `json:"type"` Status ConditionStatus `json:"status"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionStatus ¶
type ConditionStatus string
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
type Field ¶
type Field struct { // Path is the field path. This field is required. Path string `json:"path,omitempty"` // CurrentValue is the current field value CurrentValue string `json:"currentValue,omitempty"` // ProposedValue is the proposed value of the field to fix an issue. ProposedValue string `json:"proposedValue,omitempty"` }
Field references a field in a resource
func (*Field) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Field.
func (*Field) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type File ¶
type File struct { // Path is relative path to the file containing the resource. // This field is required. Path string `json:"path,omitempty"` // Index is the index into the file containing the resource // (i.e. if there are multiple resources in a single file) Index int `json:"index,omitempty"` }
File references a file containing a resource
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Function ¶
type Function struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FunctionSpec `json:"spec,omitempty"` Status FunctionStatus `json:"status,omitempty"` }
Function represents a kpt function discovered in a repository Function resources are created automatically by discovery in a registered Repository. Function resource names will be computed as <Repository Name>:<Function Name> to ensure uniqueness of names, and will follow formatting of [DNS Subdomain Names](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names). +k8s:openapi-gen=true
func (*Function) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionConfig ¶
type FunctionConfig struct { metav1.TypeMeta `json:",inline"` // Experimental: requiredFields tells necessary fields and is aimed to help users write the FunctionConfig. // Otherwise, users can get the required fields info from the function evaluation error message. RequiredFields []string `json:"requiredFields,omitempty"` }
FunctionConfig specifies all the valid types of the function config for this function. If unspecified, defaults to v1/ConfigMap. For example, function `set-namespace` accepts both `ConfigMap` and `SetNamespace`
func (*FunctionConfig) DeepCopy ¶
func (in *FunctionConfig) DeepCopy() *FunctionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionConfig.
func (*FunctionConfig) DeepCopyInto ¶
func (in *FunctionConfig) DeepCopyInto(out *FunctionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionEvalTaskSpec ¶
type FunctionEvalTaskSpec struct { // `Subpackage` is a directory path to a subpackage in which to evaluate the function. Subpackage string `json:"subpackage,omitempty"` // `Image` specifies the function image, such as `gcr.io/kpt-fn/gatekeeper:v0.2`. Use of `Image` is mutually exclusive with `FunctionRef`. Image string `json:"image,omitempty"` // `FunctionRef` specifies the function by reference to a Function resource. Mutually exclusive with `Image`. FunctionRef *FunctionRef `json:"functionRef,omitempty"` // `ConfigMap` specifies the function config (https://kpt.dev/reference/cli/fn/eval/). Mutually exclusive with Config. ConfigMap map[string]string `json:"configMap,omitempty"` // `Config` specifies the function config, arbitrary KRM resource. Mutually exclusive with ConfigMap. Config runtime.RawExtension `json:"config,omitempty"` // If enabled, meta resources (i.e. `Kptfile` and `functionConfig`) are included // in the input to the function. By default it is disabled. IncludeMetaResources bool `json:"includeMetaResources,omitempty"` // `EnableNetwork` controls whether the function has access to network. Defaults to `false`. EnableNetwork bool `json:"enableNetwork,omitempty"` // Match specifies the selection criteria for the function evaluation. // Corresponds to `kpt fn eval --match-???` flgs (https://kpt.dev/reference/cli/fn/eval/). Match Selector `json:"match,omitempty"` }
func (*FunctionEvalTaskSpec) DeepCopy ¶
func (in *FunctionEvalTaskSpec) DeepCopy() *FunctionEvalTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionEvalTaskSpec.
func (*FunctionEvalTaskSpec) DeepCopyInto ¶
func (in *FunctionEvalTaskSpec) DeepCopyInto(out *FunctionEvalTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionList ¶
type FunctionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Function `json:"items"` }
FunctionList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*FunctionList) DeepCopy ¶
func (in *FunctionList) DeepCopy() *FunctionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList.
func (*FunctionList) DeepCopyInto ¶
func (in *FunctionList) DeepCopyInto(out *FunctionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionList) DeepCopyObject ¶
func (in *FunctionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionRef ¶
type FunctionRef struct { // Name is the name of the Function resource referenced. The resource is expected to be within the same namespace. Name string `json:"name"` }
FunctionRef is a reference to a Function resource.
func (*FunctionRef) DeepCopy ¶
func (in *FunctionRef) DeepCopy() *FunctionRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionRef.
func (*FunctionRef) DeepCopyInto ¶
func (in *FunctionRef) DeepCopyInto(out *FunctionRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionSpec ¶
type FunctionSpec struct { // Image specifies the function image, such as 'gcr.io/kpt-fn/gatekeeper:v0.2'. Image string `json:"image"` // RepositoryRef references the repository in which the function is located. RepositoryRef RepositoryRef `json:"repositoryRef"` // FunctionType specifies the function types (mutator, validator or/and others). FunctionTypes []FunctionType `json:"functionTypes,omitempty"` FunctionConfigs []FunctionConfig `json:"functionConfigs,omitempty"` // Keywords are used as filters to provide correlation in function discovery. Keywords []string `json:"keywords,omitempty"` // Description is a short description of the function. Description string `json:"description"` // `DocumentationUrl specifies the URL of comprehensive function documentation` DocumentationUrl string `json:"documentationUrl,omitempty"` }
FunctionSpec defines the desired state of a Function
func (*FunctionSpec) DeepCopy ¶
func (in *FunctionSpec) DeepCopy() *FunctionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.
func (*FunctionSpec) DeepCopyInto ¶
func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionStatus ¶
type FunctionStatus struct { }
FunctionStatus defines the observed state of Function
func (*FunctionStatus) DeepCopy ¶
func (in *FunctionStatus) DeepCopy() *FunctionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionStatus.
func (*FunctionStatus) DeepCopyInto ¶
func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionType ¶
type FunctionType string
const ( FunctionTypeValidator FunctionType = "validator" FunctionTypeMutator FunctionType = "mutator" )
type GitLock ¶
type GitLock struct { // Repo is the git repository that was fetched. // e.g. 'https://github.com/kubernetes/examples.git' Repo string `json:"repo,omitempty"` // Directory is the sub directory of the git repository that was fetched. // e.g. 'staging/cockroachdb' Directory string `json:"directory,omitempty"` // Ref can be a Git branch, tag, or a commit SHA-1 that was fetched. // e.g. 'master' Ref string `json:"ref,omitempty"` // Commit is the SHA-1 for the last fetch of the package. // This is set by kpt for bookkeeping purposes. Commit string `json:"commit,omitempty"` }
GitLock is the resolved locator for a package on Git.
func (*GitLock) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLock.
func (*GitLock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitPackage ¶
type GitPackage struct { // Address of the Git repository, for example: // `https://github.com/GoogleCloudPlatform/blueprints.git` Repo string `json:"repo"` // `Ref` is the git ref containing the package. Ref can be a branch, tag, or commit SHA. Ref string `json:"ref"` // Directory within the Git repository where the packages are stored. A subdirectory of this directory containing a Kptfile is considered a package. Directory string `json:"directory"` // Reference to secret containing authentication credentials. Optional. SecretRef SecretRef `json:"secretRef,omitempty"` }
func (*GitPackage) DeepCopy ¶
func (in *GitPackage) DeepCopy() *GitPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitPackage.
func (*GitPackage) DeepCopyInto ¶
func (in *GitPackage) DeepCopyInto(out *GitPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameMeta ¶
type NameMeta struct { // Name is the metadata.name field of a Resource Name string `json:"name,omitempty"` // Namespace is the metadata.namespace field of a Resource Namespace string `json:"namespace,omitempty"` }
NameMeta contains name information.
func (*NameMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameMeta.
func (*NameMeta) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OciPackage ¶
type OciPackage struct { // Image is the address of an OCI image. Image string `json:"image"` }
OciPackage describes a repository compatible with the Open Coutainer Registry standard.
func (*OciPackage) DeepCopy ¶
func (in *OciPackage) DeepCopy() *OciPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OciPackage.
func (*OciPackage) DeepCopyInto ¶
func (in *OciPackage) DeepCopyInto(out *OciPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginType ¶
type OriginType string
type Package ¶
type Package struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PackageSpec `json:"spec,omitempty"` Status PackageStatus `json:"status,omitempty"` }
Package +k8s:openapi-gen=true
func (*Package) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package.
func (*Package) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Package) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageCloneTaskSpec ¶
type PackageCloneTaskSpec struct { // `Upstream` is the reference to the upstream package to clone. Upstream UpstreamPackage `json:"upstreamRef,omitempty"` // Defines which strategy should be used to update the package. It defaults to 'resource-merge'. // * resource-merge: Perform a structural comparison of the original / // updated resources, and merge the changes into the local package. // * fast-forward: Fail without updating if the local package was modified // since it was fetched. // * force-delete-replace: Wipe all the local changes to the package and replace // it with the remote version. Strategy PackageMergeStrategy `json:"strategy,omitempty"` }
func (*PackageCloneTaskSpec) DeepCopy ¶
func (in *PackageCloneTaskSpec) DeepCopy() *PackageCloneTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageCloneTaskSpec.
func (*PackageCloneTaskSpec) DeepCopyInto ¶
func (in *PackageCloneTaskSpec) DeepCopyInto(out *PackageCloneTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageEditTaskSpec ¶
type PackageEditTaskSpec struct {
Source *PackageRevisionRef `json:"sourceRef,omitempty"`
}
func (*PackageEditTaskSpec) DeepCopy ¶
func (in *PackageEditTaskSpec) DeepCopy() *PackageEditTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageEditTaskSpec.
func (*PackageEditTaskSpec) DeepCopyInto ¶
func (in *PackageEditTaskSpec) DeepCopyInto(out *PackageEditTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageInitTaskSpec ¶
type PackageInitTaskSpec struct { // `Subpackage` is a directory path to a subpackage to initialize. If unspecified, the main package will be initialized. Subpackage string `json:"subpackage,omitempty"` // `Description` is a short description of the package. Description string `json:"description,omitempty"` // `Keywords` is a list of keywords describing the package. Keywords []string `json:"keywords,omitempty"` // `Site is a link to page with information about the package. Site string `json:"site,omitempty"` }
PackageInitTaskSpec defines the package initialization task.
func (*PackageInitTaskSpec) DeepCopy ¶
func (in *PackageInitTaskSpec) DeepCopy() *PackageInitTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInitTaskSpec.
func (*PackageInitTaskSpec) DeepCopyInto ¶
func (in *PackageInitTaskSpec) DeepCopyInto(out *PackageInitTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageList ¶
type PackageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Package `json:"items"` }
PackageList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PackageList) DeepCopy ¶
func (in *PackageList) DeepCopy() *PackageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageList.
func (*PackageList) DeepCopyInto ¶
func (in *PackageList) DeepCopyInto(out *PackageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageList) DeepCopyObject ¶
func (in *PackageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageMergeStrategy ¶
type PackageMergeStrategy string
const ( ResourceMerge PackageMergeStrategy = "resource-merge" FastForward PackageMergeStrategy = "fast-forward" ForceDeleteReplace PackageMergeStrategy = "force-delete-replace" )
type PackagePatchTaskSpec ¶
type PackagePatchTaskSpec struct { // Patches is a list of individual patch operations. Patches []PatchSpec `json:"patches,omitempty"` }
func (*PackagePatchTaskSpec) DeepCopy ¶
func (in *PackagePatchTaskSpec) DeepCopy() *PackagePatchTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackagePatchTaskSpec.
func (*PackagePatchTaskSpec) DeepCopyInto ¶
func (in *PackagePatchTaskSpec) DeepCopyInto(out *PackagePatchTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRevision ¶
type PackageRevision struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PackageRevisionSpec `json:"spec,omitempty"` Status PackageRevisionStatus `json:"status,omitempty"` }
PackageRevision +k8s:openapi-gen=true
func (*PackageRevision) DeepCopy ¶
func (in *PackageRevision) DeepCopy() *PackageRevision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevision.
func (*PackageRevision) DeepCopyInto ¶
func (in *PackageRevision) DeepCopyInto(out *PackageRevision)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRevision) DeepCopyObject ¶
func (in *PackageRevision) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageRevisionLifecycle ¶
type PackageRevisionLifecycle string
const ( PackageRevisionLifecycleDraft PackageRevisionLifecycle = "Draft" PackageRevisionLifecycleProposed PackageRevisionLifecycle = "Proposed" PackageRevisionLifecyclePublished PackageRevisionLifecycle = "Published" PackageRevisionLifecycleDeletionProposed PackageRevisionLifecycle = "DeletionProposed" )
type PackageRevisionList ¶
type PackageRevisionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PackageRevision `json:"items"` }
PackageRevisionList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PackageRevisionList) DeepCopy ¶
func (in *PackageRevisionList) DeepCopy() *PackageRevisionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionList.
func (*PackageRevisionList) DeepCopyInto ¶
func (in *PackageRevisionList) DeepCopyInto(out *PackageRevisionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRevisionList) DeepCopyObject ¶
func (in *PackageRevisionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageRevisionRef ¶
type PackageRevisionRef struct { // `Name` is the name of the referenced PackageRevision resource. Name string `json:"name"` }
PackageRevisionRef is a reference to a package revision.
func (*PackageRevisionRef) DeepCopy ¶
func (in *PackageRevisionRef) DeepCopy() *PackageRevisionRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionRef.
func (*PackageRevisionRef) DeepCopyInto ¶
func (in *PackageRevisionRef) DeepCopyInto(out *PackageRevisionRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRevisionResources ¶
type PackageRevisionResources struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PackageRevisionResourcesSpec `json:"spec,omitempty"` Status PackageRevisionResourcesStatus `json:"status,omitempty"` }
PackageRevisionResources +k8s:openapi-gen=true
func (*PackageRevisionResources) DeepCopy ¶
func (in *PackageRevisionResources) DeepCopy() *PackageRevisionResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionResources.
func (*PackageRevisionResources) DeepCopyInto ¶
func (in *PackageRevisionResources) DeepCopyInto(out *PackageRevisionResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRevisionResources) DeepCopyObject ¶
func (in *PackageRevisionResources) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageRevisionResourcesList ¶
type PackageRevisionResourcesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PackageRevisionResources `json:"items"` }
PackageRevisionResourcesList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PackageRevisionResourcesList) DeepCopy ¶
func (in *PackageRevisionResourcesList) DeepCopy() *PackageRevisionResourcesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionResourcesList.
func (*PackageRevisionResourcesList) DeepCopyInto ¶
func (in *PackageRevisionResourcesList) DeepCopyInto(out *PackageRevisionResourcesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRevisionResourcesList) DeepCopyObject ¶
func (in *PackageRevisionResourcesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageRevisionResourcesSpec ¶
type PackageRevisionResourcesSpec struct { // PackageName identifies the package in the repository. PackageName string `json:"packageName,omitempty"` // WorkspaceName identifies the workspace of the package. WorkspaceName WorkspaceName `json:"workspaceName,omitempty"` // Revision identifies the version of the package. Revision string `json:"revision,omitempty"` // RepositoryName is the name of the Repository object containing this package. RepositoryName string `json:"repository,omitempty"` // Resources are the content of the package. Resources map[string]string `json:"resources,omitempty"` }
PackageRevisionResourcesSpec represents resources (as ResourceList serialized as yaml string) of the PackageRevision.
func (*PackageRevisionResourcesSpec) DeepCopy ¶
func (in *PackageRevisionResourcesSpec) DeepCopy() *PackageRevisionResourcesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionResourcesSpec.
func (*PackageRevisionResourcesSpec) DeepCopyInto ¶
func (in *PackageRevisionResourcesSpec) DeepCopyInto(out *PackageRevisionResourcesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRevisionResourcesStatus ¶
type PackageRevisionResourcesStatus struct { // RenderStatus contains the result of rendering the package resources. RenderStatus RenderStatus `json:"renderStatus,omitempty"` }
PackageRevisionResourcesStatus represents state of the rendered package resources.
func (*PackageRevisionResourcesStatus) DeepCopy ¶
func (in *PackageRevisionResourcesStatus) DeepCopy() *PackageRevisionResourcesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionResourcesStatus.
func (*PackageRevisionResourcesStatus) DeepCopyInto ¶
func (in *PackageRevisionResourcesStatus) DeepCopyInto(out *PackageRevisionResourcesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRevisionSpec ¶
type PackageRevisionSpec struct { // PackageName identifies the package in the repository. PackageName string `json:"packageName,omitempty"` // RepositoryName is the name of the Repository object containing this package. RepositoryName string `json:"repository,omitempty"` // WorkspaceName is a short, unique description of the changes contained in this package revision. WorkspaceName WorkspaceName `json:"workspaceName,omitempty"` // Revision identifies the version of the package. Revision string `json:"revision,omitempty"` // Parent references a package that provides resources to us Parent *ParentReference `json:"parent,omitempty"` Lifecycle PackageRevisionLifecycle `json:"lifecycle,omitempty"` // The task slice holds zero or more tasks that describe the operations // performed on the packagerevision. The are essentially a replayable history // of the packagerevision, // // Packagerevisions that were not created in Porch may have an // empty task list. // // Packagerevisions created and managed through Porch will always // have either an Init, Edit, or a Clone task as the first entry in their // task list. This represent packagerevisions created from scratch, based // a copy of a different revision in the same package, or a packagerevision // cloned from another package. // Each change to the packagerevision will result in a correspondig // task being added to the list of tasks. It will describe the operation // performed and will have a corresponding entry (commit or layer) in git // or oci. // The task slice describes the history of the packagerevision, so it // is an append only list (We might introduce some kind of compaction in the // future to keep the number of tasks at a reasonable number). Tasks []Task `json:"tasks,omitempty"` ReadinessGates []ReadinessGate `json:"readinessGates,omitempty"` }
PackageRevisionSpec defines the desired state of PackageRevision
func (*PackageRevisionSpec) DeepCopy ¶
func (in *PackageRevisionSpec) DeepCopy() *PackageRevisionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionSpec.
func (*PackageRevisionSpec) DeepCopyInto ¶
func (in *PackageRevisionSpec) DeepCopyInto(out *PackageRevisionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRevisionStatus ¶
type PackageRevisionStatus struct { // UpstreamLock identifies the upstream data for this package. UpstreamLock *UpstreamLock `json:"upstreamLock,omitempty"` // PublishedBy is the identity of the user who approved the packagerevision. PublishedBy string `json:"publishedBy,omitempty"` // PublishedAt is the time when the packagerevision were approved. PublishedAt metav1.Time `json:"publishTimestamp,omitempty"` // Deployment is true if this is a deployment package (in a deployment repository). Deployment bool `json:"deployment,omitempty"` Conditions []Condition `json:"conditions,omitempty"` }
PackageRevisionStatus defines the observed state of PackageRevision
func (*PackageRevisionStatus) DeepCopy ¶
func (in *PackageRevisionStatus) DeepCopy() *PackageRevisionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionStatus.
func (*PackageRevisionStatus) DeepCopyInto ¶
func (in *PackageRevisionStatus) DeepCopyInto(out *PackageRevisionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageSpec ¶
type PackageSpec struct { // PackageName identifies the package in the repository. PackageName string `json:"packageName,omitempty"` // RepositoryName is the name of the Repository object containing this package. RepositoryName string `json:"repository,omitempty"` }
PackageSpec defines the desired state of Package
func (*PackageSpec) DeepCopy ¶
func (in *PackageSpec) DeepCopy() *PackageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSpec.
func (*PackageSpec) DeepCopyInto ¶
func (in *PackageSpec) DeepCopyInto(out *PackageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageStatus ¶
type PackageStatus struct { // LatestRevision identifies the package revision that is the latest // published package revision belonging to this package LatestRevision string `json:"latestRevision,omitempty"` }
PackageStatus defines the observed state of Package
func (*PackageStatus) DeepCopy ¶
func (in *PackageStatus) DeepCopy() *PackageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageStatus.
func (*PackageStatus) DeepCopyInto ¶
func (in *PackageStatus) DeepCopyInto(out *PackageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageUpdateTaskSpec ¶
type PackageUpdateTaskSpec struct { // `Upstream` is the reference to the upstream package. Upstream UpstreamPackage `json:"upstreamRef,omitempty"` }
func (*PackageUpdateTaskSpec) DeepCopy ¶
func (in *PackageUpdateTaskSpec) DeepCopy() *PackageUpdateTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageUpdateTaskSpec.
func (*PackageUpdateTaskSpec) DeepCopyInto ¶
func (in *PackageUpdateTaskSpec) DeepCopyInto(out *PackageUpdateTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParentReference ¶
type ParentReference struct { // Name is the name of the parent PackageRevision Name string `json:"name"` }
ParentReference is a reference to a parent package
func (*ParentReference) DeepCopy ¶
func (in *ParentReference) DeepCopy() *ParentReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentReference.
func (*ParentReference) DeepCopyInto ¶
func (in *ParentReference) DeepCopyInto(out *ParentReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PatchSpec ¶
type PatchSpec struct { File string `json:"file,omitempty"` Contents string `json:"contents,omitempty"` PatchType PatchType `json:"patchType,omitempty"` }
func (*PatchSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchSpec.
func (*PatchSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadinessGate ¶
type ReadinessGate struct {
ConditionType string `json:"conditionType,omitempty"`
}
func (*ReadinessGate) DeepCopy ¶
func (in *ReadinessGate) DeepCopy() *ReadinessGate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadinessGate.
func (*ReadinessGate) DeepCopyInto ¶
func (in *ReadinessGate) DeepCopyInto(out *ReadinessGate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenderStatus ¶
type RenderStatus struct { Result ResultList `json:"result,omitempty"` Err string `json:"error"` }
RenderStatus represents the result of performing render operation on a package resources.
func (*RenderStatus) DeepCopy ¶
func (in *RenderStatus) DeepCopy() *RenderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenderStatus.
func (*RenderStatus) DeepCopyInto ¶
func (in *RenderStatus) DeepCopyInto(out *RenderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryRef ¶
type RepositoryRef struct { // Name of the Repository resource referenced. Name string `json:"name"` }
RepositoryRef identifies a reference to a Repository resource.
func (*RepositoryRef) DeepCopy ¶
func (in *RepositoryRef) DeepCopy() *RepositoryRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryRef.
func (*RepositoryRef) DeepCopyInto ¶
func (in *RepositoryRef) DeepCopyInto(out *RepositoryRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryType ¶
type RepositoryType string
const ( RepositoryTypeGit RepositoryType = "git" RepositoryTypeOCI RepositoryType = "oci" )
type ResourceIdentifier ¶
ResourceIdentifier contains the information needed to uniquely identify a resource in a cluster.
func (*ResourceIdentifier) DeepCopy ¶
func (in *ResourceIdentifier) DeepCopy() *ResourceIdentifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIdentifier.
func (*ResourceIdentifier) DeepCopyInto ¶
func (in *ResourceIdentifier) DeepCopyInto(out *ResourceIdentifier)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Result ¶
type Result struct { // Image is the full name of the image that generates this result // Image and Exec are mutually exclusive Image string `json:"image,omitempty"` // ExecPath is the the absolute os-specific path to the executable file // If user provides an executable file with commands, ExecPath should // contain the entire input string. ExecPath string `json:"exec,omitempty"` // TODO(droot): This is required for making structured results subpackage aware. // Enable this once test harness supports filepath based assertions. // Pkg is OS specific Absolute path to the package. // Pkg string `yaml:"pkg,omitempty"` // Stderr is the content in function stderr Stderr string `json:"stderr,omitempty"` // ExitCode is the exit code from running the function ExitCode int `json:"exitCode"` // Results is the list of results for the function Results []ResultItem `json:"results,omitempty"` }
Result contains the structured result from an individual function
func (*Result) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Result.
func (*Result) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResultItem ¶
type ResultItem struct { // Message is a human readable message. This field is required. Message string `json:"message,omitempty"` // Severity is the severity of this result Severity string `json:"severity,omitempty"` // ResourceRef is a reference to a resource. // Required fields: apiVersion, kind, name. ResourceRef *ResourceIdentifier `json:"resourceRef,omitempty"` // Field is a reference to the field in a resource this result refers to Field *Field `json:"field,omitempty"` // File references a file containing the resource this result refers to File *File `json:"file,omitempty"` // Tags is an unstructured key value map stored with a result that may be set // by external tools to store and retrieve arbitrary metadata Tags map[string]string `json:"tags,omitempty"` }
ResultItem defines a validation result
func (*ResultItem) DeepCopy ¶
func (in *ResultItem) DeepCopy() *ResultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultItem.
func (*ResultItem) DeepCopyInto ¶
func (in *ResultItem) DeepCopyInto(out *ResultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResultList ¶
type ResultList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // ExitCode is the exit code of kpt command ExitCode int `json:"exitCode"` // Items contain a list of function result Items []*Result `json:"items,omitempty"` }
ResultList contains aggregated results from multiple functions
func (*ResultList) DeepCopy ¶
func (in *ResultList) DeepCopy() *ResultList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultList.
func (*ResultList) DeepCopyInto ¶
func (in *ResultList) DeepCopyInto(out *ResultList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretRef ¶
type SecretRef struct { // Name of the secret. The secret is expected to be located in the same namespace as the resource containing the reference. Name string `json:"name"` }
func (*SecretRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
func (*SecretRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Selector ¶
type Selector struct { // APIVersion of the target resources APIVersion string `json:"apiVersion,omitempty"` // Kind of the target resources Kind string `json:"kind,omitempty"` // Name of the target resources Name string `json:"name,omitempty"` // Namespace of the target resources Namespace string `json:"namespace,omitempty"` }
Selector corresponds to the `--match-???` set of flags of the `kpt fn eval` command: See https://kpt.dev/reference/cli/fn/eval/ for additional information.
func (*Selector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Task ¶
type Task struct { Type TaskType `json:"type"` Init *PackageInitTaskSpec `json:"init,omitempty"` Clone *PackageCloneTaskSpec `json:"clone,omitempty"` Patch *PackagePatchTaskSpec `json:"patch,omitempty"` Edit *PackageEditTaskSpec `json:"edit,omitempty"` Eval *FunctionEvalTaskSpec `json:"eval,omitempty"` Update *PackageUpdateTaskSpec `json:"update,omitempty"` }
func (*Task) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.
func (*Task) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskResult ¶
type TaskResult struct { Task *Task `json:"task"` RenderStatus *RenderStatus `json:"renderStatus,omitempty"` }
func (*TaskResult) DeepCopy ¶
func (in *TaskResult) DeepCopy() *TaskResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskResult.
func (*TaskResult) DeepCopyInto ¶
func (in *TaskResult) DeepCopyInto(out *TaskResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamLock ¶
type UpstreamLock struct { // Type is the type of origin. Type OriginType `json:"type,omitempty"` // Git is the resolved locator for a package on Git. Git *GitLock `json:"git,omitempty"` }
UpstreamLock is a resolved locator for the last fetch of the package.
func (*UpstreamLock) DeepCopy ¶
func (in *UpstreamLock) DeepCopy() *UpstreamLock
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamLock.
func (*UpstreamLock) DeepCopyInto ¶
func (in *UpstreamLock) DeepCopyInto(out *UpstreamLock)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamPackage ¶
type UpstreamPackage struct { // Type of the repository (i.e. git, OCI). If empty, `upstreamRef` will be used. Type RepositoryType `json:"type,omitempty"` // Git upstream package specification. Required if `type` is `git`. Must be unspecified if `type` is not `git`. Git *GitPackage `json:"git,omitempty"` // OCI upstream package specification. Required if `type` is `oci`. Must be unspecified if `type` is not `oci`. Oci *OciPackage `json:"oci,omitempty"` // UpstreamRef is the reference to the package from a registered repository rather than external package. UpstreamRef *PackageRevisionRef `json:"upstreamRef,omitempty"` }
UpstreamRepository repository may be specified directly or by referencing another Repository resource.
func (*UpstreamPackage) DeepCopy ¶
func (in *UpstreamPackage) DeepCopy() *UpstreamPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamPackage.
func (*UpstreamPackage) DeepCopyInto ¶
func (in *UpstreamPackage) DeepCopyInto(out *UpstreamPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceName ¶
type WorkspaceName string