v1alpha1

package
v0.0.0-...-56979a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Overview

v1alpha1 is the v1alpha1 version of the API.

+kubebuilder:object:generate=true +groupName=config.pkg.kform.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeGroupVersion contains the API group and version information for the types in this package.
	SchemeGroupVersion = schema.GroupVersion{Group: "config.pkg.kform.dev", Version: "v1alpha1"}
	// AddToScheme applies all the stored functions to the scheme. A non-nil error
	// indicates that one function failed and the attempt was abandoned.
	//AddToScheme = (&runtime.SchemeBuilder{}).AddToScheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var (
	PackageVariantKind = reflect.TypeOf(PackageVariant{}).Name()
)
View Source
var (
	RepositoryKind = reflect.TypeOf(Repository{}).Name()
)

Functions

func GetPackageRevisionName

func GetPackageRevisionName(repo, pkg, ws string) string

func PackageToName

func PackageToName(pkg string) string

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AdoptionPolicy

type AdoptionPolicy string
const (
	AdoptionPolicyAdoptExisting AdoptionPolicy = "adoptExisting"
	AdoptionPolicyAdoptNone     AdoptionPolicy = "adoptNone"
)

type DeletionPolicy

type DeletionPolicy string
const (
	DeletionPolicyDelete DeletionPolicy = "delete"
	DeletionPolicyOrphan DeletionPolicy = "orphan"
)

type GitRepository

type GitRepository struct {
	// URL specifies the base URL for a given repository for example:
	//   `https://github.com/GoogleCloudPlatform/catalog.git`
	URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
	// Name of the reference (typically a branch) containing the packages. Finalized packages will be committed to this branch (if the repository allows write access). If unspecified, defaults to "main".
	Ref string `json:"ref,omitempty" protobuf:"bytes,2,opt,name=ref"`
	// Directory within the Git repository where the packages are stored. If unspecified, defaults to root directory.
	Directory string `json:"directory,omitempty" protobuf:"bytes,3,opt,name=directory"`
	// Credentials defines the name of the secret that holds the credentials to connect to a repository
	Credentials string `json:"credentials,omitempty" protobuf:"bytes,4,opt,name=credentials"`
}

GitRepository describes a Git repository. TODO: authentication methods

func (*GitRepository) DeepCopy

func (in *GitRepository) DeepCopy() *GitRepository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepository.

func (*GitRepository) DeepCopyInto

func (in *GitRepository) DeepCopyInto(out *GitRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitRepository) Descriptor

func (*GitRepository) Descriptor() ([]byte, []int)

func (*GitRepository) Marshal

func (m *GitRepository) Marshal() (dAtA []byte, err error)

func (*GitRepository) MarshalTo

func (m *GitRepository) MarshalTo(dAtA []byte) (int, error)

func (*GitRepository) MarshalToSizedBuffer

func (m *GitRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitRepository) ProtoMessage

func (*GitRepository) ProtoMessage()

func (*GitRepository) Reset

func (m *GitRepository) Reset()

func (*GitRepository) Size

func (m *GitRepository) Size() (n int)

func (*GitRepository) String

func (this *GitRepository) String() string

func (*GitRepository) Unmarshal

func (m *GitRepository) Unmarshal(dAtA []byte) error

func (*GitRepository) XXX_DiscardUnknown

func (m *GitRepository) XXX_DiscardUnknown()

func (*GitRepository) XXX_Marshal

func (m *GitRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitRepository) XXX_Merge

func (m *GitRepository) XXX_Merge(src proto.Message)

func (*GitRepository) XXX_Size

func (m *GitRepository) XXX_Size() int

func (*GitRepository) XXX_Unmarshal

func (m *GitRepository) XXX_Unmarshal(b []byte) error

type OciRepository

type OciRepository struct {
	// Registry is the address of the OCI registry
	Registry string `json:"registry,omitempty" protobuf:"bytes,1,opt,name=registry"`
	// Credentials defines the name of the secret that holds the credentials to connect to the OCI registry
	Credentials string `json:"credentials,omitempty" protobuf:"bytes,2,opt,name=credentials"`
}

OciRepository describes a repository compatible with the Open Container Registry standard.

func (*OciRepository) DeepCopy

func (in *OciRepository) DeepCopy() *OciRepository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OciRepository.

func (*OciRepository) DeepCopyInto

