v1alpha2

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 27 Imported by: 29

Documentation

Index

Constants

View Source
const (
	PrepareContainerName    = "prepare"
	AnalyzeContainerName    = "analyze"
	DetectContainerName     = "detect"
	RestoreContainerName    = "restore"
	BuildContainerName      = "build"
	ExportContainerName     = "export"
	RebaseContainerName     = "rebase"
	CompletionContainerName = "completion"

	ReportTOMLPath = "/var/report/report.toml"

	BuildLabel = "kpack.io/build"

	DOCKERSecretAnnotationPrefix = "kpack.io/docker"
	GITSecretAnnotationPrefix    = "kpack.io/git"
	BlobSecretAnnotationPrefix   = "kpack.io/blob"
	IstioInject                  = "sidecar.istio.io/inject"
	BuildReadyAnnotation         = "build.kpack.io/ready"

	CacheTagEnvVar = "CACHE_TAG"

	TerminationMessagePathEnvVar = "TERMINATION_MESSAGE_PATH"

	PlatformEnvVarPrefix = "PLATFORM_ENV_"
)
View Source
const (
	BuildKind   = "Build"
	BuildCRName = "builds.kpack.io"
)
View Source
const (
	BuilderKind                                      = "Builder"
	BuilderCRName                                    = "builders.kpack.io"
	ConditionUpToDate     corev1alpha1.ConditionType = "UpToDate"
	NoLatestImageReason   string                     = "NoLatestImage"
	NoLatestImageMessage  string                     = "Builder has no latestImage"
	ReconcileFailedReason string                     = "ReconcileFailed"
)
View Source
const (
	BuildpackKind   = "Buildpack"
	BuildpackCRName = "buildpacks.kpack.io"
)
View Source
const (
	ClusterBuilderKind   = "ClusterBuilder"
	ClusterBuilderCRName = "clusterbuilders.kpack.io"
)
View Source
const (
	ClusterBuildpackKind   = "ClusterBuildpack"
	ClusterBuildpackCRName = "clusterbuildpacks.kpack.io"
)
View Source
const (
	ClusterStackKind   = "ClusterStack"
	ClusterStackCRName = "clusterstacks.kpack.io"
)
View Source
const (
	ClusterStoreKind   = "ClusterStore"
	ClusterStoreCRName = "clusterstores.kpack.io"
)
View Source
const (
	BuildNumberLabel     = "image.kpack.io/buildNumber"
	ImageLabel           = "image.kpack.io/image"
	ImageGenerationLabel = "image.kpack.io/imageGeneration"

	BuildReasonAnnotation  = "image.kpack.io/reason"
	BuildChangesAnnotation = "image.kpack.io/buildChanges"
	BuildNeededAnnotation  = "image.kpack.io/additionalBuildNeeded"

	BuilderNameAnnotation = "image.kpack.io/builderName"
	BuilderKindAnnotation = "image.kpack.io/builderKind"

	BuildReasonConfig    = "CONFIG"
	BuildReasonCommit    = "COMMIT"
	BuildReasonBuildpack = "BUILDPACK"
	BuildReasonStack     = "STACK"
	BuildReasonTrigger   = "TRIGGER"
)
View Source
const (
	BuilderNotFound    = "BuilderNotFound"
	BuilderNotReady    = "BuilderNotReady"
	BuilderReady       = "BuilderReady"
	BuilderNotUpToDate = "BuilderNotUpToDate"
	BuilderUpToDate    = "BuilderUpToDate"
)
View Source
const (
	ImageKind   = "Image"
	ImageCRName = "images.kpack.io"
)
View Source
const (
	SourceResolverKind   = "SourceResolver"
	SourceResolverCRName = "sourceresolvers.kpack.io"
)
View Source
const ActivePolling = "ActivePolling"
View Source
const ConditionBuilderReady corev1alpha1.ConditionType = "BuilderReady"
View Source
const ConditionBuilderUpToDate corev1alpha1.ConditionType = "BuilderUpToDate"

Variables

View Source
var (
	PrepareCommand    = "/cnb/process/build-init"
	AnalyzeCommand    = "/cnb/lifecycle/analyzer"
	DetectCommand     = "/cnb/lifecycle/detector"
	RestoreCommand    = "/cnb/lifecycle/restorer"
	BuildCommand      = "/cnb/lifecycle/builder"
	ExportCommand     = "/cnb/lifecycle/exporter"
	CompletionCommand = "/cnb/process/completion"
	RebaseCommand     = "/cnb/process/rebase"
)
View Source
var (
	BuildPriorityNone      = BuildPriority(0)
	BuildPriorityLow       = BuildPriority(1)
	BuildPriorityHigh      = BuildPriority(1000)
	BuildPriorityClassHigh = "kpack-build-high-priority"
	BuildPriorityClassLow  = "kpack-build-low-priority"
)
View Source
var (

	// AddToScheme adds Build types to the scheme.
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: build.GroupName, Version: "v1alpha2"}

SchemeGroupVersion is group version used to register these objects

Functions

func BuildSteps

func BuildSteps() map[string]struct{}

func IsBuildStep

func IsBuildStep(step string) bool

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Build

type Build struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BuildSpec   `json:"spec"`
	Status BuildStatus `json:"status,omitempty"`
}

+k8s:openapi-gen=true

func (*Build) BuildChanges

func (b *Build) BuildChanges() string

func (*Build) BuildPod

func (b *Build) BuildPod(images BuildPodImages, buildContext BuildContext) (*corev1.Pod, error)

func (*Build) BuildReason

func (b *Build) BuildReason() string

func (*Build) BuildRef

func (b *Build) BuildRef() string

func (*Build) BuilderSpec

func (b *Build) BuilderSpec() corev1alpha1.BuildBuilderSpec

func (*Build) BuiltImage

func (b *Build) BuiltImage() string

func (*Build) CacheImage

func (b *Build) CacheImage() string

func (*Build) CnbBindings

func (b *Build) CnbBindings() corev1alpha1.CNBBindings

func (*Build) ConvertFrom

func (b *Build) ConvertFrom(_ context.Context, from apis.Convertible) error

func (*Build) ConvertTo

func (b *Build) ConvertTo(_ context.Context, to apis.Convertible) error

func (*Build) DeepCopy

func (in *Build) DeepCopy() *Build

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

func (*Build) DeepCopyInto

