Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=build.pivotal.io
Index ¶
- Variables
- type Blob
- type Build
- type BuildList
- type BuildSpec
- type BuildStatus
- type Builder
- type BuilderImage
- type BuilderList
- type BuilderSpec
- type BuilderStatus
- type BuilderUpdatePolicy
- type BuildpackMetadata
- type BuildpackMetadataList
- type ClusterBuilder
- type ClusterBuilderList
- type Git
- type GitSourceKind
- type Image
- type ImageBuild
- type ImageBuilder
- type ImageList
- type ImageSpec
- type ImageStatus
- type ImageTaggingStrategy
- type Registry
- type ResolvedBlobSource
- type ResolvedGitSource
- type ResolvedRegistrySource
- type ResolvedSourceConfig
- type SourceConfig
- type SourceResolver
- type SourceResolverList
- type SourceResolverSpec
- type SourceResolverStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "build.pivotal.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct {
URL string `json:"url"`
}
func (*Blob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Blob.
func (*Blob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Blob) Validate ¶
func (b *Blob) Validate() validation.FieldErrors
type Build ¶
type Build struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BuildSpec `json:"spec,omitempty"` Status BuildStatus `json:"status,omitempty"` }
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.
type BuildList ¶
type BuildList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Build `json:"items"` }
BuildList contains a list of Build
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 BuildSpec ¶
type BuildSpec struct { Tags []string `json:"tags"` Builder BuilderImage `json:"builder"` ServiceAccount string `json:"serviceAccount"` Source SourceConfig `json:"source"` CacheName string `json:"cacheName"` Env []corev1.EnvVar `json:"env"` Resources corev1.ResourceRequirements `json:"resources"` }
BuildSpec is the spec for a Build resource.
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 BuildStatus ¶
type BuildStatus struct { apis.Status `json:",inline"` BuildMetadata BuildpackMetadataList `json:"buildMetadata"` LatestImage string `json:"latestImage"` PodName string `json:"podName"` StepStates []corev1.ContainerState `json:"stepStates,omitempty"` StepsCompleted []string `json:"stepsCompleted,omitempty"` }
BuildStatus is the status for a Build resource
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.
type Builder ¶
type Builder struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BuilderSpec `json:"spec,omitempty"` Status BuilderStatus `json:"status,omitempty"` }
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.
type BuilderImage ¶
type BuilderImage struct { Image string `json:"image"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"` }
func (*BuilderImage) DeepCopy ¶
func (in *BuilderImage) DeepCopy() *BuilderImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuilderImage.
func (*BuilderImage) DeepCopyInto ¶
func (in *BuilderImage) DeepCopyInto(out *BuilderImage)
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,omitempty"` Items []Builder `json:"items"` }
BuilderList contains a list of Builder
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 BuilderSpec ¶
type BuilderSpec struct { Image string `json:"image"` UpdatePolicy BuilderUpdatePolicy `json:"updatePolicy"` }
BuilderSpec is the spec for a Builder resource.
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.
type BuilderStatus ¶
type BuilderStatus struct { apis.Status `json:",inline"` BuilderMetadata BuildpackMetadataList `json:"builderMetadata"` LatestImage string `json:"latestImage"` }
BuilderStatus is the status for a Builder resource
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.
type BuilderUpdatePolicy ¶
type BuilderUpdatePolicy string
const ( Polling BuilderUpdatePolicy = "polling" External BuilderUpdatePolicy = "external" )
type BuildpackMetadata ¶
func (*BuildpackMetadata) DeepCopy ¶
func (in *BuildpackMetadata) DeepCopy() *BuildpackMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackMetadata.
func (*BuildpackMetadata) DeepCopyInto ¶
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 ¶
type BuildpackMetadataList []BuildpackMetadata
func (BuildpackMetadataList) DeepCopy ¶
func (in BuildpackMetadataList) DeepCopy() BuildpackMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackMetadataList.
func (BuildpackMetadataList) DeepCopyInto ¶
func (in BuildpackMetadataList) DeepCopyInto(out *BuildpackMetadataList)
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 BuilderSpec `json:"spec,omitempty"` Status BuilderStatus `json:"status,omitempty"` }
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.
type ClusterBuilderList ¶
type ClusterBuilderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterBuilder `json:"items"` }
ClusterBuilderList contains a list of ClusterBuilder
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 Git ¶
func (*Git) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git.
func (*Git) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Git) Validate ¶
func (g *Git) Validate() validation.FieldErrors
type GitSourceKind ¶
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,omitempty"` Status ImageStatus `json:"status,omitempty"` }
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.
type ImageBuild ¶
type ImageBuild struct { Env []corev1.EnvVar `json:"env,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` }
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.
type ImageBuilder ¶
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 ImageList ¶
type ImageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Image `json:"items"` }
ImageList contains a list of Image
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 ImageBuilder `json:"builder"` ServiceAccount string `json:"serviceAccount"` Source SourceConfig `json:"source"` CacheSize *resource.Quantity `json:"cacheSize,omitempty"` FailedBuildHistoryLimit *int64 `json:"failedBuildHistoryLimit"` SuccessBuildHistoryLimit *int64 `json:"successBuildHistoryLimit"` ImageTaggingStrategy ImageTaggingStrategy `json:"imageTaggingStrategy"` Build ImageBuild `json:"build"` }
ImageSpec is the spec for a Image resource.
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 { apis.Status `json:",inline"` LatestBuildRef string `json:"latestBuildRef"` LatestImage string `json:"latestImage"` BuildCounter int64 `json:"buildCounter"` BuildCacheName string `json:"buildCacheName"` }
ImageStatus is the status for a Image resource
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 ¶
type ImageTaggingStrategy string
const ( None ImageTaggingStrategy = "None" BuildNumber ImageTaggingStrategy = "BuildNumber" )
type Registry ¶
type Registry struct { Image string `json:"image"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"` }
func (*Registry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
func (*Registry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Registry) Validate ¶
func (r *Registry) Validate() validation.FieldErrors
type ResolvedBlobSource ¶
type ResolvedBlobSource struct { URL string `json:"url"` SubPath string `json:"subPath,omitempty"` }
func (*ResolvedBlobSource) DeepCopy ¶
func (in *ResolvedBlobSource) DeepCopy() *ResolvedBlobSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedBlobSource.
func (*ResolvedBlobSource) DeepCopyInto ¶
func (in *ResolvedBlobSource) DeepCopyInto(out *ResolvedBlobSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResolvedGitSource ¶
type ResolvedGitSource struct { URL string `json:"url"` Revision string `json:"commit"` SubPath string `json:"subPath,omitempty"` Type GitSourceKind `json:"type"` }
func (*ResolvedGitSource) DeepCopy ¶
func (in *ResolvedGitSource) DeepCopy() *ResolvedGitSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedGitSource.
func (*ResolvedGitSource) DeepCopyInto ¶
func (in *ResolvedGitSource) DeepCopyInto(out *ResolvedGitSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResolvedRegistrySource ¶
type ResolvedRegistrySource struct { Image string `json:"image"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"` SubPath string `json:"subPath,omitempty"` }
func (*ResolvedRegistrySource) DeepCopy ¶
func (in *ResolvedRegistrySource) DeepCopy() *ResolvedRegistrySource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedRegistrySource.
func (*ResolvedRegistrySource) DeepCopyInto ¶
func (in *ResolvedRegistrySource) DeepCopyInto(out *ResolvedRegistrySource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResolvedSourceConfig ¶
type ResolvedSourceConfig struct { Git *ResolvedGitSource `json:"git,omitempty"` Blob *ResolvedBlobSource `json:"blob,omitempty"` Registry *ResolvedRegistrySource `json:"registry,omitempty"` }
func (*ResolvedSourceConfig) DeepCopy ¶
func (in *ResolvedSourceConfig) DeepCopy() *ResolvedSourceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedSourceConfig.
func (*ResolvedSourceConfig) DeepCopyInto ¶
func (in *ResolvedSourceConfig) DeepCopyInto(out *ResolvedSourceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceConfig ¶
type SourceConfig struct { Git *Git `json:"git,omitempty"` Blob *Blob `json:"blob,omitempty"` Registry *Registry `json:"registry,omitempty"` SubPath string `json:"subPath,omitempty"` }
func (*SourceConfig) DeepCopy ¶
func (in *SourceConfig) DeepCopy() *SourceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceConfig.
func (*SourceConfig) DeepCopyInto ¶
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) Validate ¶
func (s *SourceConfig) Validate() validation.FieldErrors
type SourceResolver ¶
type SourceResolver struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SourceResolverSpec `json:"spec,omitempty"` Status SourceResolverStatus `json:"status,omitempty"` }
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.
type SourceResolverList ¶
type SourceResolverList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SourceResolver `json:"items"` }
SourceResolverList contains a list of SourceResolver
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"` Source SourceConfig `json:"source"` }
SourceResolverSpec is the spec for a SourceResolver resource.
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 { apis.Status `json:",inline"` Source ResolvedSourceConfig `json:"source"` }
SourceResolverStatus is the status for a SourceResolver resource
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.