func (in *OciRepository) DeepCopyInto(out *OciRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OciRepository) Descriptor

func (*OciRepository) Descriptor() ([]byte, []int)

func (*OciRepository) Marshal

func (m *OciRepository) Marshal() (dAtA []byte, err error)

func (*OciRepository) MarshalTo

func (m *OciRepository) MarshalTo(dAtA []byte) (int, error)

func (*OciRepository) MarshalToSizedBuffer

func (m *OciRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OciRepository) ProtoMessage

func (*OciRepository) ProtoMessage()

func (*OciRepository) Reset

func (m *OciRepository) Reset()

func (*OciRepository) Size

func (m *OciRepository) Size() (n int)

func (*OciRepository) String

func (this *OciRepository) String() string

func (*OciRepository) Unmarshal

func (m *OciRepository) Unmarshal(dAtA []byte) error

func (*OciRepository) XXX_DiscardUnknown

func (m *OciRepository) XXX_DiscardUnknown()

func (*OciRepository) XXX_Marshal

func (m *OciRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OciRepository) XXX_Merge

func (m *OciRepository) XXX_Merge(src proto.Message)

func (*OciRepository) XXX_Size

func (m *OciRepository) XXX_Size() int

func (*OciRepository) XXX_Unmarshal

func (m *OciRepository) XXX_Unmarshal(b []byte) error

type PackageContext

type PackageContext struct {
	// Inputs define the inputs defined for the PackageContext
	//+kubebuilder:pruning:PreserveUnknownFields
	Inputs []runtime.RawExtension `json:"inputs,omitempty" protobuf:"bytes,1,rep,name=inputs"`
	// Annotations is a key value map to be copied to the PackageContext Annotations.
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,2,rep,name=annotations"`
	// Labels is a key value map to be copied to the PackageContext Labels.
	Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,3,rep,name=labels"`
	// 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,4,rep,name=readinessGates"`
}

PackageContext defines the context of the Package

func (*PackageContext) DeepCopy

func (in *PackageContext) DeepCopy() *PackageContext

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageContext.

func (*PackageContext) DeepCopyInto

func (in *PackageContext) DeepCopyInto(out *PackageContext)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PackageContext) Descriptor

func (*PackageContext) Descriptor() ([]byte, []int)

func (*PackageContext) Marshal

func (m *PackageContext) Marshal() (dAtA []byte, err error)

func (*PackageContext) MarshalTo

func (m *PackageContext) MarshalTo(dAtA []byte) (int, error)

func (*PackageContext) MarshalToSizedBuffer

func (m *PackageContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackageContext) ProtoMessage

func (*PackageContext) ProtoMessage()

func (*PackageContext) Reset

func (m *PackageContext) Reset()

func (*PackageContext) Size

func (m *PackageContext) Size() (n int)

func (*PackageContext) String

func (this *PackageContext) String() string

func (*PackageContext) Unmarshal

func (m *PackageContext) Unmarshal(dAtA []byte) error

func (*PackageContext) XXX_DiscardUnknown

func (m *PackageContext) XXX_DiscardUnknown()

func (*PackageContext) XXX_Marshal

func (m *PackageContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageContext) XXX_Merge

func (m *PackageContext) XXX_Merge(src proto.Message)

func (*PackageContext) XXX_Size

func (m *PackageContext) XXX_Size() int

func (*PackageContext) XXX_Unmarshal

func (m *PackageContext) XXX_Unmarshal(b []byte) error

type PackageVariant

type PackageVariant struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   PackageVariantSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status PackageVariantStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:resource:categories={kform,pkg} PackageVariant is the PackageVariant for the PackageVariant API +k8s:openapi-gen=true

func BuildPackageVariant

func BuildPackageVariant(meta metav1.ObjectMeta, spec PackageVariantSpec, status PackageVariantStatus) *PackageVariant

BuildPackageVariant returns an PackageRevision from a client Object a Spec/Status

func (*PackageVariant) DeepCopy

func (in *PackageVariant) DeepCopy() *PackageVariant

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVariant.

func (*PackageVariant) DeepCopyInto

func (in *PackageVariant) DeepCopyInto(out *PackageVariant)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PackageVariant) DeepCopyObject

func (in *PackageVariant) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PackageVariant) Descriptor

func (*PackageVariant) Descriptor() ([]byte, []int)