func (in *Build) DeepCopyInto(out *Build)

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

func (*Build) DeepCopyObject

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

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

func (*Build) DefaultProcess

func (b *Build) DefaultProcess() string

func (*Build) Finished

func (b *Build) Finished() bool

func (*Build) GetGroupVersionKind

func (*Build) GetGroupVersionKind() schema.GroupVersionKind

func (*Build) ImageGeneration

func (b *Build) ImageGeneration() int64

func (*Build) IsFailure

func (b *Build) IsFailure() bool

func (*Build) IsRunning

func (b *Build) IsRunning() bool

func (*Build) IsSuccess

func (b *Build) IsSuccess() bool

func (*Build) MetadataReady

func (b *Build) MetadataReady(pod *corev1.Pod) bool

func (*Build) NotaryV1Config

func (b *Build) NotaryV1Config() *corev1alpha1.NotaryV1Config

func (*Build) PodName

func (b *Build) PodName() string

func (*Build) PriorityClassName

func (b *Build) PriorityClassName() string

func (*Build) ServiceAccount

func (b *Build) ServiceAccount() string

func (*Build) Services

func (b *Build) Services() Services

func (*Build) SetDefaults

func (b *Build) SetDefaults(ctx context.Context)

func (*Build) Stack

func (b *Build) Stack() string

func (*Build) Tag

func (b *Build) Tag() string

func (*Build) Validate

func (b *Build) Validate(ctx context.Context) *apis.FieldError

type BuildCache

