Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the plaster v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=plaster.pipelines.openshift.io
Package v1alpha1 contains API Schema definitions for the plaster v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=plaster.pipelines.openshift.io
Index ¶
Constants ¶
const ( DockerfileBuildType = "Dockerfile" LanguageBuildType = "Language" )
const (
// GitPlasterSourceType represents source from a Git repository.
GitPlasterSourceType = "Git"
)
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "plaster.pipelines.openshift.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type PlasterBuild ¶
type PlasterBuild struct { // Type is the type of build to use Type PlasterBuildType `json:"type"` // Dockerfile builds use a provided Dockerfile to build an application // +optional Dockerfile *PlasterDockerfileBuild `json:"dockerfile,omitempty"` // Language builds use a pre-baked set of languages to build an application // +optional Language *PlasterLanguageBuild `json:"language,omitempty"` }
func (*PlasterBuild) DeepCopy ¶
func (in *PlasterBuild) DeepCopy() *PlasterBuild
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterBuild.
func (*PlasterBuild) DeepCopyInto ¶
func (in *PlasterBuild) DeepCopyInto(out *PlasterBuild)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlasterBuildType ¶
type PlasterBuildType string
type PlasterDockerfileBuild ¶
type PlasterDockerfileBuild struct { // Dockerfile is the docker file to use. If empty, Plaster assumes you want to build with a `Dockerfile` in the context root. Dockerfile string `json:"dockerfile,omitempty"` }
func (*PlasterDockerfileBuild) DeepCopy ¶
func (in *PlasterDockerfileBuild) DeepCopy() *PlasterDockerfileBuild
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterDockerfileBuild.
func (*PlasterDockerfileBuild) DeepCopyInto ¶
func (in *PlasterDockerfileBuild) DeepCopyInto(out *PlasterDockerfileBuild)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlasterLanguageBuild ¶
type PlasterLanguageBuild struct { // Name is the language framework to use to build your application Name string `json:"name"` // Optmimized indicates if the deployed application should be optimized for running in production Optimized bool `json:"optimized"` }
func (*PlasterLanguageBuild) DeepCopy ¶
func (in *PlasterLanguageBuild) DeepCopy() *PlasterLanguageBuild
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterLanguageBuild.
func (*PlasterLanguageBuild) DeepCopyInto ¶
func (in *PlasterLanguageBuild) DeepCopyInto(out *PlasterLanguageBuild)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlasterProject ¶
type PlasterProject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PlasterProjectSpec `json:"spec,omitempty"` Status PlasterProjectStatus `json:"status,omitempty"` }
PlasterProject is the Schema for the plasterprojects API +kubebuilder:subresource:status +kubebuilder:resource:path=plasterprojects,scope=Namespaced
func (*PlasterProject) DeepCopy ¶
func (in *PlasterProject) DeepCopy() *PlasterProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterProject.
func (*PlasterProject) DeepCopyInto ¶
func (in *PlasterProject) DeepCopyInto(out *PlasterProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlasterProject) DeepCopyObject ¶
func (in *PlasterProject) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlasterProjectCondition ¶
type PlasterProjectCondition struct { Type string `json:"type"` Status operatorv1.ConditionStatus `json:"status"` LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"reason,omitempty"` }
func (*PlasterProjectCondition) DeepCopy ¶
func (in *PlasterProjectCondition) DeepCopy() *PlasterProjectCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterProjectCondition.
func (*PlasterProjectCondition) DeepCopyInto ¶
func (in *PlasterProjectCondition) DeepCopyInto(out *PlasterProjectCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlasterProjectList ¶
type PlasterProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PlasterProject `json:"items"` }
PlasterProjectList contains a list of PlasterProject
func (*PlasterProjectList) DeepCopy ¶
func (in *PlasterProjectList) DeepCopy() *PlasterProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterProjectList.
func (*PlasterProjectList) DeepCopyInto ¶
func (in *PlasterProjectList) DeepCopyInto(out *PlasterProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlasterProjectList) DeepCopyObject ¶
func (in *PlasterProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlasterProjectSpec ¶
type PlasterProjectSpec struct { // Source is the source code used to run your Plaster project build. Source *PlasterSource `json:"source"` // Build contains the specifications on how to build your Plaster project. Build *PlasterBuild `json:"build"` // Tests lists the tests to run against your source code. // +optional Tests []PlasterTest `json:"tests,omitempty"` }
PlasterProjectSpec defines the desired state of PlasterProject
func (*PlasterProjectSpec) DeepCopy ¶
func (in *PlasterProjectSpec) DeepCopy() *PlasterProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterProjectSpec.
func (*PlasterProjectSpec) DeepCopyInto ¶
func (in *PlasterProjectSpec) DeepCopyInto(out *PlasterProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlasterProjectStatus ¶
type PlasterProjectStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` Conditions []PlasterProjectCondition `json:"conditions,omitempty"` }
PlasterProjectStatus defines the observed state of PlasterProject
func (*PlasterProjectStatus) DeepCopy ¶
func (in *PlasterProjectStatus) DeepCopy() *PlasterProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterProjectStatus.
func (*PlasterProjectStatus) DeepCopyInto ¶
func (in *PlasterProjectStatus) DeepCopyInto(out *PlasterProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlasterSource ¶
type PlasterSource struct { // Type is the source type for the Plaster project. Type PlasterSourceType `json:"type"` // Git is a source from a Git repostority. // +optional Git *buildv1.GitBuildSource `json:"git,omitempty"` }
func (*PlasterSource) DeepCopy ¶
func (in *PlasterSource) DeepCopy() *PlasterSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterSource.
func (*PlasterSource) DeepCopyInto ¶
func (in *PlasterSource) DeepCopyInto(out *PlasterSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlasterSourceType ¶
type PlasterSourceType string
type PlasterTest ¶
type PlasterTest struct { // Name is the name of the test Name string `json:"name"` // Command is the command and arguments to run in the test // +optional Command []string `json:"command,omitempty"` }
func (*PlasterTest) DeepCopy ¶
func (in *PlasterTest) DeepCopy() *PlasterTest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlasterTest.
func (*PlasterTest) DeepCopyInto ¶
func (in *PlasterTest) DeepCopyInto(out *PlasterTest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.