func (*PackageVariant) GetCondition

GetCondition returns the condition based on the condition kind

func (*PackageVariant) GetWorkspaceName

func (r *PackageVariant) GetWorkspaceName(hash [sha1.Size]byte) string

func (*PackageVariant) Marshal

func (m *PackageVariant) Marshal() (dAtA []byte, err error)

func (*PackageVariant) MarshalTo

func (m *PackageVariant) MarshalTo(dAtA []byte) (int, error)

func (*PackageVariant) MarshalToSizedBuffer

func (m *PackageVariant) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackageVariant) ProtoMessage

func (*PackageVariant) ProtoMessage()

func (*PackageVariant) Reset

func (m *PackageVariant) Reset()

func (*PackageVariant) SetConditions

func (r *PackageVariant) 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 (*PackageVariant) Size

func (m *PackageVariant) Size() (n int)

func (*PackageVariant) String

func (this *PackageVariant) String() string

func (*PackageVariant) Unmarshal

func (m *PackageVariant) Unmarshal(dAtA []byte) error

func (*PackageVariant) XXX_DiscardUnknown

func (m *PackageVariant) XXX_DiscardUnknown()

func (*PackageVariant) XXX_Marshal

func (m *PackageVariant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageVariant) XXX_Merge

func (m *PackageVariant) XXX_Merge(src proto.Message)

func (*PackageVariant) XXX_Size

func (m *PackageVariant) XXX_Size() int

func (*PackageVariant) XXX_Unmarshal

func (m *PackageVariant) XXX_Unmarshal(b []byte) error

type PackageVariantList

type PackageVariantList struct {
	metav1.TypeMeta `json:",inline" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []PackageVariant `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true PackageVariantList contains a list of PackageVariants +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PackageVariantList) DeepCopy

func (in *PackageVariantList) DeepCopy() *PackageVariantList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVariantList.

func (*PackageVariantList) DeepCopyInto

func (in *PackageVariantList) DeepCopyInto(out *PackageVariantList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PackageVariantList) DeepCopyObject

func (in *PackageVariantList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PackageVariantList) Descriptor

func (*PackageVariantList) Descriptor() ([]byte, []int)

func (*PackageVariantList) Marshal

func (m *PackageVariantList) Marshal() (dAtA []byte, err error)

func (*PackageVariantList) MarshalTo

func (m *PackageVariantList) MarshalTo(dAtA []byte) (int, error)

func (*PackageVariantList) MarshalToSizedBuffer

func (m *PackageVariantList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackageVariantList) ProtoMessage

func (*PackageVariantList) ProtoMessage()

func (*PackageVariantList) Reset

func (m *PackageVariantList) Reset()

func (*PackageVariantList) Size

func (m *PackageVariantList) Size() (n int)

func (*PackageVariantList) String

func (this *PackageVariantList) String() string

func (*PackageVariantList) Unmarshal

func (m *PackageVariantList) Unmarshal(dAtA []byte) error

func (*PackageVariantList) XXX_DiscardUnknown

func (m *PackageVariantList) XXX_DiscardUnknown()

func (*PackageVariantList) XXX_Marshal

func (m *PackageVariantList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageVariantList) XXX_Merge

func (m *PackageVariantList) XXX_Merge(src proto.Message)

func (*PackageVariantList) XXX_Size

func (m *PackageVariantList) XXX_Size() int

func (*PackageVariantList) XXX_Unmarshal

func (m *PackageVariantList) XXX_Unmarshal(b []byte) error

type PackageVariantSpec

type PackageVariantSpec struct {
	// Upstream defines the upstream PackageRevision reference
	Upstream pkgid.Upstream `json:"upstream,omitempty" protobuf:"bytes,1,opt,name=upstream"`
	// Downstream defines the downstream Package information
	Downstream pkgid.Downstream `json:"downstream,omitempty" protobuf:"bytes,2,opt,name=downstream"`
	// PackageContext defines the context of the PackageVariant
	PackageContext PackageContext `json:"packageContext,omitempty" protobuf:"bytes,3,opt,name=packageContext"`
	// +kubebuilder:validation:Enum=adoptExisting;adoptNone;
	// +kubebuilder:default:="adoptNone"
	AdoptionPolicy AdoptionPolicy `json:"adoptionPolicy,omitempty" protobuf:"bytes,4,opt,name=adoptionPolicy"`
	// +kubebuilder:validation:Enum=delete;orphan;
	// +kubebuilder:default:="delete"
	DeletionPolicy DeletionPolicy `json:"deletionPolicy,omitempty" protobuf:"bytes,5,opt,name=deletionPolicy"`
}