type BuildCache struct {
	Image string `json:"image,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildCache) DeepCopy

func (in *BuildCache) DeepCopy() *BuildCache

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

func (*BuildCache) DeepCopyInto

func (in *BuildCache) DeepCopyInto(out *BuildCache)

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

type BuildCacheConfig

type BuildCacheConfig struct {
	Volume   *BuildPersistentVolumeCache `json:"volume,omitempty"`
	Registry *RegistryCache              `json:"registry,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildCacheConfig) DeepCopy

func (in *BuildCacheConfig) DeepCopy() *BuildCacheConfig

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

func (*BuildCacheConfig) DeepCopyInto

func (in *BuildCacheConfig) DeepCopyInto(out *BuildCacheConfig)

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

func (*BuildCacheConfig) Validate

func (c *BuildCacheConfig) Validate(context context.Context) *apis.FieldError

type BuildContext

type BuildContext struct {
	BuildPodBuilderConfig     BuildPodBuilderConfig
	Secrets                   []corev1.Secret
	Bindings                  []ServiceBinding
	ImagePullSecrets          []corev1.LocalObjectReference
	MaximumPlatformApiVersion *semver.Version
	InjectedSidecarSupport    bool
	SSHTrustUnknownHost       bool
}

+k8s:deepcopy-gen=false

type BuildList

type BuildList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []Build `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true

func (*BuildList) DeepCopy

func (in *BuildList) DeepCopy() *BuildList

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

func (*BuildList) DeepCopyInto

func (in *BuildList) DeepCopyInto(out *BuildList)

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

func (*BuildList) DeepCopyObject

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

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

type BuildPersistentVolumeCache

type BuildPersistentVolumeCache struct {
	ClaimName string `json:"persistentVolumeClaimName,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildPersistentVolumeCache) DeepCopy

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

func (*BuildPersistentVolumeCache) DeepCopyInto

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

type BuildPodBuilderConfig

type BuildPodBuilderConfig struct {
	StackID      string
	RunImage     string
	Uid          int64
	Gid          int64
	PlatformAPIs []string
	OS           string
}

func (*BuildPodBuilderConfig) DeepCopy

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

func (*BuildPodBuilderConfig) DeepCopyInto

func (in *BuildPodBuilderConfig) DeepCopyInto(out *BuildPodBuilderConfig)

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

type BuildPodImages

type BuildPodImages struct {
	BuildInitImage         string
	BuildWaiterImage       string
	CompletionImage        string
	RebaseImage            string
	BuildInitWindowsImage  string
	CompletionWindowsImage string
}

func (*BuildPodImages) DeepCopy

func (in *BuildPodImages) DeepCopy() *BuildPodImages

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

func (*BuildPodImages) DeepCopyInto

func (in *BuildPodImages) DeepCopyInto(out *BuildPodImages)

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

type BuildPriority

type BuildPriority int

func (BuildPriority) PriorityClass

func (p BuildPriority) PriorityClass() string

type BuildReason

type BuildReason string

type BuildSpec

type BuildSpec struct {
	// +listType
	Tags                  []string                      `json:"tags,omitempty"`
	Builder               corev1alpha1.BuildBuilderSpec `json:"builder,omitempty"`
	ServiceAccountName    string                        `json:"serviceAccountName,omitempty"`
	Source                corev1alpha1.SourceConfig     `json:"source"`
	Cache                 *BuildCacheConfig             `json:"cache,omitempty"`
	RunImage              BuildSpecImage                `json:"runImage,omitempty"`
	ActiveDeadlineSeconds *int64                        `json:"activeDeadlineSeconds,omitempty"`
	// +listType
	Services Services `json:"services,omitempty"`
	// +listType
	CNBBindings corev1alpha1.CNBBindings `json:"cnbBindings,omitempty"`
	// +listType
	Env                   []corev1.EnvVar             `json:"env,omitempty"`
	ProjectDescriptorPath string                      `json:"projectDescriptorPath,omitempty"`
	Resources             corev1.ResourceRequirements `json:"resources,omitempty"`
	LastBuild             *LastBuild                  `json:"lastBuild,omitempty"`
	Notary                *corev1alpha1.NotaryConfig  `json:"notary,omitempty"`
	Cosign                *CosignConfig               `json:"cosign,omitempty"`
	DefaultProcess        string                      `json:"defaultProcess,omitempty"`
	// +listType
	Tolerations       []corev1.Toleration `json:"tolerations,omitempty"`
	NodeSelector      map[string]string   `json:"nodeSelector,omitempty"`
	Affinity          *corev1.Affinity    `json:"affinity,omitempty"`
	RuntimeClassName  *string             `json:"runtimeClassName,omitempty"`
	SchedulerName     string              `json:"schedulerName,omitempty"`
	PriorityClassName string              `json:"priorityClassName,omitempty"`
	CreationTime      string              `json:"creationTime,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildSpec) DeepCopy

func (in *BuildSpec) DeepCopy() *BuildSpec

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

func (*BuildSpec) DeepCopyInto

func (in *BuildSpec) DeepCopyInto(out *BuildSpec)

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

func (*BuildSpec) NeedRegistryCache

func (bs *BuildSpec) NeedRegistryCache() bool

func (*BuildSpec) NeedVolumeCache

func (bs *BuildSpec) NeedVolumeCache() bool

func (*BuildSpec) RegistryCacheTag

func (bs *BuildSpec) RegistryCacheTag() string

func (*BuildSpec) Validate

func (bs *BuildSpec) Validate(ctx context.Context) *apis.FieldError

type BuildSpecImage

type BuildSpecImage struct {
	Image string `json:"image,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildSpecImage) DeepCopy

func (in *BuildSpecImage) DeepCopy() *BuildSpecImage

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

func (*BuildSpecImage) DeepCopyInto

func (in *BuildSpecImage) DeepCopyInto(out *BuildSpecImage)

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

type BuildStack

type BuildStack struct {
	RunImage string `json:"runImage,omitempty"`
	ID       string `json:"id,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildStack) DeepCopy

func (in *BuildStack) DeepCopy() *BuildStack

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

func (*BuildStack) DeepCopyInto

func (in *BuildStack) DeepCopyInto(out *BuildStack)

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

type BuildStatus

type BuildStatus struct {
	corev1alpha1.Status    `json:",inline"`
	BuildMetadata          corev1alpha1.BuildpackMetadataList `json:"buildMetadata,omitempty"`
	Stack                  corev1alpha1.BuildStack            `json:"stack,omitempty"`
	LatestImage            string                             `json:"latestImage,omitempty"`
	LatestCacheImage       string                             `json:"latestCacheImage,omitempty"`
	LatestAttestationImage string                             `json:"latestAttestationImage,omitempty"`
	PodName                string                             `json:"podName,omitempty"`
	// +listType
	StepStates []corev1.ContainerState `json:"stepStates,omitempty"`
	// +listType
	StepsCompleted []string `json:"stepsCompleted,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildStatus) DeepCopy

func (in *BuildStatus) DeepCopy() *BuildStatus

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

func (*BuildStatus) DeepCopyInto

func (in *BuildStatus) DeepCopyInto(out *BuildStatus)

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

func (*BuildStatus) Error

func (bs *BuildStatus) Error(err error)

type Builder

type Builder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NamespacedBuilderSpec `json:"spec"`
	Status BuilderStatus         `json:"status"`
}

+k8s:openapi-gen=true

func (*Builder) ConvertFrom

func (b *Builder) ConvertFrom(_ context.Context, from apis.Convertible) error

func (*Builder) ConvertTo

func (b *Builder) ConvertTo(_ context.Context, to apis.Convertible) error

func (*Builder) DeepCopy

func (in *Builder) DeepCopy() *Builder

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

func (*Builder) DeepCopyInto

func (in *Builder) DeepCopyInto(out *Builder)

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

func (*Builder) DeepCopyObject

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

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

func (*Builder) DeepCopyObjectMetaAccessor

func (in *Builder) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new metav1.ObjectMetaAccessor.

func (*Builder) GetGroupVersionKind

func (*Builder) GetGroupVersionKind() schema.GroupVersionKind

func (*Builder) NamespacedName

func (c *Builder) NamespacedName() types.NamespacedName

func (*Builder) SetDefaults

func (cb *Builder) SetDefaults(context.Context)

func (*Builder) Validate

func (cb *Builder) Validate(ctx context.Context) *apis.FieldError

type BuilderBuildpackRef

type BuilderBuildpackRef struct {
	corev1alpha1.BuildpackRef `json:",inline"`
	corev1.ObjectReference    `json:",inline"`
	Image                     string `json:"image,omitempty"`
}

+k8s:openapi-gen=true

func (*BuilderBuildpackRef) DeepCopy

func (in *BuilderBuildpackRef) DeepCopy() *BuilderBuildpackRef

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

func (*BuilderBuildpackRef) DeepCopyInto

func (in *BuilderBuildpackRef) DeepCopyInto(out *BuilderBuildpackRef)

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

type BuilderList

type BuilderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []Builder `json:"items"`
}

+k8s:openapi-gen=true

func (*BuilderList) DeepCopy

func (in *BuilderList) DeepCopy() *BuilderList

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

func (*BuilderList) DeepCopyInto

func (in *BuilderList) DeepCopyInto(out *BuilderList)

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

func (*BuilderList) DeepCopyObject

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

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

type BuilderOrderEntry

type BuilderOrderEntry struct {
	// +listType
	Group []BuilderBuildpackRef `json:"group,omitempty"`
}

+k8s:openapi-gen=true

func (*BuilderOrderEntry) DeepCopy

func (in *BuilderOrderEntry) DeepCopy() *BuilderOrderEntry

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

func (*BuilderOrderEntry) DeepCopyInto

func (in *BuilderOrderEntry) DeepCopyInto(out *BuilderOrderEntry)

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

type BuilderRecord

type BuilderRecord struct {
	Image                   string
	Stack                   corev1alpha1.BuildStack
	Buildpacks              corev1alpha1.BuildpackMetadataList
	Order                   []corev1alpha1.OrderEntry
	ObservedStoreGeneration int64
	ObservedStackGeneration int64
	OS                      string
	SignaturePaths          []CosignSignature
}

func (*BuilderRecord) DeepCopy

func (in *BuilderRecord) DeepCopy() *BuilderRecord

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

func (*BuilderRecord) DeepCopyInto

func (in *BuilderRecord) DeepCopyInto(out *BuilderRecord)

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

type BuilderResource

type BuilderResource interface {
	GetName() string
	GetNamespace() string
	BuildBuilderSpec() corev1alpha1.BuildBuilderSpec
	Ready() bool
	UpToDate() bool
	BuildpackMetadata() corev1alpha1.BuildpackMetadataList
	RunImage() string
	GetKind() string
	ConditionReadyMessage() string
}

type BuilderSpec

type BuilderSpec struct {
	Tag   string                 `json:"tag,omitempty"`
	Stack corev1.ObjectReference `json:"stack,omitempty"`
	Store corev1.ObjectReference `json:"store,omitempty"`
	// +listType
	Order            []BuilderOrderEntry `json:"order,omitempty"`
	AdditionalLabels map[string]string   `json:"additionalLabels,omitempty"`
}

+k8s:openapi-gen=true

func (*BuilderSpec) DeepCopy

func (in *BuilderSpec) DeepCopy() *BuilderSpec

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

func (*BuilderSpec) DeepCopyInto

func (in *BuilderSpec) DeepCopyInto(out *BuilderSpec)

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

func (*BuilderSpec) Validate

func (s *BuilderSpec) Validate(ctx context.Context) *apis.FieldError

type BuilderStatus

type BuilderStatus struct {
	corev1alpha1.Status     `json:",inline"`
	BuilderMetadata         corev1alpha1.BuildpackMetadataList `json:"builderMetadata,omitempty"`
	Order                   []corev1alpha1.OrderEntry          `json:"order,omitempty"`
	Stack                   corev1alpha1.BuildStack            `json:"stack,omitempty"`
	LatestImage             string                             `json:"latestImage,omitempty"`
	ObservedStackGeneration int64                              `json:"observedStackGeneration,omitempty"`
	ObservedStoreGeneration int64                              `json:"observedStoreGeneration,omitempty"`
	OS                      string                             `json:"os,omitempty"`
	SignaturePaths          []CosignSignature                  `json:"signaturePaths,omitempty"`
}

+k8s:openapi-gen=true

func (*BuilderStatus) BuilderRecord

func (bs *BuilderStatus) BuilderRecord(record BuilderRecord)

func (*BuilderStatus) DeepCopy

func (in *BuilderStatus) DeepCopy() *BuilderStatus

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

func (*BuilderStatus) DeepCopyInto

func (in *BuilderStatus) DeepCopyInto(out *BuilderStatus)

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

func (*BuilderStatus) ErrorCreate

func (bs *BuilderStatus) ErrorCreate(err error)

type Buildpack

type Buildpack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BuildpackSpec   `json:"spec"`
	Status BuildpackStatus `json:"status"`
}

