Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the images v1alpha1 API group +kubebuilder:object:generate=true +groupName=images.verrazzano.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "images.verrazzano.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Condition ¶ added in v0.17.0
type Condition struct { // Type of condition. Type ConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // Last time the condition transitioned from one status to another. // +optional LastTransitionTime string `json:"lastTransitionTime,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` }
Condition describes current state of an image build request.
func (*Condition) DeepCopy ¶ added in v0.17.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶ added in v0.17.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionType ¶ added in v0.17.0
type ConditionType string
ConditionType identifies the condition of the ImageBuildRequest which can be checked with kubectl wait
const ( // BuildStarted means an image build is in progress. BuildStarted ConditionType = "BuildStarted" // BuildCompleted means the image build job has completed its execution successfully BuildCompleted ConditionType = "BuildCompleted" // BuildFailed means the image build job has failed during execution. BuildFailed ConditionType = "BuildFailed" )
type Image ¶ added in v0.17.0
type Image struct { // Name of the image that will be created Name string `json:"name"` // Tag for the final build image Tag string `json:"tag"` // Registry to which the image will belong Registry string `json:"registry"` // Repository to which the image will belong Repository string `json:"repository"` }
Image provides more configuration information to the ImageBuildRequestSpec
func (*Image) DeepCopy ¶ added in v0.17.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶ added in v0.17.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageBuildRequest ¶
type ImageBuildRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ImageBuildRequestSpec `json:"spec,omitempty"` Status ImageBuildRequestStatus `json:"status,omitempty"` }
ImageBuildRequest is the Schema for the imagebuildrequests API
func (*ImageBuildRequest) DeepCopy ¶
func (in *ImageBuildRequest) DeepCopy() *ImageBuildRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBuildRequest.
func (*ImageBuildRequest) DeepCopyInto ¶
func (in *ImageBuildRequest) DeepCopyInto(out *ImageBuildRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageBuildRequest) DeepCopyObject ¶
func (in *ImageBuildRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageBuildRequestList ¶
type ImageBuildRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ImageBuildRequest `json:"items"` }
ImageBuildRequestList contains a list of ImageBuildRequest
func (*ImageBuildRequestList) DeepCopy ¶
func (in *ImageBuildRequestList) DeepCopy() *ImageBuildRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBuildRequestList.
func (*ImageBuildRequestList) DeepCopyInto ¶
func (in *ImageBuildRequestList) DeepCopyInto(out *ImageBuildRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageBuildRequestList) DeepCopyObject ¶
func (in *ImageBuildRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageBuildRequestSpec ¶
type ImageBuildRequestSpec struct { // Image to be used as a base image when creating a new image BaseImage string `json:"baseImage"` // The JDK installer that will be used by the WebLogic Image Tool JDKInstaller string `json:"jdkInstaller"` // The WebLogic Installer that will be used by the WebLogic Image Tool WebLogicInstaller string `json:"webLogicInstaller"` // An Image struct that provides more information about the created image Image Image `json:"image"` }
ImageBuildRequestSpec defines the desired state of ImageBuildRequest
func (*ImageBuildRequestSpec) DeepCopy ¶
func (in *ImageBuildRequestSpec) DeepCopy() *ImageBuildRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBuildRequestSpec.
func (*ImageBuildRequestSpec) DeepCopyInto ¶
func (in *ImageBuildRequestSpec) DeepCopyInto(out *ImageBuildRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageBuildRequestStatus ¶
type ImageBuildRequestStatus struct { // State of the ImageBuildRequest State StateType `json:"state,omitempty"` // The latest available observations of an object's current state. Conditions []Condition `json:"conditions,omitempty"` }
ImageBuildRequestStatus defines the observed state of ImageBuildRequest
func (*ImageBuildRequestStatus) DeepCopy ¶
func (in *ImageBuildRequestStatus) DeepCopy() *ImageBuildRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBuildRequestStatus.
func (*ImageBuildRequestStatus) DeepCopyInto ¶
func (in *ImageBuildRequestStatus) DeepCopyInto(out *ImageBuildRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StateType ¶ added in v0.17.0
type StateType string
StateType identifies the state of an image built request
const ( // Ready is the state when a ImageBuildRequest resource can perform a build Ready StateType = "Ready" // Building is the state when an image is being built Building StateType = "Building" // Published is the state after a successful build of an image Published StateType = "Published" // Failed is the state when an ImageBuildRequest has failed Failed StateType = "Failed" )