PackageVariantSpec defines the desired state of PackageVariant

func (PackageVariantSpec) CalculateHash

func (r PackageVariantSpec) CalculateHash() ([sha1.Size]byte, error)

func (*PackageVariantSpec) DeepCopy

func (in *PackageVariantSpec) DeepCopy() *PackageVariantSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVariantSpec.

func (*PackageVariantSpec) DeepCopyInto

func (in *PackageVariantSpec) DeepCopyInto(out *PackageVariantSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PackageVariantSpec) Descriptor

func (*PackageVariantSpec) Descriptor() ([]byte, []int)

func (*PackageVariantSpec) Marshal

func (m *PackageVariantSpec) Marshal() (dAtA []byte, err error)

func (*PackageVariantSpec) MarshalTo

func (m *PackageVariantSpec) MarshalTo(dAtA []byte) (int, error)

func (*PackageVariantSpec) MarshalToSizedBuffer

func (m *PackageVariantSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackageVariantSpec) ProtoMessage

func (*PackageVariantSpec) ProtoMessage()

func (*PackageVariantSpec) Reset

func (m *PackageVariantSpec) Reset()

func (*PackageVariantSpec) Size

func (m *PackageVariantSpec) Size() (n int)

func (*PackageVariantSpec) String

func (this *PackageVariantSpec) String() string

func (*PackageVariantSpec) Unmarshal

func (m *PackageVariantSpec) Unmarshal(dAtA []byte) error

func (*PackageVariantSpec) XXX_DiscardUnknown

func (m *PackageVariantSpec) XXX_DiscardUnknown()

func (*PackageVariantSpec) XXX_Marshal

func (m *PackageVariantSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageVariantSpec) XXX_Merge

func (m *PackageVariantSpec) XXX_Merge(src proto.Message)

func (*PackageVariantSpec) XXX_Size

func (m *PackageVariantSpec) XXX_Size() int

func (*PackageVariantSpec) XXX_Unmarshal

func (m *PackageVariantSpec) XXX_Unmarshal(b []byte) error

type PackageVariantStatus

type PackageVariantStatus struct {
	// ConditionedStatus provides the status of the PackageVariant using conditions
	condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
}

PackageVariantStatus defines the observed state of PackageVariant

func (*PackageVariantStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVariantStatus.

func (*PackageVariantStatus) DeepCopyInto

func (in *PackageVariantStatus) DeepCopyInto(out *PackageVariantStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PackageVariantStatus) Descriptor

func (*PackageVariantStatus) Descriptor() ([]byte, []int)

func (*PackageVariantStatus) Marshal

func (m *PackageVariantStatus) Marshal() (dAtA []byte, err error)

func (*PackageVariantStatus) MarshalTo

func (m *PackageVariantStatus) MarshalTo(dAtA []byte) (int, error)

func (*PackageVariantStatus) MarshalToSizedBuffer

func (m *PackageVariantStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackageVariantStatus) ProtoMessage

func (*PackageVariantStatus) ProtoMessage()

func (*PackageVariantStatus) Reset

func (m *PackageVariantStatus) Reset()

func (*PackageVariantStatus) Size

func (m *PackageVariantStatus) Size() (n int)

func (*PackageVariantStatus) String

func (this *PackageVariantStatus) String() string

func (*PackageVariantStatus) Unmarshal

func (m *PackageVariantStatus) Unmarshal(dAtA []byte) error

func (*PackageVariantStatus) XXX_DiscardUnknown

func (m *PackageVariantStatus) XXX_DiscardUnknown()

func (*PackageVariantStatus) XXX_Marshal

func (m *PackageVariantStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageVariantStatus) XXX_Merge

func (m *PackageVariantStatus) XXX_Merge(src proto.Message)

func (*PackageVariantStatus) XXX_Size

func (m *PackageVariantStatus) XXX_Size() int

func (*PackageVariantStatus) XXX_Unmarshal

func (m *PackageVariantStatus) XXX_Unmarshal(b []byte) error

type Repository

type Repository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   RepositorySpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status RepositoryStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="DEPLOYMENT",type=boolean,JSONPath=`.spec.deployment` +kubebuilder:printcolumn:name="TYPE",type=string,JSONPath=`.spec.type` +kubebuilder:printcolumn:name="ADDRESS",type=string,JSONPath=`.spec['git','oci']['url','registry']` +kubebuilder:resource:categories={kform,pkg} Repository is the Repository for the Repository API +k8s:openapi-gen=true

func (*Repository) DeepCopy

func (in *Repository) DeepCopy() *Repository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.

func (*Repository) DeepCopyInto

func (in *Repository) DeepCopyInto(out *Repository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Repository) DeepCopyObject

func (in *Repository) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Repository) Descriptor