+k8s:openapi-gen=true

func (*Buildpack) DeepCopy

func (in *Buildpack) DeepCopy() *Buildpack

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

func (*Buildpack) DeepCopyInto

func (in *Buildpack) DeepCopyInto(out *Buildpack)

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

func (*Buildpack) DeepCopyObject

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

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

func (*Buildpack) DeepCopyObjectMetaAccessor

func (in *Buildpack) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new metav1.ObjectMetaAccessor.

func (*Buildpack) GetGroupVersionKind

func (*Buildpack) GetGroupVersionKind() schema.GroupVersionKind

func (*Buildpack) NamespacedName

func (c *Buildpack) NamespacedName() types.NamespacedName

func (*Buildpack) SetDefaults

func (cb *Buildpack) SetDefaults(context.Context)

func (*Buildpack) Validate

func (cb *Buildpack) Validate(ctx context.Context) *apis.FieldError

type BuildpackList

type BuildpackList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []Buildpack `json:"items"`
}

+k8s:openapi-gen=true

func (*BuildpackList) DeepCopy

func (in *BuildpackList) DeepCopy() *BuildpackList

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

func (*BuildpackList) DeepCopyInto

func (in *BuildpackList) DeepCopyInto(out *BuildpackList)

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

func (*BuildpackList) DeepCopyObject

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

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

type BuildpackSpec

type BuildpackSpec struct {
	// +listType
	corev1alpha1.ImageSource `json:",inline"`
	ServiceAccountName       string `json:"serviceAccountName,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildpackSpec) DeepCopy

func (in *BuildpackSpec) DeepCopy() *BuildpackSpec

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

func (*BuildpackSpec) DeepCopyInto

func (in *BuildpackSpec) DeepCopyInto(out *BuildpackSpec)

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

func (*BuildpackSpec) Validate

func (s *BuildpackSpec) Validate(ctx context.Context) *apis.FieldError

type BuildpackStatus

type BuildpackStatus struct {
	corev1alpha1.Status `json:",inline"`

	// +listType
	Buildpacks []corev1alpha1.BuildpackStatus `json:"buildpacks,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildpackStatus) DeepCopy

func (in *BuildpackStatus) DeepCopy() *BuildpackStatus

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

func (*BuildpackStatus) DeepCopyInto

func (in *BuildpackStatus) DeepCopyInto(out *BuildpackStatus)

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

type ClusterBuilder

type ClusterBuilder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterBuilderSpec `json:"spec"`
	Status BuilderStatus      `json:"status"`
}

+k8s:openapi-gen=true

func (*ClusterBuilder) ConvertFrom

func (b *ClusterBuilder) ConvertFrom(_ context.Context, from apis.Convertible) error

func (*ClusterBuilder) ConvertTo

func (b *ClusterBuilder) ConvertTo(_ context.Context, to apis.Convertible) error

func (*ClusterBuilder) DeepCopy

func (in *ClusterBuilder) DeepCopy() *ClusterBuilder

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

func (*ClusterBuilder) DeepCopyInto

func (in *ClusterBuilder) DeepCopyInto(out *ClusterBuilder)

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

func (*ClusterBuilder) DeepCopyObject

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

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

func (*ClusterBuilder) DeepCopyObjectMetaAccessor

func (in *ClusterBuilder) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new metav1.ObjectMetaAccessor.

func (*ClusterBuilder) GetGroupVersionKind

func (*ClusterBuilder) GetGroupVersionKind() schema.GroupVersionKind

func (*ClusterBuilder) NamespacedName

func (c *ClusterBuilder) NamespacedName() types.NamespacedName

func (*ClusterBuilder) SetDefaults

func (ccb *ClusterBuilder) SetDefaults(context.Context)

func (*ClusterBuilder) Validate

func (ccb *ClusterBuilder) Validate(ctx context.Context) *apis.FieldError

type ClusterBuilderList

type ClusterBuilderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []ClusterBuilder `json:"items"`
}

+k8s:openapi-gen=true

func (*ClusterBuilderList) DeepCopy

func (in *ClusterBuilderList) DeepCopy() *ClusterBuilderList

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

func (*ClusterBuilderList) DeepCopyInto

func (in *ClusterBuilderList) DeepCopyInto(out *ClusterBuilderList)

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

func (*ClusterBuilderList) DeepCopyObject

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

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

type ClusterBuilderSpec

type ClusterBuilderSpec struct {
	BuilderSpec       `json:",inline"`
	ServiceAccountRef corev1.ObjectReference `json:"serviceAccountRef,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterBuilderSpec) DeepCopy

func (in *ClusterBuilderSpec) DeepCopy() *ClusterBuilderSpec

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

func (*ClusterBuilderSpec) DeepCopyInto

func (in *ClusterBuilderSpec) DeepCopyInto(out *ClusterBuilderSpec)

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

func (*ClusterBuilderSpec) Validate

func (ccbs *ClusterBuilderSpec) Validate(ctx context.Context) *apis.FieldError

type ClusterBuildpack

type ClusterBuildpack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterBuildpackSpec   `json:"spec"`
	Status ClusterBuildpackStatus `json:"status"`
}

+k8s:openapi-gen=true

func (*ClusterBuildpack) DeepCopy

func (in *ClusterBuildpack) DeepCopy() *ClusterBuildpack

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

func (*ClusterBuildpack) DeepCopyInto

func (in *ClusterBuildpack) DeepCopyInto(out *ClusterBuildpack)

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

func (*ClusterBuildpack) DeepCopyObject

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

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

func (*ClusterBuildpack) DeepCopyObjectMetaAccessor

func (in *ClusterBuildpack) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new metav1.ObjectMetaAccessor.

func (*ClusterBuildpack) GetGroupVersionKind

func (*ClusterBuildpack) GetGroupVersionKind() schema.GroupVersionKind

func (*ClusterBuildpack) SetDefaults

func (s *ClusterBuildpack) SetDefaults(context.Context)

func (*ClusterBuildpack) Validate

func (s *ClusterBuildpack) Validate(ctx context.Context) *apis.FieldError

type ClusterBuildpackList

type ClusterBuildpackList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []ClusterBuildpack `json:"items"`
}

+k8s:openapi-gen=true

func (*ClusterBuildpackList) DeepCopy

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

func (*ClusterBuildpackList) DeepCopyInto

func (in *ClusterBuildpackList) DeepCopyInto(out *ClusterBuildpackList)

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

func (*ClusterBuildpackList) DeepCopyObject

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

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

type ClusterBuildpackSpec

type ClusterBuildpackSpec struct {
	// +listType
	corev1alpha1.ImageSource `json:",inline"`
	ServiceAccountRef        *corev1.ObjectReference `json:"serviceAccountRef,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterBuildpackSpec) DeepCopy

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

func (*ClusterBuildpackSpec) DeepCopyInto

func (in *ClusterBuildpackSpec) DeepCopyInto(out *ClusterBuildpackSpec)

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

func (*ClusterBuildpackSpec) Validate

type ClusterBuildpackStatus

type ClusterBuildpackStatus struct {
	corev1alpha1.Status `json:",inline"`

	// +listType
	Buildpacks []corev1alpha1.BuildpackStatus `json:"buildpacks,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterBuildpackStatus) DeepCopy

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

func (*ClusterBuildpackStatus) DeepCopyInto

func (in *ClusterBuildpackStatus) DeepCopyInto(out *ClusterBuildpackStatus)

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

type ClusterStack

type ClusterStack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterStackSpec   `json:"spec"`
	Status ClusterStackStatus `json:"status"`
}

+k8s:openapi-gen=true

func (*ClusterStack) ConvertFrom

func (s *ClusterStack) ConvertFrom(_ context.Context, from apis.Convertible) error

func (*ClusterStack) ConvertTo

func (s *ClusterStack) ConvertTo(_ context.Context, to apis.Convertible) error

func (*ClusterStack) DeepCopy

func (in *ClusterStack) DeepCopy() *ClusterStack

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

func (*ClusterStack) DeepCopyInto

func (in *ClusterStack) DeepCopyInto(out *ClusterStack)

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

func (*ClusterStack) DeepCopyObject

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

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

func (*ClusterStack) DeepCopyObjectMetaAccessor

func (in *ClusterStack) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new metav1.ObjectMetaAccessor.

func (*ClusterStack) GetGroupVersionKind

func (*ClusterStack) GetGroupVersionKind() schema.GroupVersionKind

func (*ClusterStack) SetDefaults

func (s *ClusterStack) SetDefaults(context.Context)

func (*ClusterStack) Validate

func (s *ClusterStack) Validate(ctx context.Context) *apis.FieldError

type ClusterStackList

type ClusterStackList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []ClusterStack `json:"items"`
}

+k8s:openapi-gen=true

func (*ClusterStackList) DeepCopy

func (in *ClusterStackList) DeepCopy() *ClusterStackList

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

func (*ClusterStackList) DeepCopyInto

func (in *ClusterStackList) DeepCopyInto(out *ClusterStackList)

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

func (*ClusterStackList) DeepCopyObject

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

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

type ClusterStackSpec

type ClusterStackSpec struct {
	Id                string                  `json:"id,omitempty"`
	BuildImage        ClusterStackSpecImage   `json:"buildImage,omitempty"`
	RunImage          ClusterStackSpecImage   `json:"runImage,omitempty"`
	ServiceAccountRef *corev1.ObjectReference `json:"serviceAccountRef,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterStackSpec) DeepCopy

func (in *ClusterStackSpec) DeepCopy() *ClusterStackSpec

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

func (*ClusterStackSpec) DeepCopyInto

func (in *ClusterStackSpec) DeepCopyInto(out *ClusterStackSpec)

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

func (*ClusterStackSpec) Validate

func (ss *ClusterStackSpec) Validate(ctx context.Context) *apis.FieldError

type ClusterStackSpecImage

type ClusterStackSpecImage struct {
	Image string `json:"image,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterStackSpecImage) DeepCopy

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

func (*ClusterStackSpecImage) DeepCopyInto

func (in *ClusterStackSpecImage) DeepCopyInto(out *ClusterStackSpecImage)

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

func (*ClusterStackSpecImage) Validate

type ClusterStackStatus

type ClusterStackStatus struct {
	corev1alpha1.Status  `json:",inline"`
	ResolvedClusterStack `json:",inline"`
}

+k8s:openapi-gen=true

func (*ClusterStackStatus) DeepCopy

func (in *ClusterStackStatus) DeepCopy() *ClusterStackStatus

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

func (*ClusterStackStatus) DeepCopyInto

func (in *ClusterStackStatus) DeepCopyInto(out *ClusterStackStatus)

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

type ClusterStackStatusImage

type ClusterStackStatusImage struct {
	LatestImage string `json:"latestImage,omitempty"`
	Image       string `json:"image,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterStackStatusImage) DeepCopy

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

func (*ClusterStackStatusImage) DeepCopyInto

func (in *ClusterStackStatusImage) DeepCopyInto(out *ClusterStackStatusImage)

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

type ClusterStore

type ClusterStore struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterStoreSpec   `json:"spec"`
	Status ClusterStoreStatus `json:"status"`
}

+k8s:openapi-gen=true

func (*ClusterStore) ConvertFrom

func (s *ClusterStore) ConvertFrom(_ context.Context, from apis.Convertible) error

func (*ClusterStore) ConvertTo

func (s *ClusterStore) ConvertTo(_ context.Context, to apis.Convertible) error

func (*ClusterStore) DeepCopy

func (in *ClusterStore) DeepCopy() *ClusterStore

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

func (*ClusterStore) DeepCopyInto

func (in *ClusterStore) DeepCopyInto(out *ClusterStore)

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

func (*ClusterStore) DeepCopyObject

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

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

func (*ClusterStore) DeepCopyObjectMetaAccessor

func (in *ClusterStore) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new metav1.ObjectMetaAccessor.

func (*ClusterStore) GetGroupVersionKind

func (*ClusterStore) GetGroupVersionKind() schema.GroupVersionKind

func (*ClusterStore) SetDefaults

func (s *ClusterStore) SetDefaults(context.Context)

func (*ClusterStore) Validate

func (s *ClusterStore) Validate(ctx context.Context) *apis.FieldError

type ClusterStoreList

type ClusterStoreList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []ClusterStore `json:"items"`
}

+k8s:openapi-gen=true

func (*ClusterStoreList) DeepCopy

func (in *ClusterStoreList) DeepCopy() *ClusterStoreList

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

func (*ClusterStoreList) DeepCopyInto

func (in *ClusterStoreList) DeepCopyInto(out *ClusterStoreList)

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

func (*ClusterStoreList) DeepCopyObject

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

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

type ClusterStoreSpec

type ClusterStoreSpec struct {
	// +listType
	Sources           []corev1alpha1.ImageSource `json:"sources,omitempty"`
	ServiceAccountRef *corev1.ObjectReference    `json:"serviceAccountRef,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterStoreSpec) DeepCopy

func (in *ClusterStoreSpec) DeepCopy() *ClusterStoreSpec

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

func (*ClusterStoreSpec) DeepCopyInto

func (in *ClusterStoreSpec) DeepCopyInto(out *ClusterStoreSpec)

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

func (*ClusterStoreSpec) Validate

func (s *ClusterStoreSpec) Validate(ctx context.Context) *apis.FieldError

type ClusterStoreStatus

type ClusterStoreStatus struct {
	corev1alpha1.Status `json:",inline"`

	// +listType
	Buildpacks []corev1alpha1.BuildpackStatus `json:"buildpacks,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterStoreStatus) DeepCopy

func (in *ClusterStoreStatus) DeepCopy() *ClusterStoreStatus

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

func (*ClusterStoreStatus) DeepCopyInto

func (in *ClusterStoreStatus) DeepCopyInto(out *ClusterStoreStatus)

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

type CosignAnnotation

type CosignAnnotation struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

+k8s:openapi-gen=true

func (*CosignAnnotation) DeepCopy

func (in *CosignAnnotation) DeepCopy() *CosignAnnotation

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

func (*CosignAnnotation) DeepCopyInto

func (in *CosignAnnotation) DeepCopyInto(out *CosignAnnotation)

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

func (*CosignAnnotation) Validate

func (c *CosignAnnotation) Validate(ctx context.Context) *apis.FieldError

type CosignConfig

type CosignConfig struct {
	// +listType
	Annotations []CosignAnnotation `json:"annotations,omitempty"`
}

+k8s:openapi-gen=true

func (*CosignConfig) DeepCopy

func (in *CosignConfig) DeepCopy() *CosignConfig

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

func (*CosignConfig) DeepCopyInto

func (in *CosignConfig) DeepCopyInto(out *CosignConfig)

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

func (*CosignConfig) Validate

func (c *CosignConfig) Validate(ctx context.Context) *apis.FieldError

type CosignSignature added in v0.13.0

type CosignSignature struct {
	SigningSecret string `json:"signingSecret"`
	TargetDigest  string `json:"targetDigest"`
}

+k8s:openapi-gen=true

func (*CosignSignature) DeepCopy added in v0.13.0

func (in *CosignSignature) DeepCopy() *CosignSignature

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

func (*CosignSignature) DeepCopyInto added in v0.13.0

func (in *CosignSignature) DeepCopyInto(out *CosignSignature)

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

type Image

type Image struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ImageSpec   `json:"spec"`
	Status ImageStatus `json:"status,omitempty"`
}

+k8s:openapi-gen=true

func (*Image) Affinity

func (im *Image) Affinity() *corev1.Affinity

func (*Image) Build

func (im *Image) Build(sourceResolver *SourceResolver, builder BuilderResource, latestBuild *Build, reasons, changes string, nextBuildNumber int64, priorityClass string) *Build

func (*Image) BuildCache

func (im *Image) BuildCache() *corev1.PersistentVolumeClaim

func (*Image) BuildTimeout

func (im *Image) BuildTimeout() *int64

func (*Image) BuilderNotFound

func (im *Image) BuilderNotFound() corev1alpha1.Conditions

func (*Image) CNBBindings

func (im *Image) CNBBindings() corev1alpha1.CNBBindings

func (*Image) CacheName

func (im *Image) CacheName() string

func (*Image) ConvertFrom

func (i *Image) ConvertFrom(_ context.Context, from apis.Convertible) error

func (*Image) ConvertTo

func (i *Image) ConvertTo(_ context.Context, to apis.Convertible) error

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

func (*Image) DeepCopyObject

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

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

func (*Image) Env

func (im *Image) Env() []corev1.EnvVar

func (*Image) GetGroupVersionKind

func (*Image) GetGroupVersionKind() schema.GroupVersionKind

func (*Image) LatestForImage

func (im *Image) LatestForImage(build *Build) string

func (*Image) NamespacedName

func (i *Image) NamespacedName() types.NamespacedName

func (*Image) NodeSelector

func (im *Image) NodeSelector() map[string]string

func (*Image) Resources

func (im *Image) Resources() corev1.ResourceRequirements

func (*Image) RuntimeClassName

func (im *Image) RuntimeClassName() *string

func (*Image) SchedulerName

func (im *Image) SchedulerName() string

func (*Image) Services

func (im *Image) Services() Services

func (*Image) SetDefaults

func (i *Image) SetDefaults(ctx context.Context)

func (*Image) SourceResolver

func (im *Image) SourceResolver() *SourceResolver

func (*Image) SourceResolverName

func (im *Image) SourceResolverName() string

func (*Image) Tolerations

func (im *Image) Tolerations() []corev1.Toleration

func (*Image) Validate

func (i *Image) Validate(ctx context.Context) *apis.FieldError

func (*Image) ValidateMetadata

func (i *Image) ValidateMetadata(ctx context.Context) *apis.FieldError

type ImageBuild

type ImageBuild struct {
	// +listType
	Services Services `json:"services,omitempty"`
	// +listType
	CNBBindings corev1alpha1.CNBBindings `json:"cnbBindings,omitempty"`
	// +listType
	Env       []corev1.EnvVar             `json:"env,omitempty"`
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// +listType
	Tolerations      []corev1.Toleration `json:"tolerations,omitempty"`
	NodeSelector     map[string]string   `json:"nodeSelector,omitempty"`
	Affinity         *corev1.Affinity    `json:"affinity,omitempty"`
	RuntimeClassName *string             `json:"runtimeClassName,omitempty"`
	SchedulerName    string              `json:"schedulerName,omitempty"`
	BuildTimeout     *int64              `json:"buildTimeout,omitempty"`
	CreationTime     string              `json:"creationTime,omitempty"`
}

+k8s:openapi-gen=true

func (*ImageBuild) DeepCopy

func (in *ImageBuild) DeepCopy() *ImageBuild

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

func (*ImageBuild) DeepCopyInto

func (in *ImageBuild) DeepCopyInto(out *ImageBuild)

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

func (*ImageBuild) Validate

func (ib *ImageBuild) Validate(ctx context.Context) *apis.FieldError

type ImageBuilder

type ImageBuilder struct {
	metav1.TypeMeta `json:",inline"`
	Name            string `json:"name"`
}

+k8s:openapi-gen=true

func (*ImageBuilder) DeepCopy

func (in *ImageBuilder) DeepCopy() *ImageBuilder

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

func (*ImageBuilder) DeepCopyInto

func (in *ImageBuilder) DeepCopyInto(out *ImageBuilder)

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

type ImageCacheConfig

type ImageCacheConfig struct {
	Volume   *ImagePersistentVolumeCache `json:"volume,omitempty"`
	Registry *RegistryCache              `json:"registry,omitempty"`
}

+k8s:openapi-gen=true

func (*ImageCacheConfig) DeepCopy

func (in *ImageCacheConfig) DeepCopy() *ImageCacheConfig

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

func (*ImageCacheConfig) DeepCopyInto

func (in *ImageCacheConfig) DeepCopyInto(out *ImageCacheConfig)

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

func (*ImageCacheConfig) Validate

func (c *ImageCacheConfig) Validate(ctx context.Context) *apis.FieldError

type ImageContextKey

type ImageContextKey string
const (
	HasDefaultStorageClass ImageContextKey = "hasDefaultStorageClass"
	IsExpandable           ImageContextKey = "isExpandable"
)

type ImageList

type ImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []Image `json:"items"`
}

+k8s:openapi-gen=true

func (*ImageList) DeepCopy

func (in *ImageList) DeepCopy() *ImageList

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

func (*ImageList) DeepCopyInto

func (in *ImageList) DeepCopyInto(out *ImageList)

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

func (*ImageList) DeepCopyObject

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

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

type ImagePersistentVolumeCache

type ImagePersistentVolumeCache struct {
	Size             *resource.Quantity `json:"size,omitempty"`
	StorageClassName string             `json:"storageClassName,omitempty"`
}

+k8s:openapi-gen=true

func (*ImagePersistentVolumeCache) DeepCopy

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

func (*ImagePersistentVolumeCache) DeepCopyInto

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

type ImageSpec

type ImageSpec struct {
	Tag                      string                            `json:"tag"`
	Builder                  corev1.ObjectReference            `json:"builder,omitempty"`
	ServiceAccountName       string                            `json:"serviceAccountName,omitempty"`
	Source                   corev1alpha1.SourceConfig         `json:"source"`
	Cache                    *ImageCacheConfig                 `json:"cache,omitempty"`
	FailedBuildHistoryLimit  *int64                            `json:"failedBuildHistoryLimit,omitempty"`
	SuccessBuildHistoryLimit *int64                            `json:"successBuildHistoryLimit,omitempty"`
	ImageTaggingStrategy     corev1alpha1.ImageTaggingStrategy `json:"imageTaggingStrategy,omitempty"`
	ProjectDescriptorPath    string                            `json:"projectDescriptorPath,omitempty"`
	Build                    *ImageBuild                       `json:"build,omitempty"`
	Notary                   *corev1alpha1.NotaryConfig        `json:"notary,omitempty"`
	Cosign                   *CosignConfig                     `json:"cosign,omitempty"`
	DefaultProcess           string                            `json:"defaultProcess,omitempty"`
	// +listType
	AdditionalTags []string `json:"additionalTags,omitempty"`
}

+k8s:openapi-gen=true

func (*ImageSpec) DeepCopy

func (in *ImageSpec) DeepCopy() *ImageSpec

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

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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

func (*ImageSpec) NeedRegistryCache

func (is *ImageSpec) NeedRegistryCache() bool

func (*ImageSpec) NeedVolumeCache

func (is *ImageSpec) NeedVolumeCache() bool

func (*ImageSpec) ValidateSpec

func (is *ImageSpec) ValidateSpec(ctx context.Context) *apis.FieldError

type ImageStatus

type ImageStatus struct {
	corev1alpha1.Status        `json:",inline"`
	LatestBuildRef             string `json:"latestBuildRef,omitempty"`
	LatestBuildImageGeneration int64  `json:"latestBuildImageGeneration,omitempty"`
	LatestImage                string `json:"latestImage,omitempty"`
	LatestStack                string `json:"latestStack,omitempty"`
	BuildCounter               int64  `json:"buildCounter,omitempty"`
	BuildCacheName             string `json:"buildCacheName,omitempty"`
	LatestBuildReason          string `json:"latestBuildReason,omitempty"`
}

+k8s:openapi-gen=true

func (*ImageStatus) DeepCopy

func (in *ImageStatus) DeepCopy() *ImageStatus

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

func (*ImageStatus) DeepCopyInto

