Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func AddKnownTypes(scheme *runtime.Scheme) error
- func ConvertPackageRevisionResourcesFieldSelector(label, value string) (internalLabel, internalValue string, err error)
- func ConvertPackageRevisionsFieldSelector(label, value string) (internalLabel, internalValue string, err error)
- func Resource(resource string) schema.GroupResource
- func ValidateUpdateLifeCycle(newPkgRev, oldPkgRev *PackageRevision) error
- func ValidateWorkspaceName(workspace string) error
- type PackageRevision
- func (in *PackageRevision) DeepCopy() *PackageRevision
- func (in *PackageRevision) DeepCopyInto(out *PackageRevision)
- func (in *PackageRevision) DeepCopyObject() runtime.Object
- func (*PackageRevision) Descriptor() ([]byte, []int)
- func (r *PackageRevision) GetCondition(t condition.ConditionType) condition.Condition
- func (PackageRevision) GetGroupVersionResource() schema.GroupVersionResource
- func (r *PackageRevision) GetObjectMeta() *metav1.ObjectMeta
- func (r *PackageRevision) GetPreviousCondition(cType condition.ConditionType) condition.Condition
- func (r *PackageRevision) GetSingularName() string
- func (r *PackageRevision) GetStatus() resource.StatusSubResource
- func (r *PackageRevision) HasCondition(t condition.ConditionType) bool
- func (r *PackageRevision) HasReadinessGate(cType condition.ConditionType) bool
- func (PackageRevision) IsStorageVersion() bool
- func (m *PackageRevision) Marshal() (dAtA []byte, err error)
- func (m *PackageRevision) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevision) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (PackageRevision) NamespaceScoped() bool
- func (PackageRevision) New() runtime.Object
- func (PackageRevision) NewList() runtime.Object
- func (r *PackageRevision) NextReadinessGate(cType condition.ConditionType) condition.ConditionType
- func (*PackageRevision) ProtoMessage()
- func (m *PackageRevision) Reset()
- func (r *PackageRevision) SetConditions(c ...condition.Condition)
- func (m *PackageRevision) Size() (n int)
- func (this *PackageRevision) String() string
- func (m *PackageRevision) Unmarshal(dAtA []byte) error
- func (r *PackageRevision) ValidateDiscoveryAnnotation() error
- func (r *PackageRevision) ValidateRepository() error
- func (m *PackageRevision) XXX_DiscardUnknown()
- func (m *PackageRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevision) XXX_Merge(src proto.Message)
- func (m *PackageRevision) XXX_Size() int
- func (m *PackageRevision) XXX_Unmarshal(b []byte) error
- type PackageRevisionApproval
- func (in *PackageRevisionApproval) DeepCopy() *PackageRevisionApproval
- func (in *PackageRevisionApproval) DeepCopyInto(out *PackageRevisionApproval)
- func (*PackageRevisionApproval) Descriptor() ([]byte, []int)
- func (r *PackageRevisionApproval) Destroy()
- func (m *PackageRevisionApproval) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionApproval) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionApproval) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a *PackageRevisionApproval) New() runtime.Object
- func (*PackageRevisionApproval) ProtoMessage()
- func (m *PackageRevisionApproval) Reset()
- func (m *PackageRevisionApproval) Size() (n int)
- func (this *PackageRevisionApproval) String() string
- func (r *PackageRevisionApproval) SubResourceName() string
- func (m *PackageRevisionApproval) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionApproval) XXX_DiscardUnknown()
- func (m *PackageRevisionApproval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionApproval) XXX_Merge(src proto.Message)
- func (m *PackageRevisionApproval) XXX_Size() int
- func (m *PackageRevisionApproval) XXX_Unmarshal(b []byte) error
- type PackageRevisionDependencies
- func (in *PackageRevisionDependencies) DeepCopy() *PackageRevisionDependencies
- func (in *PackageRevisionDependencies) DeepCopyInto(out *PackageRevisionDependencies)
- func (*PackageRevisionDependencies) Descriptor() ([]byte, []int)
- func (m *PackageRevisionDependencies) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionDependencies) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionDependencies) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionDependencies) ProtoMessage()
- func (m *PackageRevisionDependencies) Reset()
- func (m *PackageRevisionDependencies) Size() (n int)
- func (this *PackageRevisionDependencies) String() string
- func (m *PackageRevisionDependencies) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionDependencies) XXX_DiscardUnknown()
- func (m *PackageRevisionDependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionDependencies) XXX_Merge(src proto.Message)
- func (m *PackageRevisionDependencies) XXX_Size() int
- func (m *PackageRevisionDependencies) XXX_Unmarshal(b []byte) error
- type PackageRevisionDependency
- func (in *PackageRevisionDependency) DeepCopy() *PackageRevisionDependency
- func (in *PackageRevisionDependency) DeepCopyInto(out *PackageRevisionDependency)
- func (*PackageRevisionDependency) Descriptor() ([]byte, []int)
- func (m *PackageRevisionDependency) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionDependency) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionDependency) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionDependency) ProtoMessage()
- func (m *PackageRevisionDependency) Reset()
- func (m *PackageRevisionDependency) Size() (n int)
- func (this *PackageRevisionDependency) String() string
- func (m *PackageRevisionDependency) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionDependency) XXX_DiscardUnknown()
- func (m *PackageRevisionDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionDependency) XXX_Merge(src proto.Message)
- func (m *PackageRevisionDependency) XXX_Size() int
- func (m *PackageRevisionDependency) XXX_Unmarshal(b []byte) error
- type PackageRevisionDependencyError
- func (in *PackageRevisionDependencyError) DeepCopy() *PackageRevisionDependencyError
- func (in *PackageRevisionDependencyError) DeepCopyInto(out *PackageRevisionDependencyError)
- func (*PackageRevisionDependencyError) Descriptor() ([]byte, []int)
- func (m *PackageRevisionDependencyError) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionDependencyError) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionDependencyError) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionDependencyError) ProtoMessage()
- func (m *PackageRevisionDependencyError) Reset()
- func (m *PackageRevisionDependencyError) Size() (n int)
- func (this *PackageRevisionDependencyError) String() string
- func (m *PackageRevisionDependencyError) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionDependencyError) XXX_DiscardUnknown()
- func (m *PackageRevisionDependencyError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionDependencyError) XXX_Merge(src proto.Message)
- func (m *PackageRevisionDependencyError) XXX_Size() int
- func (m *PackageRevisionDependencyError) XXX_Unmarshal(b []byte) error
- type PackageRevisionDependencyType
- type PackageRevisionLifecycle
- type PackageRevisionList
- func (in *PackageRevisionList) DeepCopy() *PackageRevisionList
- func (in *PackageRevisionList) DeepCopyInto(out *PackageRevisionList)
- func (in *PackageRevisionList) DeepCopyObject() runtime.Object
- func (*PackageRevisionList) Descriptor() ([]byte, []int)
- func (r *PackageRevisionList) GetListMeta() *metav1.ListMeta
- func (m *PackageRevisionList) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionList) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionList) ProtoMessage()
- func (m *PackageRevisionList) Reset()
- func (m *PackageRevisionList) Size() (n int)
- func (this *PackageRevisionList) String() string
- func (m *PackageRevisionList) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionList) XXX_DiscardUnknown()
- func (m *PackageRevisionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionList) XXX_Merge(src proto.Message)
- func (m *PackageRevisionList) XXX_Size() int
- func (m *PackageRevisionList) XXX_Unmarshal(b []byte) error
- type PackageRevisionResources
- func (in *PackageRevisionResources) ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
- func (in *PackageRevisionResources) DeepCopy() *PackageRevisionResources
- func (in *PackageRevisionResources) DeepCopyInto(out *PackageRevisionResources)
- func (in *PackageRevisionResources) DeepCopyObject() runtime.Object
- func (*PackageRevisionResources) Descriptor() ([]byte, []int)
- func (r *PackageRevisionResources) GetCondition(t condition.ConditionType) condition.Condition
- func (PackageRevisionResources) GetGroupVersionResource() schema.GroupVersionResource
- func (r *PackageRevisionResources) GetObjectMeta() *metav1.ObjectMeta
- func (r *PackageRevisionResources) GetSingularName() string
- func (PackageRevisionResources) IsStorageVersion() bool
- func (m *PackageRevisionResources) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionResources) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionResources) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (PackageRevisionResources) NamespaceScoped() bool
- func (PackageRevisionResources) New() runtime.Object
- func (PackageRevisionResources) NewList() runtime.Object
- func (*PackageRevisionResources) ProtoMessage()
- func (m *PackageRevisionResources) Reset()
- func (r *PackageRevisionResources) SetConditions(c ...condition.Condition)
- func (m *PackageRevisionResources) Size() (n int)
- func (this *PackageRevisionResources) String() string
- func (m *PackageRevisionResources) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionResources) XXX_DiscardUnknown()
- func (m *PackageRevisionResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionResources) XXX_Merge(src proto.Message)
- func (m *PackageRevisionResources) XXX_Size() int
- func (m *PackageRevisionResources) XXX_Unmarshal(b []byte) error
- type PackageRevisionResourcesList
- func (in *PackageRevisionResourcesList) ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
- func (in *PackageRevisionResourcesList) DeepCopy() *PackageRevisionResourcesList
- func (in *PackageRevisionResourcesList) DeepCopyInto(out *PackageRevisionResourcesList)
- func (in *PackageRevisionResourcesList) DeepCopyObject() runtime.Object
- func (*PackageRevisionResourcesList) Descriptor() ([]byte, []int)
- func (r *PackageRevisionResourcesList) GetListMeta() *metav1.ListMeta
- func (m *PackageRevisionResourcesList) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionResourcesList) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionResourcesList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionResourcesList) ProtoMessage()
- func (m *PackageRevisionResourcesList) Reset()
- func (m *PackageRevisionResourcesList) Size() (n int)
- func (this *PackageRevisionResourcesList) String() string
- func (m *PackageRevisionResourcesList) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionResourcesList) XXX_DiscardUnknown()
- func (m *PackageRevisionResourcesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionResourcesList) XXX_Merge(src proto.Message)
- func (m *PackageRevisionResourcesList) XXX_Size() int
- func (m *PackageRevisionResourcesList) XXX_Unmarshal(b []byte) error
- type PackageRevisionResourcesSpec
- func (in *PackageRevisionResourcesSpec) DeepCopy() *PackageRevisionResourcesSpec
- func (in *PackageRevisionResourcesSpec) DeepCopyInto(out *PackageRevisionResourcesSpec)
- func (*PackageRevisionResourcesSpec) Descriptor() ([]byte, []int)
- func (m *PackageRevisionResourcesSpec) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionResourcesSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionResourcesSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionResourcesSpec) ProtoMessage()
- func (m *PackageRevisionResourcesSpec) Reset()
- func (m *PackageRevisionResourcesSpec) Size() (n int)
- func (this *PackageRevisionResourcesSpec) String() string
- func (m *PackageRevisionResourcesSpec) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionResourcesSpec) XXX_DiscardUnknown()
- func (m *PackageRevisionResourcesSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionResourcesSpec) XXX_Merge(src proto.Message)
- func (m *PackageRevisionResourcesSpec) XXX_Size() int
- func (m *PackageRevisionResourcesSpec) XXX_Unmarshal(b []byte) error
- type PackageRevisionResourcesStatus
- func (in *PackageRevisionResourcesStatus) DeepCopy() *PackageRevisionResourcesStatus
- func (in *PackageRevisionResourcesStatus) DeepCopyInto(out *PackageRevisionResourcesStatus)
- func (*PackageRevisionResourcesStatus) Descriptor() ([]byte, []int)
- func (m *PackageRevisionResourcesStatus) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionResourcesStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionResourcesStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionResourcesStatus) ProtoMessage()
- func (m *PackageRevisionResourcesStatus) Reset()
- func (m *PackageRevisionResourcesStatus) Size() (n int)
- func (this *PackageRevisionResourcesStatus) String() string
- func (m *PackageRevisionResourcesStatus) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionResourcesStatus) XXX_DiscardUnknown()
- func (m *PackageRevisionResourcesStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionResourcesStatus) XXX_Merge(src proto.Message)
- func (m *PackageRevisionResourcesStatus) XXX_Size() int
- func (m *PackageRevisionResourcesStatus) XXX_Unmarshal(b []byte) error
- type PackageRevisionSpec
- func (in *PackageRevisionSpec) DeepCopy() *PackageRevisionSpec
- func (in *PackageRevisionSpec) DeepCopyInto(out *PackageRevisionSpec)
- func (*PackageRevisionSpec) Descriptor() ([]byte, []int)
- func (m *PackageRevisionSpec) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionSpec) ProtoMessage()
- func (m *PackageRevisionSpec) Reset()
- func (m *PackageRevisionSpec) Size() (n int)
- func (this *PackageRevisionSpec) String() string
- func (m *PackageRevisionSpec) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionSpec) XXX_DiscardUnknown()
- func (m *PackageRevisionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionSpec) XXX_Merge(src proto.Message)
- func (m *PackageRevisionSpec) XXX_Size() int
- func (m *PackageRevisionSpec) XXX_Unmarshal(b []byte) error
- type PackageRevisionStatus
- func (r PackageRevisionStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
- func (in *PackageRevisionStatus) DeepCopy() *PackageRevisionStatus
- func (in *PackageRevisionStatus) DeepCopyInto(out *PackageRevisionStatus)
- func (*PackageRevisionStatus) Descriptor() ([]byte, []int)
- func (m *PackageRevisionStatus) Marshal() (dAtA []byte, err error)
- func (m *PackageRevisionStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PackageRevisionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PackageRevisionStatus) ProtoMessage()
- func (m *PackageRevisionStatus) Reset()
- func (m *PackageRevisionStatus) Size() (n int)
- func (this *PackageRevisionStatus) String() string
- func (PackageRevisionStatus) SubResourceName() string
- func (m *PackageRevisionStatus) Unmarshal(dAtA []byte) error
- func (m *PackageRevisionStatus) XXX_DiscardUnknown()
- func (m *PackageRevisionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageRevisionStatus) XXX_Merge(src proto.Message)
- func (m *PackageRevisionStatus) XXX_Size() int
- func (m *PackageRevisionStatus) XXX_Unmarshal(b []byte) error
- type Task
- func (in *Task) DeepCopy() *Task
- func (in *Task) DeepCopyInto(out *Task)
- func (*Task) Descriptor() ([]byte, []int)
- func (m *Task) Marshal() (dAtA []byte, err error)
- func (m *Task) MarshalTo(dAtA []byte) (int, error)
- func (m *Task) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) Size() (n int)
- func (this *Task) String() string
- func (m *Task) Unmarshal(dAtA []byte) error
- func (m *Task) XXX_DiscardUnknown()
- func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Task) XXX_Merge(src proto.Message)
- func (m *Task) XXX_Size() int
- func (m *Task) XXX_Unmarshal(b []byte) error
- type TaskType
- type UpdatePolicy
Constants ¶
const ( Group = "pkg.pkgserver.dev" Version = "v1alpha1" )
const (
DiscoveredPkgRevKey = Group + "/" + "DiscoveredPkgRev"
)
const PackageRevisionPlural = "packagerevisions"
const PackageRevisionResourcesPlural = "packagerevisionresourceses"
const PackageRevisionResourcesSingular = "packagerevisionresources"
const PackageRevisionSingular = "packagerevision"
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // SchemeGroupVersion contains the API group and version information for the types in this package. SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // AddToScheme applies all the stored functions to the scheme. A non-nil error // indicates that one function failed and the attempt was abandoned. AddToScheme = localSchemeBuilder.AddToScheme )
var (
PackageRevisionKind = reflect.TypeOf(PackageRevision{}).Name()
)
PackageRevision type metadata.
var (
PackageRevisionResourcesKind = reflect.TypeOf(PackageRevisionResources{}).Name()
)
PackageRevisionResources type metadata.
Functions ¶
func AddKnownTypes ¶
Adds the list of known types to the given scheme.
func ConvertPackageRevisionResourcesFieldSelector ¶
func ConvertPackageRevisionResourcesFieldSelector(label, value string) (internalLabel, internalValue string, err error)
ConvertPackageRevisionFieldSelector is the schema conversion function for normalizing the the FieldSelector for PackageRevision
func ConvertPackageRevisionsFieldSelector ¶
func ConvertPackageRevisionsFieldSelector(label, value string) (internalLabel, internalValue string, err error)
ConvertPackageRevisionsFieldSelector is the schema conversion function for normalizing the FieldSelector for PackageRevisions
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func ValidateUpdateLifeCycle ¶
func ValidateUpdateLifeCycle(newPkgRev, oldPkgRev *PackageRevision) error
func ValidateWorkspaceName ¶
ValidateWorkspaceName validates WorkspaceName. It must:
- be at least 1 and at most 63 characters long
- contain only lowercase alphanumeric characters or '-'
- start and end with an alphanumeric character.
'/ ' should never be allowed, because we use '/' to delimit branch names (e.g. the 'drafts/' prefix).
Types ¶
type PackageRevision ¶
type PackageRevision struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec PackageRevisionSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status PackageRevisionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
PackageRevision is the Schema for the PackageRevision API
+k8s:openapi-gen=true
func BuildPackageRevision ¶
func BuildPackageRevision(meta metav1.ObjectMeta, spec PackageRevisionSpec, status PackageRevisionStatus) *PackageRevision
BuildPackageRevision returns an PackageRevision from a client Object a Spec/Status
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.
func (*PackageRevision) Descriptor ¶
func (*PackageRevision) Descriptor() ([]byte, []int)
func (*PackageRevision) GetCondition ¶
func (r *PackageRevision) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (PackageRevision) GetGroupVersionResource ¶
func (PackageRevision) GetGroupVersionResource() schema.GroupVersionResource
func (*PackageRevision) GetObjectMeta ¶
func (r *PackageRevision) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (*PackageRevision) GetPreviousCondition ¶
func (r *PackageRevision) GetPreviousCondition(cType condition.ConditionType) condition.Condition
func (*PackageRevision) GetSingularName ¶
func (r *PackageRevision) GetSingularName() string
func (*PackageRevision) GetStatus ¶
func (r *PackageRevision) GetStatus() resource.StatusSubResource
func (*PackageRevision) HasCondition ¶
func (r *PackageRevision) HasCondition(t condition.ConditionType) bool
HasCondition returns the if the condition is set
func (*PackageRevision) HasReadinessGate ¶
func (r *PackageRevision) HasReadinessGate(cType condition.ConditionType) bool
func (PackageRevision) IsStorageVersion ¶
func (PackageRevision) IsStorageVersion() bool
IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.
func (*PackageRevision) Marshal ¶
func (m *PackageRevision) Marshal() (dAtA []byte, err error)
func (*PackageRevision) MarshalToSizedBuffer ¶
func (m *PackageRevision) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (PackageRevision) NamespaceScoped ¶
func (PackageRevision) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object.
func (PackageRevision) New ¶
func (PackageRevision) New() runtime.Object
New implements resource.Object
func (PackageRevision) NewList ¶
func (PackageRevision) NewList() runtime.Object
NewList implements resource.Object
func (*PackageRevision) NextReadinessGate ¶
func (r *PackageRevision) NextReadinessGate(cType condition.ConditionType) condition.ConditionType
func (*PackageRevision) ProtoMessage ¶
func (*PackageRevision) ProtoMessage()
func (*PackageRevision) Reset ¶
func (m *PackageRevision) Reset()
func (*PackageRevision) SetConditions ¶
func (r *PackageRevision) SetConditions(c ...condition.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*PackageRevision) Size ¶
func (m *PackageRevision) Size() (n int)
func (*PackageRevision) String ¶
func (this *PackageRevision) String() string
func (*PackageRevision) Unmarshal ¶
func (m *PackageRevision) Unmarshal(dAtA []byte) error
func (*PackageRevision) ValidateDiscoveryAnnotation ¶
func (r *PackageRevision) ValidateDiscoveryAnnotation() error
func (*PackageRevision) ValidateRepository ¶
func (r *PackageRevision) ValidateRepository() error
func (*PackageRevision) XXX_DiscardUnknown ¶
func (m *PackageRevision) XXX_DiscardUnknown()
func (*PackageRevision) XXX_Marshal ¶
func (m *PackageRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevision) XXX_Merge ¶
func (m *PackageRevision) XXX_Merge(src proto.Message)
func (*PackageRevision) XXX_Size ¶
func (m *PackageRevision) XXX_Size() int
func (*PackageRevision) XXX_Unmarshal ¶
func (m *PackageRevision) XXX_Unmarshal(b []byte) error
type PackageRevisionApproval ¶
type PackageRevisionApproval struct{}
func (*PackageRevisionApproval) DeepCopy ¶
func (in *PackageRevisionApproval) DeepCopy() *PackageRevisionApproval
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionApproval.
func (*PackageRevisionApproval) DeepCopyInto ¶
func (in *PackageRevisionApproval) DeepCopyInto(out *PackageRevisionApproval)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRevisionApproval) Descriptor ¶
func (*PackageRevisionApproval) Descriptor() ([]byte, []int)
func (*PackageRevisionApproval) Destroy ¶
func (r *PackageRevisionApproval) Destroy()
func (*PackageRevisionApproval) Marshal ¶
func (m *PackageRevisionApproval) Marshal() (dAtA []byte, err error)
func (*PackageRevisionApproval) MarshalTo ¶
func (m *PackageRevisionApproval) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionApproval) MarshalToSizedBuffer ¶
func (m *PackageRevisionApproval) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionApproval) New ¶
func (a *PackageRevisionApproval) New() runtime.Object
New returns an empty object that can be used with Create and Update after request data has been put into it. This object must be a pointer type for use with Codec.DecodeInto([]byte, runtime.Object)
func (*PackageRevisionApproval) ProtoMessage ¶
func (*PackageRevisionApproval) ProtoMessage()
func (*PackageRevisionApproval) Reset ¶
func (m *PackageRevisionApproval) Reset()
func (*PackageRevisionApproval) Size ¶
func (m *PackageRevisionApproval) Size() (n int)
func (*PackageRevisionApproval) String ¶
func (this *PackageRevisionApproval) String() string
func (*PackageRevisionApproval) SubResourceName ¶
func (r *PackageRevisionApproval) SubResourceName() string
func (*PackageRevisionApproval) Unmarshal ¶
func (m *PackageRevisionApproval) Unmarshal(dAtA []byte) error
func (*PackageRevisionApproval) XXX_DiscardUnknown ¶
func (m *PackageRevisionApproval) XXX_DiscardUnknown()
func (*PackageRevisionApproval) XXX_Marshal ¶
func (m *PackageRevisionApproval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionApproval) XXX_Merge ¶
func (m *PackageRevisionApproval) XXX_Merge(src proto.Message)
func (*PackageRevisionApproval) XXX_Size ¶
func (m *PackageRevisionApproval) XXX_Size() int
func (*PackageRevisionApproval) XXX_Unmarshal ¶
func (m *PackageRevisionApproval) XXX_Unmarshal(b []byte) error
type PackageRevisionDependencies ¶
type PackageRevisionDependencies struct { // Summary Error in case an error was discovered Error *string `json:"error,omitempty" protobuf:"bytes,1,opt,name=error"` // Errors define the detailed error per reference Errors []*PackageRevisionDependencyError `json:"errors,omitempty" protobuf:"bytes,2,rep,name=errors"` // Warnings define the detailed warning per reference Warnings []*PackageRevisionDependencyError `json:"warnings,omitempty" protobuf:"bytes,3,rep,name=warnings"` // Dependencies define the dependency details per reference Dependencies []*PackageRevisionDependency `json:"dependencies,omitempty" protobuf:"bytes,4,rep,name=dependencies"` }
func (*PackageRevisionDependencies) DeepCopy ¶
func (in *PackageRevisionDependencies) DeepCopy() *PackageRevisionDependencies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionDependencies.
func (*PackageRevisionDependencies) DeepCopyInto ¶
func (in *PackageRevisionDependencies) DeepCopyInto(out *PackageRevisionDependencies)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRevisionDependencies) Descriptor ¶
func (*PackageRevisionDependencies) Descriptor() ([]byte, []int)
func (*PackageRevisionDependencies) Marshal ¶
func (m *PackageRevisionDependencies) Marshal() (dAtA []byte, err error)
func (*PackageRevisionDependencies) MarshalTo ¶
func (m *PackageRevisionDependencies) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionDependencies) MarshalToSizedBuffer ¶
func (m *PackageRevisionDependencies) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionDependencies) ProtoMessage ¶
func (*PackageRevisionDependencies) ProtoMessage()
func (*PackageRevisionDependencies) Reset ¶
func (m *PackageRevisionDependencies) Reset()
func (*PackageRevisionDependencies) Size ¶
func (m *PackageRevisionDependencies) Size() (n int)
func (*PackageRevisionDependencies) String ¶
func (this *PackageRevisionDependencies) String() string
func (*PackageRevisionDependencies) Unmarshal ¶
func (m *PackageRevisionDependencies) Unmarshal(dAtA []byte) error
func (*PackageRevisionDependencies) XXX_DiscardUnknown ¶
func (m *PackageRevisionDependencies) XXX_DiscardUnknown()
func (*PackageRevisionDependencies) XXX_Marshal ¶
func (m *PackageRevisionDependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionDependencies) XXX_Merge ¶
func (m *PackageRevisionDependencies) XXX_Merge(src proto.Message)
func (*PackageRevisionDependencies) XXX_Size ¶
func (m *PackageRevisionDependencies) XXX_Size() int
func (*PackageRevisionDependencies) XXX_Unmarshal ¶
func (m *PackageRevisionDependencies) XXX_Unmarshal(b []byte) error
type PackageRevisionDependency ¶
type PackageRevisionDependency struct { // Type defines the type of dependency we refer to Type PackageRevisionDependencyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"` // Reference the dependency is sourced from (apiversion, kind, namespace, name) Ref *corev1.ObjectReference `json:"ref,omitempty" protobuf:"bytes,2,opt,name=ref"` // PackageDependencies define the package dependencies the reference depend upon (repository, realm, package, (revision) PackageDependencies []*pkgid.Upstream `json:"packageDependencies,omitempty" protobuf:"bytes,3,rep,name=packageDependencies"` // RuntimeDependencies define the runtime dependencies the reference depend upon (apiversion, kind, namespace, name) RuntimeDependencies []*corev1.ObjectReference `json:"runtimeDependencies,omitempty" protobuf:"bytes,4,rep,name=runtimeDependencies"` }
func (*PackageRevisionDependency) DeepCopy ¶
func (in *PackageRevisionDependency) DeepCopy() *PackageRevisionDependency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionDependency.
func (*PackageRevisionDependency) DeepCopyInto ¶
func (in *PackageRevisionDependency) DeepCopyInto(out *PackageRevisionDependency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRevisionDependency) Descriptor ¶
func (*PackageRevisionDependency) Descriptor() ([]byte, []int)
func (*PackageRevisionDependency) Marshal ¶
func (m *PackageRevisionDependency) Marshal() (dAtA []byte, err error)
func (*PackageRevisionDependency) MarshalTo ¶
func (m *PackageRevisionDependency) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionDependency) MarshalToSizedBuffer ¶
func (m *PackageRevisionDependency) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionDependency) ProtoMessage ¶
func (*PackageRevisionDependency) ProtoMessage()
func (*PackageRevisionDependency) Reset ¶
func (m *PackageRevisionDependency) Reset()
func (*PackageRevisionDependency) Size ¶
func (m *PackageRevisionDependency) Size() (n int)
func (*PackageRevisionDependency) String ¶
func (this *PackageRevisionDependency) String() string
func (*PackageRevisionDependency) Unmarshal ¶
func (m *PackageRevisionDependency) Unmarshal(dAtA []byte) error
func (*PackageRevisionDependency) XXX_DiscardUnknown ¶
func (m *PackageRevisionDependency) XXX_DiscardUnknown()
func (*PackageRevisionDependency) XXX_Marshal ¶
func (m *PackageRevisionDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionDependency) XXX_Merge ¶
func (m *PackageRevisionDependency) XXX_Merge(src proto.Message)
func (*PackageRevisionDependency) XXX_Size ¶
func (m *PackageRevisionDependency) XXX_Size() int
func (*PackageRevisionDependency) XXX_Unmarshal ¶
func (m *PackageRevisionDependency) XXX_Unmarshal(b []byte) error
type PackageRevisionDependencyError ¶
type PackageRevisionDependencyError struct { // Reference the error is sourced from (apiversion, kind, namespace, name) Ref *corev1.ObjectReference `json:"ref,omitempty" protobuf:"bytes,1,opt,name=ref"` // Reason describes the reason why the dependency failed Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"` }
func (*PackageRevisionDependencyError) DeepCopy ¶
func (in *PackageRevisionDependencyError) DeepCopy() *PackageRevisionDependencyError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionDependencyError.
func (*PackageRevisionDependencyError) DeepCopyInto ¶
func (in *PackageRevisionDependencyError) DeepCopyInto(out *PackageRevisionDependencyError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRevisionDependencyError) Descriptor ¶
func (*PackageRevisionDependencyError) Descriptor() ([]byte, []int)
func (*PackageRevisionDependencyError) Marshal ¶
func (m *PackageRevisionDependencyError) Marshal() (dAtA []byte, err error)
func (*PackageRevisionDependencyError) MarshalTo ¶
func (m *PackageRevisionDependencyError) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionDependencyError) MarshalToSizedBuffer ¶
func (m *PackageRevisionDependencyError) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionDependencyError) ProtoMessage ¶
func (*PackageRevisionDependencyError) ProtoMessage()
func (*PackageRevisionDependencyError) Reset ¶
func (m *PackageRevisionDependencyError) Reset()
func (*PackageRevisionDependencyError) Size ¶
func (m *PackageRevisionDependencyError) Size() (n int)
func (*PackageRevisionDependencyError) String ¶
func (this *PackageRevisionDependencyError) String() string
func (*PackageRevisionDependencyError) Unmarshal ¶
func (m *PackageRevisionDependencyError) Unmarshal(dAtA []byte) error
func (*PackageRevisionDependencyError) XXX_DiscardUnknown ¶
func (m *PackageRevisionDependencyError) XXX_DiscardUnknown()
func (*PackageRevisionDependencyError) XXX_Marshal ¶
func (m *PackageRevisionDependencyError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionDependencyError) XXX_Merge ¶
func (m *PackageRevisionDependencyError) XXX_Merge(src proto.Message)
func (*PackageRevisionDependencyError) XXX_Size ¶
func (m *PackageRevisionDependencyError) XXX_Size() int
func (*PackageRevisionDependencyError) XXX_Unmarshal ¶
func (m *PackageRevisionDependencyError) XXX_Unmarshal(b []byte) error
type PackageRevisionDependencyType ¶
type PackageRevisionDependencyType string
const ( PackageRevisionDependencyType_Core PackageRevisionDependencyType = "core" PackageRevisionDependencyType_Package PackageRevisionDependencyType = "package" PackageRevisionDependencyType_Runtime PackageRevisionDependencyType = "runtime" )
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" protobuf:"bytes,1,opt,name=metadata"` Items []PackageRevision `json:"items" protobuf:"bytes,2,rep,name=items"` }
PackageRevisionList contains a list of PackageRevisions +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.
func (*PackageRevisionList) Descriptor ¶
func (*PackageRevisionList) Descriptor() ([]byte, []int)
func (*PackageRevisionList) GetListMeta ¶
func (r *PackageRevisionList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
func (*PackageRevisionList) Marshal ¶
func (m *PackageRevisionList) Marshal() (dAtA []byte, err error)
func (*PackageRevisionList) MarshalTo ¶
func (m *PackageRevisionList) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionList) MarshalToSizedBuffer ¶
func (m *PackageRevisionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionList) ProtoMessage ¶
func (*PackageRevisionList) ProtoMessage()
func (*PackageRevisionList) Reset ¶
func (m *PackageRevisionList) Reset()
func (*PackageRevisionList) Size ¶
func (m *PackageRevisionList) Size() (n int)
func (*PackageRevisionList) String ¶
func (this *PackageRevisionList) String() string
func (*PackageRevisionList) Unmarshal ¶
func (m *PackageRevisionList) Unmarshal(dAtA []byte) error
func (*PackageRevisionList) XXX_DiscardUnknown ¶
func (m *PackageRevisionList) XXX_DiscardUnknown()
func (*PackageRevisionList) XXX_Marshal ¶
func (m *PackageRevisionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionList) XXX_Merge ¶
func (m *PackageRevisionList) XXX_Merge(src proto.Message)
func (*PackageRevisionList) XXX_Size ¶
func (m *PackageRevisionList) XXX_Size() int
func (*PackageRevisionList) XXX_Unmarshal ¶
func (m *PackageRevisionList) XXX_Unmarshal(b []byte) error
type PackageRevisionResources ¶
type PackageRevisionResources struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec PackageRevisionResourcesSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status PackageRevisionResourcesStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
PackageRevisionResource is the Schema for the PackageRevisionResource API
+k8s:openapi-gen=true
func BuildPackageRevisionResources ¶
func BuildPackageRevisionResources(meta metav1.ObjectMeta, spec PackageRevisionResourcesSpec, status PackageRevisionResourcesStatus) *PackageRevisionResources
BuildPackageRevisionResources returns an BuildPackageRevisionResources from a client Object a Spec/Status
func (*PackageRevisionResources) ConvertToTable ¶
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.
func (*PackageRevisionResources) Descriptor ¶
func (*PackageRevisionResources) Descriptor() ([]byte, []int)
func (*PackageRevisionResources) GetCondition ¶
func (r *PackageRevisionResources) GetCondition(t condition.ConditionType) condition.Condition
GetCondition returns the condition based on the condition kind
func (PackageRevisionResources) GetGroupVersionResource ¶
func (PackageRevisionResources) GetGroupVersionResource() schema.GroupVersionResource
func (*PackageRevisionResources) GetObjectMeta ¶
func (r *PackageRevisionResources) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta implements resource.Object
func (*PackageRevisionResources) GetSingularName ¶
func (r *PackageRevisionResources) GetSingularName() string
func (PackageRevisionResources) IsStorageVersion ¶
func (PackageRevisionResources) IsStorageVersion() bool
IsStorageVersion returns true -- v1alpha1.Config is used as the internal version. IsStorageVersion implements resource.Object.
func (*PackageRevisionResources) Marshal ¶
func (m *PackageRevisionResources) Marshal() (dAtA []byte, err error)
func (*PackageRevisionResources) MarshalTo ¶
func (m *PackageRevisionResources) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionResources) MarshalToSizedBuffer ¶
func (m *PackageRevisionResources) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (PackageRevisionResources) NamespaceScoped ¶
func (PackageRevisionResources) NamespaceScoped() bool
NamespaceScoped returns true to indicate Fortune is a namespaced resource. NamespaceScoped implements resource.Object.
func (PackageRevisionResources) New ¶
func (PackageRevisionResources) New() runtime.Object
New implements resource.Object
func (PackageRevisionResources) NewList ¶
func (PackageRevisionResources) NewList() runtime.Object
NewList implements resource.Object
func (*PackageRevisionResources) ProtoMessage ¶
func (*PackageRevisionResources) ProtoMessage()
func (*PackageRevisionResources) Reset ¶
func (m *PackageRevisionResources) Reset()
func (*PackageRevisionResources) SetConditions ¶
func (r *PackageRevisionResources) SetConditions(c ...condition.Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
func (*PackageRevisionResources) Size ¶
func (m *PackageRevisionResources) Size() (n int)
func (*PackageRevisionResources) String ¶
func (this *PackageRevisionResources) String() string
func (*PackageRevisionResources) Unmarshal ¶
func (m *PackageRevisionResources) Unmarshal(dAtA []byte) error
func (*PackageRevisionResources) XXX_DiscardUnknown ¶
func (m *PackageRevisionResources) XXX_DiscardUnknown()
func (*PackageRevisionResources) XXX_Marshal ¶
func (m *PackageRevisionResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionResources) XXX_Merge ¶
func (m *PackageRevisionResources) XXX_Merge(src proto.Message)
func (*PackageRevisionResources) XXX_Size ¶
func (m *PackageRevisionResources) XXX_Size() int
func (*PackageRevisionResources) XXX_Unmarshal ¶
func (m *PackageRevisionResources) XXX_Unmarshal(b []byte) error
type PackageRevisionResourcesList ¶
type PackageRevisionResourcesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []PackageRevisionResources `json:"items" protobuf:"bytes,2,rep,name=items"` }
PackageRevisionResourceList contains a list of PackageRevisionResources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PackageRevisionResourcesList) ConvertToTable ¶
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.
func (*PackageRevisionResourcesList) Descriptor ¶
func (*PackageRevisionResourcesList) Descriptor() ([]byte, []int)
func (*PackageRevisionResourcesList) GetListMeta ¶
func (r *PackageRevisionResourcesList) GetListMeta() *metav1.ListMeta
GetListMeta returns the ListMeta
func (*PackageRevisionResourcesList) Marshal ¶
func (m *PackageRevisionResourcesList) Marshal() (dAtA []byte, err error)
func (*PackageRevisionResourcesList) MarshalTo ¶
func (m *PackageRevisionResourcesList) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionResourcesList) MarshalToSizedBuffer ¶
func (m *PackageRevisionResourcesList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionResourcesList) ProtoMessage ¶
func (*PackageRevisionResourcesList) ProtoMessage()
func (*PackageRevisionResourcesList) Reset ¶
func (m *PackageRevisionResourcesList) Reset()
func (*PackageRevisionResourcesList) Size ¶
func (m *PackageRevisionResourcesList) Size() (n int)
func (*PackageRevisionResourcesList) String ¶
func (this *PackageRevisionResourcesList) String() string
func (*PackageRevisionResourcesList) Unmarshal ¶
func (m *PackageRevisionResourcesList) Unmarshal(dAtA []byte) error
func (*PackageRevisionResourcesList) XXX_DiscardUnknown ¶
func (m *PackageRevisionResourcesList) XXX_DiscardUnknown()
func (*PackageRevisionResourcesList) XXX_Marshal ¶
func (m *PackageRevisionResourcesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionResourcesList) XXX_Merge ¶
func (m *PackageRevisionResourcesList) XXX_Merge(src proto.Message)
func (*PackageRevisionResourcesList) XXX_Size ¶
func (m *PackageRevisionResourcesList) XXX_Size() int
func (*PackageRevisionResourcesList) XXX_Unmarshal ¶
func (m *PackageRevisionResourcesList) XXX_Unmarshal(b []byte) error
type PackageRevisionResourcesSpec ¶
type PackageRevisionResourcesSpec struct { PackageID pkgid.PackageID `json:"packageID" protobuf:"bytes,6,opt,name=packageID"` // Resources define the content of the resources key is the name of the KRM file, // value defines the the content of the KRM reource Resources map[string]string `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"` }
PackageRevisionResourcesSpec defines the desired state of PackageRevisionResources
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.
func (*PackageRevisionResourcesSpec) Descriptor ¶
func (*PackageRevisionResourcesSpec) Descriptor() ([]byte, []int)
func (*PackageRevisionResourcesSpec) Marshal ¶
func (m *PackageRevisionResourcesSpec) Marshal() (dAtA []byte, err error)
func (*PackageRevisionResourcesSpec) MarshalTo ¶
func (m *PackageRevisionResourcesSpec) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionResourcesSpec) MarshalToSizedBuffer ¶
func (m *PackageRevisionResourcesSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionResourcesSpec) ProtoMessage ¶
func (*PackageRevisionResourcesSpec) ProtoMessage()
func (*PackageRevisionResourcesSpec) Reset ¶
func (m *PackageRevisionResourcesSpec) Reset()
func (*PackageRevisionResourcesSpec) Size ¶
func (m *PackageRevisionResourcesSpec) Size() (n int)
func (*PackageRevisionResourcesSpec) String ¶
func (this *PackageRevisionResourcesSpec) String() string
func (*PackageRevisionResourcesSpec) Unmarshal ¶
func (m *PackageRevisionResourcesSpec) Unmarshal(dAtA []byte) error
func (*PackageRevisionResourcesSpec) XXX_DiscardUnknown ¶
func (m *PackageRevisionResourcesSpec) XXX_DiscardUnknown()
func (*PackageRevisionResourcesSpec) XXX_Marshal ¶
func (m *PackageRevisionResourcesSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionResourcesSpec) XXX_Merge ¶
func (m *PackageRevisionResourcesSpec) XXX_Merge(src proto.Message)
func (*PackageRevisionResourcesSpec) XXX_Size ¶
func (m *PackageRevisionResourcesSpec) XXX_Size() int
func (*PackageRevisionResourcesSpec) XXX_Unmarshal ¶
func (m *PackageRevisionResourcesSpec) XXX_Unmarshal(b []byte) error
type PackageRevisionResourcesStatus ¶
type PackageRevisionResourcesStatus struct { // ConditionedStatus provides the status of the Readiness using conditions // if the condition is true the other attributes in the status are meaningful condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` }
PackageRevisionResourcesStatus defines the observed state of PackageRevisionResources
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.
func (*PackageRevisionResourcesStatus) Descriptor ¶
func (*PackageRevisionResourcesStatus) Descriptor() ([]byte, []int)
func (*PackageRevisionResourcesStatus) Marshal ¶
func (m *PackageRevisionResourcesStatus) Marshal() (dAtA []byte, err error)
func (*PackageRevisionResourcesStatus) MarshalTo ¶
func (m *PackageRevisionResourcesStatus) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionResourcesStatus) MarshalToSizedBuffer ¶
func (m *PackageRevisionResourcesStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionResourcesStatus) ProtoMessage ¶
func (*PackageRevisionResourcesStatus) ProtoMessage()
func (*PackageRevisionResourcesStatus) Reset ¶
func (m *PackageRevisionResourcesStatus) Reset()
func (*PackageRevisionResourcesStatus) Size ¶
func (m *PackageRevisionResourcesStatus) Size() (n int)
func (*PackageRevisionResourcesStatus) String ¶
func (this *PackageRevisionResourcesStatus) String() string
func (*PackageRevisionResourcesStatus) Unmarshal ¶
func (m *PackageRevisionResourcesStatus) Unmarshal(dAtA []byte) error
func (*PackageRevisionResourcesStatus) XXX_DiscardUnknown ¶
func (m *PackageRevisionResourcesStatus) XXX_DiscardUnknown()
func (*PackageRevisionResourcesStatus) XXX_Marshal ¶
func (m *PackageRevisionResourcesStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionResourcesStatus) XXX_Merge ¶
func (m *PackageRevisionResourcesStatus) XXX_Merge(src proto.Message)
func (*PackageRevisionResourcesStatus) XXX_Size ¶
func (m *PackageRevisionResourcesStatus) XXX_Size() int
func (*PackageRevisionResourcesStatus) XXX_Unmarshal ¶
func (m *PackageRevisionResourcesStatus) XXX_Unmarshal(b []byte) error
type PackageRevisionSpec ¶
type PackageRevisionSpec struct { PackageID pkgid.PackageID `json:"packageID" protobuf:"bytes,1,opt,name=packageID"` // Lifecycle defines the lifecycle of the resource Lifecycle PackageRevisionLifecycle `json:"lifecycle,omitempty" protobuf:"bytes,2,opt,name=lifecycle"` // UpdatePolicy is the policy used to update resources // Loose updates the resources w/o removing the other entries in the package // strict updates the resources and removes unnessesary entries in the package UpdatePolicy UpdatePolicy `json:"updatePolicy,omitempty" protobuf:"bytes,3,rep,name=updatePolicy"` // Task is the task to be performed when creating this package revisision Tasks []Task `json:"tasks,omitempty" protobuf:"bytes,4,rep,name=tasks"` // ReadinessGates define the conditions that need to be acted upon before considering the PackageRevision // ready for approval ReadinessGates []condition.ReadinessGate `json:"readinessGates,omitempty" protobuf:"bytes,5,rep,name=readinessGates"` // Upstream identifies the upstream package this package is originated from Upstream *pkgid.Upstream `json:"upstream,omitempty" protobuf:"bytes,6,opt,name=upstream"` // Inputs define the inputs defined for the PackageContext //+kubebuilder:pruning:PreserveUnknownFields Inputs []runtime.RawExtension `json:"inputs,omitempty" protobuf:"bytes,7,rep,name=inputs"` }
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.
func (*PackageRevisionSpec) Descriptor ¶
func (*PackageRevisionSpec) Descriptor() ([]byte, []int)
func (*PackageRevisionSpec) Marshal ¶
func (m *PackageRevisionSpec) Marshal() (dAtA []byte, err error)
func (*PackageRevisionSpec) MarshalTo ¶
func (m *PackageRevisionSpec) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionSpec) MarshalToSizedBuffer ¶
func (m *PackageRevisionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionSpec) ProtoMessage ¶
func (*PackageRevisionSpec) ProtoMessage()
func (*PackageRevisionSpec) Reset ¶
func (m *PackageRevisionSpec) Reset()
func (*PackageRevisionSpec) Size ¶
func (m *PackageRevisionSpec) Size() (n int)
func (*PackageRevisionSpec) String ¶
func (this *PackageRevisionSpec) String() string
func (*PackageRevisionSpec) Unmarshal ¶
func (m *PackageRevisionSpec) Unmarshal(dAtA []byte) error
func (*PackageRevisionSpec) XXX_DiscardUnknown ¶
func (m *PackageRevisionSpec) XXX_DiscardUnknown()
func (*PackageRevisionSpec) XXX_Marshal ¶
func (m *PackageRevisionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionSpec) XXX_Merge ¶
func (m *PackageRevisionSpec) XXX_Merge(src proto.Message)
func (*PackageRevisionSpec) XXX_Size ¶
func (m *PackageRevisionSpec) XXX_Size() int
func (*PackageRevisionSpec) XXX_Unmarshal ¶
func (m *PackageRevisionSpec) XXX_Unmarshal(b []byte) error
type PackageRevisionStatus ¶
type PackageRevisionStatus struct { // ConditionedStatus provides the status of the Readiness using conditions // if the condition is true the other attributes in the status are meaningful condition.ConditionedStatus `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"` // PublishedBy is the identity of the user who approved the packagerevision. PublishedBy string `json:"publishedBy,omitempty" protobuf:"bytes,2,opt,name=publishedBy"` // PublishedAt is the time when the packagerevision were approved. PublishedAt metav1.Time `json:"publishTimestamp,omitempty" protobuf:"bytes,3,opt,name=publishTimestamp"` Dependencies *PackageRevisionDependencies `json:"dependencies,omitempty" protobuf:"bytes,4,opt,name=dependencies"` }
PackageRevisionStatus defines the observed state of PackageRevision
func (PackageRevisionStatus) CopyTo ¶
func (r PackageRevisionStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
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.
func (*PackageRevisionStatus) Descriptor ¶
func (*PackageRevisionStatus) Descriptor() ([]byte, []int)
func (*PackageRevisionStatus) Marshal ¶
func (m *PackageRevisionStatus) Marshal() (dAtA []byte, err error)
func (*PackageRevisionStatus) MarshalTo ¶
func (m *PackageRevisionStatus) MarshalTo(dAtA []byte) (int, error)
func (*PackageRevisionStatus) MarshalToSizedBuffer ¶
func (m *PackageRevisionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PackageRevisionStatus) ProtoMessage ¶
func (*PackageRevisionStatus) ProtoMessage()
func (*PackageRevisionStatus) Reset ¶
func (m *PackageRevisionStatus) Reset()
func (*PackageRevisionStatus) Size ¶
func (m *PackageRevisionStatus) Size() (n int)
func (*PackageRevisionStatus) String ¶
func (this *PackageRevisionStatus) String() string
func (PackageRevisionStatus) SubResourceName ¶
func (PackageRevisionStatus) SubResourceName() string
func (*PackageRevisionStatus) Unmarshal ¶
func (m *PackageRevisionStatus) Unmarshal(dAtA []byte) error
func (*PackageRevisionStatus) XXX_DiscardUnknown ¶
func (m *PackageRevisionStatus) XXX_DiscardUnknown()
func (*PackageRevisionStatus) XXX_Marshal ¶
func (m *PackageRevisionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageRevisionStatus) XXX_Merge ¶
func (m *PackageRevisionStatus) XXX_Merge(src proto.Message)
func (*PackageRevisionStatus) XXX_Size ¶
func (m *PackageRevisionStatus) XXX_Size() int
func (*PackageRevisionStatus) XXX_Unmarshal ¶
func (m *PackageRevisionStatus) XXX_Unmarshal(b []byte) error
type Task ¶
type Task struct {
Type TaskType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=TaskType"`
}
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.
func (*Task) Descriptor ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) XXX_DiscardUnknown ¶
func (m *Task) XXX_DiscardUnknown()
func (*Task) XXX_Unmarshal ¶
type UpdatePolicy ¶
type UpdatePolicy string
const ( UpdatePolicy_Loose UpdatePolicy = "loose" UpdatePolicy_Strict UpdatePolicy = "strict" )