func (*Repository) Descriptor() ([]byte, []int)

func (*Repository) GetCondition

GetCondition returns the condition based on the condition kind

func (*Repository) GetCredentialSecret

func (r *Repository) GetCredentialSecret() string

func (*Repository) GetDirectory

func (r *Repository) GetDirectory() string

func (*Repository) GetKey

func (r *Repository) GetKey() string

func (*Repository) GetRef

func (r *Repository) GetRef() string

func (*Repository) GetURL

func (r *Repository) GetURL() string

func (*Repository) Marshal

func (m *Repository) Marshal() (dAtA []byte, err error)

func (*Repository) MarshalTo

func (m *Repository) MarshalTo(dAtA []byte) (int, error)

func (*Repository) MarshalToSizedBuffer

func (m *Repository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) Reset

func (m *Repository) Reset()

func (*Repository) SetConditions

func (r *Repository) 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 (*Repository) Size

func (m *Repository) Size() (n int)

func (*Repository) String

func (this *Repository) String() string

func (*Repository) Unmarshal

func (m *Repository) Unmarshal(dAtA []byte) error

func (*Repository) Validate

func (r *Repository) Validate() error

func (*Repository) XXX_DiscardUnknown

func (m *Repository) XXX_DiscardUnknown()

func (*Repository) XXX_Marshal

func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Repository) XXX_Merge

func (m *Repository) XXX_Merge(src proto.Message)

func (*Repository) XXX_Size

func (m *Repository) XXX_Size() int

func (*Repository) XXX_Unmarshal

func (m *Repository) XXX_Unmarshal(b []byte) error

type RepositoryList

type RepositoryList struct {
	metav1.TypeMeta `json:",inline" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Repository `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true RepositoryList contains a list of Repositorys +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*RepositoryList) DeepCopy

func (in *RepositoryList) DeepCopy() *RepositoryList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.

func (*RepositoryList) DeepCopyInto

func (in *RepositoryList) DeepCopyInto(out *RepositoryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RepositoryList) DeepCopyObject

func (in *RepositoryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RepositoryList) Descriptor

func (*RepositoryList) Descriptor() ([]byte, []int)

func (*RepositoryList) Marshal

func (m *RepositoryList) Marshal() (dAtA []byte, err error)

func (*RepositoryList) MarshalTo

func (m *RepositoryList) MarshalTo(dAtA []byte) (int, error)

func (*RepositoryList) MarshalToSizedBuffer

func (m *RepositoryList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepositoryList) ProtoMessage

func (*RepositoryList) ProtoMessage()

func (*RepositoryList) Reset

func (m *RepositoryList) Reset()

func (*RepositoryList) Size

func (m *RepositoryList) Size() (n int)

func (*RepositoryList) String

func (this *RepositoryList) String() string

func (*RepositoryList) Unmarshal

func (m *RepositoryList) Unmarshal(dAtA []byte) error

func (*RepositoryList) XXX_DiscardUnknown

func (m *RepositoryList) XXX_DiscardUnknown()

func (*RepositoryList) XXX_Marshal

func (m *RepositoryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepositoryList) XXX_Merge

func (m *RepositoryList) XXX_Merge(src proto.Message)

func (*RepositoryList) XXX_Size

func (m *RepositoryList) XXX_Size() int

func (*RepositoryList) XXX_Unmarshal

func (m *RepositoryList) XXX_Unmarshal(b []byte) error

type RepositorySpec