func (in *ImageStatus) DeepCopyInto(out *ImageStatus)

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

type LastBuild

type LastBuild struct {
	Image   string     `json:"image,omitempty"`
	Cache   BuildCache `json:"cache,omitempty"`
	StackId string     `json:"stackId,omitempty"`
}

+k8s:openapi-gen=true

func (*LastBuild) DeepCopy

func (in *LastBuild) DeepCopy() *LastBuild

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

func (*LastBuild) DeepCopyInto

func (in *LastBuild) DeepCopyInto(out *LastBuild)

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

func (*LastBuild) Validate

func (lb *LastBuild) Validate(context context.Context) *apis.FieldError

type NamespacedBuilderSpec

type NamespacedBuilderSpec struct {
	BuilderSpec                       `json:",inline"`
	ServiceAccountName                string `json:"serviceAccountName,omitempty"`
	BackwardsCompatibleServiceAccount string `json:"serviceAccount,omitempty"`
}

+k8s:openapi-gen=true

func (*NamespacedBuilderSpec) DeepCopy

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

func (*NamespacedBuilderSpec) DeepCopyInto

func (in *NamespacedBuilderSpec) DeepCopyInto(out *NamespacedBuilderSpec)

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

func (*NamespacedBuilderSpec) ServiceAccount

func (b *NamespacedBuilderSpec) ServiceAccount() string

func (*NamespacedBuilderSpec) Validate

type RegistryCache

type RegistryCache struct {
	Tag string `json:"tag"`
}

+k8s:openapi-gen=true

func (*RegistryCache) DeepCopy

func (in *RegistryCache) DeepCopy() *RegistryCache

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

func (*RegistryCache) DeepCopyInto

func (in *RegistryCache) DeepCopyInto(out *RegistryCache)

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

type ResolvedClusterStack

type ResolvedClusterStack struct {
	Id         string                  `json:"id,omitempty"`
	BuildImage ClusterStackStatusImage `json:"buildImage,omitempty"`
	RunImage   ClusterStackStatusImage `json:"runImage,omitempty"`
	// +listType
	Mixins  []string `json:"mixins,omitempty"`
	UserID  int      `json:"userId,omitempty"`
	GroupID int      `json:"groupId,omitempty"`
}

+k8s:openapi-gen=true

func (*ResolvedClusterStack) DeepCopy

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

func (*ResolvedClusterStack) DeepCopyInto

func (in *ResolvedClusterStack) DeepCopyInto(out *ResolvedClusterStack)

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

type ServiceBinding

type ServiceBinding interface {
	ServiceName() string
}

type Services

type Services []corev1.ObjectReference

+k8s:openapi-gen=true

func (Services) DeepCopy

func (in Services) DeepCopy() Services

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

func (Services) DeepCopyInto

func (in Services) DeepCopyInto(out *Services)

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

func (Services) Validate

func (ss Services) Validate(ctx context.Context) *apis.FieldError

type SourceResolver

type SourceResolver struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SourceResolverSpec   `json:"spec"`
	Status            SourceResolverStatus `json:"status,omitempty"`
}

+k8s:openapi-gen=true

func (*SourceResolver) ConvertFrom

func (i *SourceResolver) ConvertFrom(_ context.Context, from apis.Convertible) error

func (*SourceResolver) ConvertTo

func (i *SourceResolver) ConvertTo(_ context.Context, to apis.Convertible) error

func (*SourceResolver) DeepCopy

func (in *SourceResolver) DeepCopy() *SourceResolver

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

func (*SourceResolver) DeepCopyInto

func (in *SourceResolver) DeepCopyInto(out *SourceResolver)

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

func (*SourceResolver) DeepCopyObject

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

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

func (*SourceResolver) GetGroupVersionKind

func (*SourceResolver) GetGroupVersionKind() schema.GroupVersionKind

func (SourceResolver) IsBlob

func (sr SourceResolver) IsBlob() bool

func (SourceResolver) IsGit

func (sr SourceResolver) IsGit() bool

func (SourceResolver) IsRegistry

func (sr SourceResolver) IsRegistry() bool

func (*SourceResolver) PollingReady

func (sr *SourceResolver) PollingReady() bool

func (*SourceResolver) Ready

func (sr *SourceResolver) Ready() bool

func (*SourceResolver) ResolvedSource

func (sr *SourceResolver) ResolvedSource(config corev1alpha1.ResolvedSourceConfig)

func (*SourceResolver) SourceConfig

func (st *SourceResolver) SourceConfig() corev1alpha1.SourceConfig

type SourceResolverList

type SourceResolverList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// +k8s:listType=atomic
	Items []SourceResolver `json:"items"`
}

+k8s:openapi-gen=true

func (*SourceResolverList) DeepCopy

func (in *SourceResolverList) DeepCopy() *SourceResolverList

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

func (*SourceResolverList) DeepCopyInto

func (in *SourceResolverList) DeepCopyInto(out *SourceResolverList)

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

func (*SourceResolverList) DeepCopyObject

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

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

type SourceResolverSpec

type SourceResolverSpec struct {
	ServiceAccountName string                    `json:"serviceAccount,omitempty"`
	Source             corev1alpha1.SourceConfig `json:"source"`
}

+k8s:openapi-gen=true

func (*SourceResolverSpec) DeepCopy

func (in *SourceResolverSpec) DeepCopy() *SourceResolverSpec

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

func (*SourceResolverSpec) DeepCopyInto

func (in *SourceResolverSpec) DeepCopyInto(out *SourceResolverSpec)

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

type SourceResolverStatus

type SourceResolverStatus struct {
	corev1alpha1.Status `json:",inline"`
	Source              corev1alpha1.ResolvedSourceConfig `json:"source,omitempty"`
}

+k8s:openapi-gen=true

func (*SourceResolverStatus) DeepCopy

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

func (*SourceResolverStatus) DeepCopyInto

func (in *SourceResolverStatus) DeepCopyInto(out *SourceResolverStatus)

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

Jump to

Keyboard shortcuts

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