Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Binding
- type Bindings
- type Blob
- type Build
- func (b *Build) Bindings() []Binding
- func (b *Build) BuildPod(config BuildPodImages, secrets []corev1.Secret, bc BuildPodBuilderConfig) (*corev1.Pod, error)
- func (b *Build) BuildReason() string
- func (b *Build) BuildRef() string
- func (b *Build) BuilderSpec() BuildBuilderSpec
- func (b *Build) BuiltImage() string
- func (in *Build) DeepCopy() *Build
- func (in *Build) DeepCopyInto(out *Build)
- func (in *Build) DeepCopyObject() runtime.Object
- func (b *Build) Finished() bool
- func (*Build) GetGroupVersionKind() schema.GroupVersionKind
- func (b *Build) ImageGeneration() int64
- func (b *Build) IsFailure() bool
- func (b *Build) IsRunning() bool
- func (b *Build) IsSuccess() bool
- func (b *Build) MetadataReady(pod *corev1.Pod) bool
- func (b *Build) PodName() string
- func (b *Build) ServiceAccount() string
- func (b *Build) SetDefaults(ctx context.Context)
- func (b *Build) Stack() string
- func (b *Build) Tag() string
- func (b *Build) Validate(ctx context.Context) *apis.FieldError
- type BuildBuilderSpec
- type BuildList
- type BuildPodBuilderConfig
- type BuildPodImages
- type BuildSpec
- type BuildStack
- type BuildStatus
- type Builder
- func (in *Builder) DeepCopy() *Builder
- func (in *Builder) DeepCopyInto(out *Builder)
- func (in *Builder) DeepCopyObject() runtime.Object
- func (in *Builder) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor
- func (*Builder) GetGroupVersionKind() schema.GroupVersionKind
- func (c *Builder) NamespacedName() types.NamespacedName
- func (cb *Builder) SetDefaults(context.Context)
- func (cb *Builder) Validate(ctx context.Context) *apis.FieldError
- type BuilderList
- type BuilderRecord
- type BuilderResource
- type BuilderSpec
- type BuilderStatus
- type BuildpackInfo
- type BuildpackMetadata
- type BuildpackMetadataList
- type BuildpackRef
- type BuildpackStack
- type BuildpackageInfo
- type ClusterBuilder
- func (in *ClusterBuilder) DeepCopy() *ClusterBuilder
- func (in *ClusterBuilder) DeepCopyInto(out *ClusterBuilder)
- func (in *ClusterBuilder) DeepCopyObject() runtime.Object
- func (in *ClusterBuilder) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor
- func (*ClusterBuilder) GetGroupVersionKind() schema.GroupVersionKind
- func (c *ClusterBuilder) NamespacedName() types.NamespacedName
- func (ccb *ClusterBuilder) SetDefaults(context.Context)
- func (ccb *ClusterBuilder) Validate(ctx context.Context) *apis.FieldError
- type ClusterBuilderList
- type ClusterBuilderSpec
- type ClusterStack
- func (in *ClusterStack) DeepCopy() *ClusterStack
- func (in *ClusterStack) DeepCopyInto(out *ClusterStack)
- func (in *ClusterStack) DeepCopyObject() runtime.Object
- func (in *ClusterStack) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor
- func (*ClusterStack) GetGroupVersionKind() schema.GroupVersionKind
- func (s *ClusterStack) SetDefaults(context.Context)
- func (s *ClusterStack) Validate(ctx context.Context) *apis.FieldError
- type ClusterStackList
- type ClusterStackSpec
- type ClusterStackSpecImage
- type ClusterStackStatus
- type ClusterStackStatusImage
- type ClusterStore
- func (in *ClusterStore) DeepCopy() *ClusterStore
- func (in *ClusterStore) DeepCopyInto(out *ClusterStore)
- func (in *ClusterStore) DeepCopyObject() runtime.Object
- func (in *ClusterStore) DeepCopyObjectMetaAccessor() metav1.ObjectMetaAccessor
- func (*ClusterStore) GetGroupVersionKind() schema.GroupVersionKind
- func (s *ClusterStore) SetDefaults(context.Context)
- func (s *ClusterStore) Validate(ctx context.Context) *apis.FieldError
- type ClusterStoreList
- type ClusterStoreSpec
- type ClusterStoreStatus
- type Git
- type GitSourceKind
- type Image
- func (im *Image) Bindings() Bindings
- func (im *Image) Build(sourceResolver *SourceResolver, builder BuilderResource, latestBuild *Build, ...) *Build
- func (im *Image) BuildCache() *corev1.PersistentVolumeClaim
- func (im *Image) BuilderNotFound() corev1alpha1.Conditions
- func (im *Image) CacheName() string
- func (in *Image) DeepCopy() *Image
- func (in *Image) DeepCopyInto(out *Image)
- func (in *Image) DeepCopyObject() runtime.Object
- func (im *Image) Env() []corev1.EnvVar
- func (*Image) GetGroupVersionKind() schema.GroupVersionKind
- func (im *Image) LatestForImage(build *Build) string
- func (i *Image) NamespacedName() types.NamespacedName
- func (im *Image) NeedCache() bool
- func (im *Image) Resources() corev1.ResourceRequirements
- func (s *Image) SetDefaults(ctx context.Context)
- func (im *Image) SourceResolver() *SourceResolver
- func (im *Image) SourceResolverName() string
- func (s *Image) Validate(ctx context.Context) *apis.FieldError
- type ImageBuild
- type ImageBuilder
- type ImageContextKey
- type ImageList
- type ImageSpec
- type ImageStatus
- type ImageTaggingStrategy
- type LastBuild
- type NamespacedBuilderSpec
- type Order
- type OrderEntry
- type Registry
- type ResolvedBlobSource
- func (bs *ResolvedBlobSource) ConfigChanged(lastBuild *Build) bool
- func (in *ResolvedBlobSource) DeepCopy() *ResolvedBlobSource
- func (in *ResolvedBlobSource) DeepCopyInto(out *ResolvedBlobSource)
- func (bs *ResolvedBlobSource) IsPollable() bool
- func (bs *ResolvedBlobSource) IsUnknown() bool
- func (bs *ResolvedBlobSource) RevisionChanged(lastBuild *Build) bool
- func (bs *ResolvedBlobSource) SourceConfig() SourceConfig
- type ResolvedClusterStack
- type ResolvedGitSource
- func (gs *ResolvedGitSource) ConfigChanged(lastBuild *Build) bool
- func (in *ResolvedGitSource) DeepCopy() *ResolvedGitSource
- func (in *ResolvedGitSource) DeepCopyInto(out *ResolvedGitSource)
- func (gs *ResolvedGitSource) IsPollable() bool
- func (gs *ResolvedGitSource) IsUnknown() bool
- func (gs *ResolvedGitSource) RevisionChanged(lastBuild *Build) bool
- func (gs *ResolvedGitSource) SourceConfig() SourceConfig
- type ResolvedRegistrySource
- func (rs *ResolvedRegistrySource) ConfigChanged(lastBuild *Build) bool
- func (in *ResolvedRegistrySource) DeepCopy() *ResolvedRegistrySource
- func (in *ResolvedRegistrySource) DeepCopyInto(out *ResolvedRegistrySource)
- func (rs *ResolvedRegistrySource) IsPollable() bool
- func (rs *ResolvedRegistrySource) IsUnknown() bool
- func (rs *ResolvedRegistrySource) RevisionChanged(lastBuild *Build) bool
- func (rs *ResolvedRegistrySource) SourceConfig() SourceConfig
- type ResolvedSource
- type ResolvedSourceConfig
- type Source
- type SourceConfig
- type SourceResolver
- func (sr *SourceResolver) ConfigChanged(lastBuild *Build) bool
- func (in *SourceResolver) DeepCopy() *SourceResolver
- func (in *SourceResolver) DeepCopyInto(out *SourceResolver)
- func (in *SourceResolver) DeepCopyObject() runtime.Object
- func (*SourceResolver) GetGroupVersionKind() schema.GroupVersionKind
- func (sr SourceResolver) IsBlob() bool
- func (sr SourceResolver) IsGit() bool
- func (sr SourceResolver) IsRegistry() bool
- func (sr *SourceResolver) PollingReady() bool
- func (sr *SourceResolver) Ready() bool
- func (sr *SourceResolver) ResolvedSource(config ResolvedSourceConfig)
- func (sr *SourceResolver) RevisionChanged(lastBuild *Build) bool
- func (st *SourceResolver) SourceConfig() SourceConfig
- type SourceResolverList
- type SourceResolverSpec
- type SourceResolverStatus
- type StoreBuildpack
- type StoreImage
Constants ¶
const ( SecretTemplateName = "secret-volume-%s" SecretPathName = "/var/build-secrets/%s" BuildLabel = "kpack.io/build" DOCKERSecretAnnotationPrefix = "kpack.io/docker" GITSecretAnnotationPrefix = "kpack.io/git" )
const ( BuildNumberLabel = "image.kpack.io/buildNumber" ImageLabel = "image.kpack.io/image" ImageGenerationLabel = "image.kpack.io/imageGeneration" BuildReasonAnnotation = "image.kpack.io/reason" BuildNeededAnnotation = "image.kpack.io/additionalBuildNeeded" BuildReasonConfig = "CONFIG" BuildReasonCommit = "COMMIT" BuildReasonBuildpack = "BUILDPACK" BuildReasonStack = "STACK" BuildReasonTrigger = "TRIGGER" )
const ( BuilderNotFound = "BuilderNotFound" BuilderNotReady = "BuilderNotReady" )
const ActivePolling = "ActivePolling"
const BuilderKind = "Builder"
const ClusterBuilderKind = "ClusterBuilder"
const ClusterStackKind = "ClusterStack"
const ClusterStoreKind = "ClusterStore"
const ConditionBuilderReady corev1alpha1.ConditionType = "BuilderReady"
Variables ¶
var (
// AddToScheme adds Build types to the scheme.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: build.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Binding ¶ added in v0.0.9
type Binding struct { Name string `json:"name",omitempty"` MetadataRef *corev1.LocalObjectReference `json:"metadataRef,omitempty"` SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"` }
+k8s:openapi-gen=true
func (*Binding) DeepCopy ¶ added in v0.0.9
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.
func (*Binding) DeepCopyInto ¶ added in v0.0.9
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bindings ¶ added in v0.0.9
type Bindings []Binding
+k8s:openapi-gen=true
func (Bindings) DeepCopy ¶ added in v0.0.9
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bindings.
func (Bindings) DeepCopyInto ¶ added in v0.0.9
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Blob ¶ added in v0.0.2
type Blob struct {
URL string `json:"url"`
}
+k8s:openapi-gen=true
func (*Blob) BuildEnvVars ¶ added in v0.0.3
func (*Blob) DeepCopy ¶ added in v0.0.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Blob.
func (*Blob) DeepCopyInto ¶ added in v0.0.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Blob) ImagePullSecretsVolume ¶ added in v0.0.3
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) BuildPod ¶ added in v0.0.2
func (b *Build) BuildPod(config BuildPodImages, secrets []corev1.Secret, bc BuildPodBuilderConfig) (*corev1.Pod, error)
func (*Build) BuildReason ¶
func (*Build) BuilderSpec ¶
func (b *Build) BuilderSpec() BuildBuilderSpec
func (*Build) BuiltImage ¶
func (*Build) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.
func (*Build) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Build) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Build) GetGroupVersionKind ¶
func (*Build) GetGroupVersionKind() schema.GroupVersionKind
func (*Build) ImageGeneration ¶
func (*Build) ServiceAccount ¶
func (*Build) SetDefaults ¶
type BuildBuilderSpec ¶ added in v0.0.5
type BuildBuilderSpec struct { Image string `json:"image,omitempty"` // +patchMergeKey=name // +patchStrategy=merge // +listType ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"` }
+k8s:openapi-gen=true
func (*BuildBuilderSpec) DeepCopy ¶ added in v0.0.5
func (in *BuildBuilderSpec) DeepCopy() *BuildBuilderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildBuilderSpec.
func (*BuildBuilderSpec) DeepCopyInto ¶ added in v0.0.5
func (in *BuildBuilderSpec) DeepCopyInto(out *BuildBuilderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildBuilderSpec) Validate ¶ added in v0.0.5
func (bbs *BuildBuilderSpec) Validate(ctx context.Context) *apis.FieldError
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.
func (*BuildList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildPodBuilderConfig ¶ added in v0.0.5
type BuildPodBuilderConfig struct { StackID string RunImage string Uid int64 Gid int64 PlatformAPI string }
func (*BuildPodBuilderConfig) DeepCopy ¶ added in v0.0.5
func (in *BuildPodBuilderConfig) DeepCopy() *BuildPodBuilderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPodBuilderConfig.
func (*BuildPodBuilderConfig) DeepCopyInto ¶ added in v0.0.5
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 ¶ added in v0.0.5
func (*BuildPodImages) DeepCopy ¶ added in v0.0.5
func (in *BuildPodImages) DeepCopy() *BuildPodImages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPodImages.
func (*BuildPodImages) DeepCopyInto ¶ added in v0.0.5
func (in *BuildPodImages) DeepCopyInto(out *BuildPodImages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildSpec ¶
type BuildSpec struct { // +listType Tags []string `json:"tags,omitempty"` Builder BuildBuilderSpec `json:"builder,omitempty"` ServiceAccount string `json:"serviceAccount,omitempty"` Source SourceConfig `json:"source"` CacheName string `json:"cacheName,omitempty"` // +listType Bindings Bindings `json:"bindings,omitempty"` // +listType Env []corev1.EnvVar `json:"env,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` LastBuild *LastBuild `json:"lastBuild,omitempty"` }
+k8s:openapi-gen=true
func (*BuildSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSpec.
func (*BuildSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildStack ¶ added in v0.0.5
type BuildStack struct { RunImage string `json:"runImage,omitempty"` ID string `json:"id,omitempty"` }
+k8s:openapi-gen=true
func (*BuildStack) DeepCopy ¶ added in v0.0.5
func (in *BuildStack) DeepCopy() *BuildStack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStack.
func (*BuildStack) DeepCopyInto ¶ added in v0.0.5
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 BuildpackMetadataList `json:"buildMetadata,omitempty"` Stack BuildStack `json:"stack,omitempty"` LatestImage string `json:"latestImage,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) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Builder.
func (*Builder) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Builder) DeepCopyObject ¶
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 ¶
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 BuilderRecord ¶
type BuilderRecord struct { Image string Stack BuildStack Buildpacks BuildpackMetadataList }
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 BuildBuilderSpec() BuildBuilderSpec Ready() bool BuildpackMetadata() BuildpackMetadataList RunImage() 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 []OrderEntry `json:"order,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 BuildpackMetadataList `json:"builderMetadata,omitempty"` Stack BuildStack `json:"stack,omitempty"` LatestImage string `json:"latestImage,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 (cb *BuilderStatus) ErrorCreate(err error)
type BuildpackInfo ¶ added in v0.1.0
+k8s:openapi-gen=true
func (*BuildpackInfo) DeepCopy ¶ added in v0.1.0
func (in *BuildpackInfo) DeepCopy() *BuildpackInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackInfo.
func (*BuildpackInfo) DeepCopyInto ¶ added in v0.1.0
func (in *BuildpackInfo) DeepCopyInto(out *BuildpackInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BuildpackInfo) String ¶ added in v0.1.0
func (b BuildpackInfo) String() string
type BuildpackMetadata ¶ added in v0.0.1
type BuildpackMetadata struct { Id string `json:"id"` Version string `json:"version"` Homepage string `json:"homepage,omitempty"` }
+k8s:openapi-gen=true
func (*BuildpackMetadata) DeepCopy ¶ added in v0.0.1
func (in *BuildpackMetadata) DeepCopy() *BuildpackMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackMetadata.
func (*BuildpackMetadata) DeepCopyInto ¶ added in v0.0.1
func (in *BuildpackMetadata) DeepCopyInto(out *BuildpackMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildpackMetadataList ¶ added in v0.0.1
type BuildpackMetadataList []BuildpackMetadata
func (BuildpackMetadataList) DeepCopy ¶ added in v0.0.2
func (in BuildpackMetadataList) DeepCopy() BuildpackMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackMetadataList.
func (BuildpackMetadataList) DeepCopyInto ¶ added in v0.0.2
func (in BuildpackMetadataList) DeepCopyInto(out *BuildpackMetadataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BuildpackMetadataList) Include ¶ added in v0.0.1
func (l BuildpackMetadataList) Include(q BuildpackMetadata) bool
type BuildpackRef ¶ added in v0.1.0
type BuildpackRef struct { BuildpackInfo `json:",inline"` Optional bool `json:"optional,omitempty"` }
+k8s:openapi-gen=true
func (*BuildpackRef) DeepCopy ¶ added in v0.1.0
func (in *BuildpackRef) DeepCopy() *BuildpackRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackRef.
func (*BuildpackRef) DeepCopyInto ¶ added in v0.1.0
func (in *BuildpackRef) DeepCopyInto(out *BuildpackRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildpackStack ¶ added in v0.1.0
type BuildpackStack struct { ID string `json:"id"` // +listType Mixins []string `json:"mixins,omitempty"` }
+k8s:openapi-gen=true
func (*BuildpackStack) DeepCopy ¶ added in v0.1.0
func (in *BuildpackStack) DeepCopy() *BuildpackStack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackStack.
func (*BuildpackStack) DeepCopyInto ¶ added in v0.1.0
func (in *BuildpackStack) DeepCopyInto(out *BuildpackStack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildpackageInfo ¶ added in v0.1.0
type BuildpackageInfo struct { Id string `json:"id,omitempty"` Version string `json:"version,omitempty"` Homepage string `json:"homepage,omitempty"` }
+k8s:openapi-gen=true
func (*BuildpackageInfo) DeepCopy ¶ added in v0.1.0
func (in *BuildpackageInfo) DeepCopy() *BuildpackageInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackageInfo.
func (*BuildpackageInfo) DeepCopyInto ¶ added in v0.1.0
func (in *BuildpackageInfo) DeepCopyInto(out *BuildpackageInfo)
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) 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 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) 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"` }
+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 ¶
func (in *ClusterStackSpecImage) DeepCopy() *ClusterStackSpecImage
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 ¶
func (ssi *ClusterStackSpecImage) Validate(context.Context) *apis.FieldError
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 ¶
func (in *ClusterStackStatusImage) DeepCopy() *ClusterStackStatusImage
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) 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 []StoreImage `json:"sources,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 []StoreBuildpack `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 Git ¶ added in v0.0.1
+k8s:openapi-gen=true
func (*Git) BuildEnvVars ¶ added in v0.0.3
func (*Git) DeepCopy ¶ added in v0.0.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git.
func (*Git) DeepCopyInto ¶ added in v0.0.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Git) ImagePullSecretsVolume ¶ added in v0.0.3
type GitSourceKind ¶ added in v0.0.2
type GitSourceKind string
const ( Unknown GitSourceKind = "Unknown" Branch GitSourceKind = "Branch" Tag GitSourceKind = "Tag" Commit GitSourceKind = "Commit" )
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) Build ¶ added in v0.0.9
func (im *Image) Build(sourceResolver *SourceResolver, builder BuilderResource, latestBuild *Build, reasons []string, cacheName string, nextBuildNumber int64) *Build
func (*Image) BuildCache ¶
func (im *Image) BuildCache() *corev1.PersistentVolumeClaim
func (*Image) BuilderNotFound ¶
func (im *Image) BuilderNotFound() corev1alpha1.Conditions
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Image) GetGroupVersionKind ¶
func (*Image) GetGroupVersionKind() schema.GroupVersionKind
func (*Image) LatestForImage ¶
func (*Image) NamespacedName ¶
func (i *Image) NamespacedName() types.NamespacedName
func (*Image) Resources ¶
func (im *Image) Resources() corev1.ResourceRequirements
func (*Image) SetDefaults ¶
func (*Image) SourceResolver ¶
func (im *Image) SourceResolver() *SourceResolver
func (*Image) SourceResolverName ¶
type ImageBuild ¶
type ImageBuild struct { // +listType Bindings Bindings `json:"bindings,omitempty"` // +listType Env []corev1.EnvVar `json:"env,omitempty"` Resources corev1.ResourceRequirements `json:"resources,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 ¶ added in v0.0.4
+k8s:openapi-gen=true
func (*ImageBuilder) DeepCopy ¶ added in v0.0.4
func (in *ImageBuilder) DeepCopy() *ImageBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBuilder.
func (*ImageBuilder) DeepCopyInto ¶ added in v0.0.4
func (in *ImageBuilder) DeepCopyInto(out *ImageBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageContextKey ¶
type ImageContextKey string
const (
HasDefaultStorageClass ImageContextKey = "hasDefaultStorageClass"
)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.
func (*ImageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageSpec ¶
type ImageSpec struct { Tag string `json:"tag"` Builder corev1.ObjectReference `json:"builder,omitempty"` ServiceAccount string `json:"serviceAccount,omitempty"` Source SourceConfig `json:"source"` CacheSize *resource.Quantity `json:"cacheSize,omitempty"` FailedBuildHistoryLimit *int64 `json:"failedBuildHistoryLimit,omitempty"` SuccessBuildHistoryLimit *int64 `json:"successBuildHistoryLimit,omitempty"` ImageTaggingStrategy ImageTaggingStrategy `json:"imageTaggingStrategy,omitempty"` Build *ImageBuild `json:"build,omitempty"` }
+k8s:openapi-gen=true
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ImageTaggingStrategy ¶ added in v0.0.3
type ImageTaggingStrategy string
const ( None ImageTaggingStrategy = "None" BuildNumber ImageTaggingStrategy = "BuildNumber" )
type LastBuild ¶
type LastBuild struct { Image string `json:"image,omitempty"` StackId string `json:"stackId,omitempty"` }
+k8s:openapi-gen=true
func (*LastBuild) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastBuild.
func (*LastBuild) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedBuilderSpec ¶
type NamespacedBuilderSpec struct { BuilderSpec `json:",inline"` ServiceAccount string `json:"serviceAccount,omitempty"` }
+k8s:openapi-gen=true
func (*NamespacedBuilderSpec) DeepCopy ¶
func (in *NamespacedBuilderSpec) DeepCopy() *NamespacedBuilderSpec
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) Validate ¶
func (s *NamespacedBuilderSpec) Validate(ctx context.Context) *apis.FieldError
type Order ¶ added in v0.1.0
type Order []OrderEntry
func (Order) DeepCopy ¶ added in v0.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Order.
func (Order) DeepCopyInto ¶ added in v0.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrderEntry ¶ added in v0.1.0
type OrderEntry struct { // +listType Group []BuildpackRef `json:"group,omitempty"` }
+k8s:openapi-gen=true
func (*OrderEntry) DeepCopy ¶ added in v0.1.0
func (in *OrderEntry) DeepCopy() *OrderEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderEntry.
func (*OrderEntry) DeepCopyInto ¶ added in v0.1.0
func (in *OrderEntry) DeepCopyInto(out *OrderEntry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Registry ¶ added in v0.0.3
type Registry struct { Image string `json:"image"` // +patchMergeKey=name // +patchStrategy=merge // +listType ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"` }
+k8s:openapi-gen=true
func (*Registry) BuildEnvVars ¶ added in v0.0.3
func (*Registry) DeepCopy ¶ added in v0.0.3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
func (*Registry) DeepCopyInto ¶ added in v0.0.3
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Registry) ImagePullSecretsVolume ¶ added in v0.0.3
type ResolvedBlobSource ¶ added in v0.0.2
type ResolvedBlobSource struct { URL string `json:"url"` SubPath string `json:"subPath,omitempty"` }
+k8s:openapi-gen=true
func (*ResolvedBlobSource) ConfigChanged ¶ added in v0.0.3
func (bs *ResolvedBlobSource) ConfigChanged(lastBuild *Build) bool
func (*ResolvedBlobSource) DeepCopy ¶ added in v0.0.2
func (in *ResolvedBlobSource) DeepCopy() *ResolvedBlobSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedBlobSource.
func (*ResolvedBlobSource) DeepCopyInto ¶ added in v0.0.2
func (in *ResolvedBlobSource) DeepCopyInto(out *ResolvedBlobSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResolvedBlobSource) IsPollable ¶ added in v0.0.3
func (bs *ResolvedBlobSource) IsPollable() bool
func (*ResolvedBlobSource) IsUnknown ¶ added in v0.0.3
func (bs *ResolvedBlobSource) IsUnknown() bool
func (*ResolvedBlobSource) RevisionChanged ¶ added in v0.0.3
func (bs *ResolvedBlobSource) RevisionChanged(lastBuild *Build) bool
func (*ResolvedBlobSource) SourceConfig ¶ added in v0.0.3
func (bs *ResolvedBlobSource) SourceConfig() SourceConfig
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 ¶
func (in *ResolvedClusterStack) DeepCopy() *ResolvedClusterStack
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 ResolvedGitSource ¶ added in v0.0.2
type ResolvedGitSource struct { URL string `json:"url"` Revision string `json:"revision"` SubPath string `json:"subPath,omitempty"` Type GitSourceKind `json:"type"` }
+k8s:openapi-gen=true
func (*ResolvedGitSource) ConfigChanged ¶ added in v0.0.3
func (gs *ResolvedGitSource) ConfigChanged(lastBuild *Build) bool
func (*ResolvedGitSource) DeepCopy ¶ added in v0.0.2
func (in *ResolvedGitSource) DeepCopy() *ResolvedGitSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedGitSource.
func (*ResolvedGitSource) DeepCopyInto ¶ added in v0.0.2
func (in *ResolvedGitSource) DeepCopyInto(out *ResolvedGitSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResolvedGitSource) IsPollable ¶ added in v0.0.2
func (gs *ResolvedGitSource) IsPollable() bool
func (*ResolvedGitSource) IsUnknown ¶ added in v0.0.2
func (gs *ResolvedGitSource) IsUnknown() bool
func (*ResolvedGitSource) RevisionChanged ¶ added in v0.0.3
func (gs *ResolvedGitSource) RevisionChanged(lastBuild *Build) bool
func (*ResolvedGitSource) SourceConfig ¶ added in v0.0.3
func (gs *ResolvedGitSource) SourceConfig() SourceConfig
type ResolvedRegistrySource ¶ added in v0.0.3
type ResolvedRegistrySource struct { Image string `json:"image"` SubPath string `json:"subPath,omitempty"` // +patchMergeKey=name // +patchStrategy=merge // +listType ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"` }
+k8s:openapi-gen=true
func (*ResolvedRegistrySource) ConfigChanged ¶ added in v0.0.3
func (rs *ResolvedRegistrySource) ConfigChanged(lastBuild *Build) bool
func (*ResolvedRegistrySource) DeepCopy ¶ added in v0.0.3
func (in *ResolvedRegistrySource) DeepCopy() *ResolvedRegistrySource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedRegistrySource.
func (*ResolvedRegistrySource) DeepCopyInto ¶ added in v0.0.3
func (in *ResolvedRegistrySource) DeepCopyInto(out *ResolvedRegistrySource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResolvedRegistrySource) IsPollable ¶ added in v0.0.3
func (rs *ResolvedRegistrySource) IsPollable() bool
func (*ResolvedRegistrySource) IsUnknown ¶ added in v0.0.3
func (rs *ResolvedRegistrySource) IsUnknown() bool
func (*ResolvedRegistrySource) RevisionChanged ¶ added in v0.0.3
func (rs *ResolvedRegistrySource) RevisionChanged(lastBuild *Build) bool
func (*ResolvedRegistrySource) SourceConfig ¶ added in v0.0.3
func (rs *ResolvedRegistrySource) SourceConfig() SourceConfig
type ResolvedSource ¶ added in v0.0.2
type ResolvedSourceConfig ¶ added in v0.0.3
type ResolvedSourceConfig struct { Git *ResolvedGitSource `json:"git,omitempty"` Blob *ResolvedBlobSource `json:"blob,omitempty"` Registry *ResolvedRegistrySource `json:"registry,omitempty"` }
+k8s:openapi-gen=true
func (*ResolvedSourceConfig) DeepCopy ¶ added in v0.0.3
func (in *ResolvedSourceConfig) DeepCopy() *ResolvedSourceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedSourceConfig.
func (*ResolvedSourceConfig) DeepCopyInto ¶ added in v0.0.3
func (in *ResolvedSourceConfig) DeepCopyInto(out *ResolvedSourceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ResolvedSourceConfig) ResolvedSource ¶ added in v0.0.3
func (sc ResolvedSourceConfig) ResolvedSource() ResolvedSource
type SourceConfig ¶ added in v0.0.3
type SourceConfig struct { Git *Git `json:"git,omitempty"` Blob *Blob `json:"blob,omitempty"` Registry *Registry `json:"registry,omitempty"` SubPath string `json:"subPath,omitempty"` }
+k8s:openapi-gen=true
func (*SourceConfig) DeepCopy ¶ added in v0.0.3
func (in *SourceConfig) DeepCopy() *SourceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceConfig.
func (*SourceConfig) DeepCopyInto ¶ added in v0.0.3
func (in *SourceConfig) DeepCopyInto(out *SourceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SourceConfig) Source ¶ added in v0.0.3
func (sc *SourceConfig) Source() Source
func (*SourceConfig) Validate ¶ added in v0.0.5
func (s *SourceConfig) 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) ConfigChanged ¶ added in v0.0.2
func (sr *SourceResolver) ConfigChanged(lastBuild *Build) bool
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 ResolvedSourceConfig)
func (*SourceResolver) RevisionChanged ¶ added in v0.0.3
func (sr *SourceResolver) RevisionChanged(lastBuild *Build) bool
func (*SourceResolver) SourceConfig ¶
func (st *SourceResolver) SourceConfig() 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 { ServiceAccount string `json:"serviceAccount,omitempty"` Source 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 ResolvedSourceConfig `json:"source,omitempty"` }
+k8s:openapi-gen=true
func (*SourceResolverStatus) DeepCopy ¶
func (in *SourceResolverStatus) DeepCopy() *SourceResolverStatus
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.
type StoreBuildpack ¶ added in v0.1.0
type StoreBuildpack struct { BuildpackInfo `json:",inline"` Buildpackage BuildpackageInfo `json:"buildpackage,omitempty"` StoreImage StoreImage `json:"storeImage,omitempty"` DiffId string `json:"diffId,omitempty"` Digest string `json:"digest,omitempty"` Size int64 `json:"size,omitempty"` API string `json:"api,omitempty"` Homepage string `json:"homepage,omitempty"` // +listType Order []OrderEntry `json:"order,omitempty"` // +listType Stacks []BuildpackStack `json:"stacks,omitempty"` }
+k8s:openapi-gen=true
func (*StoreBuildpack) DeepCopy ¶ added in v0.1.0
func (in *StoreBuildpack) DeepCopy() *StoreBuildpack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreBuildpack.
func (*StoreBuildpack) DeepCopyInto ¶ added in v0.1.0
func (in *StoreBuildpack) DeepCopyInto(out *StoreBuildpack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StoreImage ¶ added in v0.1.0
type StoreImage struct {
Image string `json:"image,omitempty"`
}
+k8s:openapi-gen=true
func (*StoreImage) DeepCopy ¶ added in v0.1.0
func (in *StoreImage) DeepCopy() *StoreImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreImage.
func (*StoreImage) DeepCopyInto ¶ added in v0.1.0
func (in *StoreImage) DeepCopyInto(out *StoreImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- build.go
- build_lifecycle.go
- build_pod.go
- build_types.go
- build_validation.go
- builder_lifecycle.go
- builder_resource.go
- builder_types.go
- builder_validation.go
- buildpack_metadata.go
- buildpack_types.go
- buildpackage_types.go
- cluster_builder_types.go
- cluster_builder_validation.go
- cluster_stack_types.go
- cluster_stack_validation.go
- cluster_store_types.go
- cluster_store_validation.go
- doc.go
- image_builds.go
- image_lifecycle.go
- image_types.go
- image_validation.go
- register.go
- source_resolver.go
- source_resolver_types.go
- source_types.go
- zz_generated.deepcopy.go