type RepositorySpec struct {
	// Type of the repository (i.e. git, OCI)
	// +kubebuilder:validation:Enum=git;oci
	// +kubebuilder:default:="git"
	Type RepositoryType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`
	// Git repository details. Required if `type` is `git`. Ignored if `type` is not `git`.
	Git *GitRepository `json:"git,omitempty" protobuf:"bytes,2,opt,name=git"`
	// OCI repository details. Required if `type` is `oci`. Ignored if `type` is not `oci`.
	Oci *OciRepository `json:"oci,omitempty" protobuf:"bytes,3,opt,name=oci"`
	// The repository is a deployment repository;
	// When set to true this is considered a WET package; when false this is a DRY package
	Deployment bool `json:"deployment,omitempty" protobuf:"varint,4,opt,name=deployment"`
}

RepositorySpec defines the desired state of Repository

func (*RepositorySpec) DeepCopy

func (in *RepositorySpec) DeepCopy() *RepositorySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec.

func (*RepositorySpec) DeepCopyInto

func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RepositorySpec) Descriptor

func (*RepositorySpec) Descriptor() ([]byte, []int)

func (*RepositorySpec) Marshal

func (m *RepositorySpec) Marshal() (dAtA []byte, err error)

func (*RepositorySpec) MarshalTo

func (m *RepositorySpec) MarshalTo(dAtA []byte) (int, error)

func (*RepositorySpec) MarshalToSizedBuffer

func (m *RepositorySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepositorySpec) ProtoMessage

func (*RepositorySpec) ProtoMessage()

func (*RepositorySpec) Reset

func (m *RepositorySpec) Reset()

func (*RepositorySpec) Size

func (m *RepositorySpec) Size() (n int)

func (*RepositorySpec) String

func (this *RepositorySpec) String() string

func (*RepositorySpec) Unmarshal

func (m *RepositorySpec) Unmarshal(dAtA []byte) error

func (*RepositorySpec) XXX_DiscardUnknown

func (m *RepositorySpec) XXX_DiscardUnknown()

func (*RepositorySpec) XXX_Marshal

func (m *RepositorySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepositorySpec) XXX_Merge

func (m *RepositorySpec) XXX_Merge(src proto.Message)

func (*RepositorySpec) XXX_Size

func (m *RepositorySpec) XXX_Size() int

func (*RepositorySpec) XXX_Unmarshal

func (m *RepositorySpec) XXX_Unmarshal(b []byte) error

type RepositoryStatus

type RepositoryStatus struct {
	// ConditionedStatus provides the status of the Repository using conditions
	condition.ConditionedStatus `json:",inline" protobuf:"bytes,1,opt,name=conditionedStatus"`
}

RepositoryStatus defines the observed state of Repository

func (*RepositoryStatus) DeepCopy

func (in *RepositoryStatus) DeepCopy() *RepositoryStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryStatus.

func (*RepositoryStatus) DeepCopyInto

func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RepositoryStatus) Descriptor

func (*RepositoryStatus) Descriptor() ([]byte, []int)

func (*RepositoryStatus) Marshal

func (m *RepositoryStatus) Marshal() (dAtA []byte, err error)

func (*RepositoryStatus) MarshalTo

func (m *RepositoryStatus) MarshalTo(dAtA []byte) (int, error)

func (*RepositoryStatus) MarshalToSizedBuffer

func (m *RepositoryStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepositoryStatus) ProtoMessage

func (*RepositoryStatus) ProtoMessage()

func (*RepositoryStatus) Reset

func (m *RepositoryStatus) Reset()

func (*RepositoryStatus) Size

func (m *RepositoryStatus) Size() (n int)

func (*RepositoryStatus) String

func (this *RepositoryStatus) String() string

func (*RepositoryStatus) Unmarshal

func (m *RepositoryStatus) Unmarshal(dAtA []byte) error

func (*RepositoryStatus) XXX_DiscardUnknown

func (m *RepositoryStatus) XXX_DiscardUnknown()

func (*RepositoryStatus) XXX_Marshal

func (m *RepositoryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepositoryStatus) XXX_Merge

func (m *RepositoryStatus) XXX_Merge(src proto.Message)

func (*RepositoryStatus) XXX_Size

func (m *RepositoryStatus) XXX_Size() int

func (*RepositoryStatus) XXX_Unmarshal

func (m *RepositoryStatus) XXX_Unmarshal(b []byte) error

type RepositoryType

type RepositoryType string
const (
	RepositoryTypeGit RepositoryType = "git"
	RepositoryTypeOCI RepositoryType = "oci"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL