Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the projctl v1beta1 API group +kubebuilder:object:generate=true +groupName=projctl.konflux.dev
Index ¶
- Variables
- type Project
- type ProjectDevelopmentStream
- type ProjectDevelopmentStreamList
- type ProjectDevelopmentStreamSpec
- type ProjectDevelopmentStreamSpecTemplateRef
- type ProjectDevelopmentStreamSpecTemplateValue
- type ProjectDevelopmentStreamStatus
- type ProjectDevelopmentStreamTemplate
- type ProjectDevelopmentStreamTemplateList
- type ProjectDevelopmentStreamTemplateSpec
- type ProjectDevelopmentStreamTemplateVariable
- type ProjectList
- type ProjectSpec
- type UnstructuredObj
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "projctl.konflux.dev", Version: "v1beta1"} // 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 Project ¶
type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProjectSpec `json:"spec,omitempty"` }
Project is the Schema for the projects API
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectDevelopmentStream ¶
type ProjectDevelopmentStream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProjectDevelopmentStreamSpec `json:"spec,omitempty"` Status ProjectDevelopmentStreamStatus `json:"status,omitempty"` }
ProjectDevelopmentStream is the Schema for the projectdevelopmentstreams API
func (*ProjectDevelopmentStream) DeepCopy ¶
func (in *ProjectDevelopmentStream) DeepCopy() *ProjectDevelopmentStream
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStream.
func (*ProjectDevelopmentStream) DeepCopyInto ¶
func (in *ProjectDevelopmentStream) DeepCopyInto(out *ProjectDevelopmentStream)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectDevelopmentStream) DeepCopyObject ¶
func (in *ProjectDevelopmentStream) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectDevelopmentStreamList ¶
type ProjectDevelopmentStreamList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProjectDevelopmentStream `json:"items"` }
ProjectDevelopmentStreamList contains a list of ProjectDevelopmentStream
func (*ProjectDevelopmentStreamList) DeepCopy ¶
func (in *ProjectDevelopmentStreamList) DeepCopy() *ProjectDevelopmentStreamList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamList.
func (*ProjectDevelopmentStreamList) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamList) DeepCopyInto(out *ProjectDevelopmentStreamList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectDevelopmentStreamList) DeepCopyObject ¶
func (in *ProjectDevelopmentStreamList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectDevelopmentStreamSpec ¶
type ProjectDevelopmentStreamSpec struct { // The name of the project this stream belongs to Project string `json:"project,omitempty"` // An optional template to use for creating resources owned by this // ProjectDevelopmentStream Template *ProjectDevelopmentStreamSpecTemplateRef `json:"template,omitempty"` }
ProjectDevelopmentStreamSpec defines the desired state of ProjectDevelopmentStream
func (*ProjectDevelopmentStreamSpec) DeepCopy ¶
func (in *ProjectDevelopmentStreamSpec) DeepCopy() *ProjectDevelopmentStreamSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamSpec.
func (*ProjectDevelopmentStreamSpec) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamSpec) DeepCopyInto(out *ProjectDevelopmentStreamSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDevelopmentStreamSpecTemplateRef ¶
type ProjectDevelopmentStreamSpecTemplateRef struct { // The name of the ProjectDevelopmentStreamTemplate to use Name string `json:"name"` // Values for template variables Values []ProjectDevelopmentStreamSpecTemplateValue `json:"values,omitempty"` }
ProjectDevelopmentStreamSpecTemplateRef defines which optional template is associated with this ProjectDevelopmentStream and how to apply it
func (*ProjectDevelopmentStreamSpecTemplateRef) DeepCopy ¶
func (in *ProjectDevelopmentStreamSpecTemplateRef) DeepCopy() *ProjectDevelopmentStreamSpecTemplateRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamSpecTemplateRef.
func (*ProjectDevelopmentStreamSpecTemplateRef) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamSpecTemplateRef) DeepCopyInto(out *ProjectDevelopmentStreamSpecTemplateRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDevelopmentStreamSpecTemplateValue ¶
type ProjectDevelopmentStreamSpecTemplateValue struct { // The name of the template variable to provide a value for Name string `json:"name"` // The value to be placed in the template variable Value string `json:"value"` }
Provide a value for a variable specified in an associated ProjectDevelopmentStreamTemplate
func (*ProjectDevelopmentStreamSpecTemplateValue) DeepCopy ¶
func (in *ProjectDevelopmentStreamSpecTemplateValue) DeepCopy() *ProjectDevelopmentStreamSpecTemplateValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamSpecTemplateValue.
func (*ProjectDevelopmentStreamSpecTemplateValue) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamSpecTemplateValue) DeepCopyInto(out *ProjectDevelopmentStreamSpecTemplateValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDevelopmentStreamStatus ¶
type ProjectDevelopmentStreamStatus struct { // Represents the observations of a ProjectDevelopmentStream's current state. // Known .status.conditions.type are: "TemplateApplied", and "TemplateGenerated" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` }
ProjectDevelopmentStreamStatus defines the observed state of ProjectDevelopmentStream
func (*ProjectDevelopmentStreamStatus) DeepCopy ¶
func (in *ProjectDevelopmentStreamStatus) DeepCopy() *ProjectDevelopmentStreamStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamStatus.
func (*ProjectDevelopmentStreamStatus) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamStatus) DeepCopyInto(out *ProjectDevelopmentStreamStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDevelopmentStreamTemplate ¶
type ProjectDevelopmentStreamTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProjectDevelopmentStreamTemplateSpec `json:"spec,omitempty"` }
ProjectDevelopmentStreamTemplate is the Schema for the projectdevelopmentstreamtemplates API
func (*ProjectDevelopmentStreamTemplate) DeepCopy ¶
func (in *ProjectDevelopmentStreamTemplate) DeepCopy() *ProjectDevelopmentStreamTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamTemplate.
func (*ProjectDevelopmentStreamTemplate) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamTemplate) DeepCopyInto(out *ProjectDevelopmentStreamTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectDevelopmentStreamTemplate) DeepCopyObject ¶
func (in *ProjectDevelopmentStreamTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectDevelopmentStreamTemplateList ¶
type ProjectDevelopmentStreamTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProjectDevelopmentStreamTemplate `json:"items"` }
ProjectDevelopmentStreamTemplateList contains a list of ProjectDevelopmentStreamTemplate
func (*ProjectDevelopmentStreamTemplateList) DeepCopy ¶
func (in *ProjectDevelopmentStreamTemplateList) DeepCopy() *ProjectDevelopmentStreamTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamTemplateList.
func (*ProjectDevelopmentStreamTemplateList) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamTemplateList) DeepCopyInto(out *ProjectDevelopmentStreamTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectDevelopmentStreamTemplateList) DeepCopyObject ¶
func (in *ProjectDevelopmentStreamTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectDevelopmentStreamTemplateSpec ¶
type ProjectDevelopmentStreamTemplateSpec struct { // The name of the project this stream template belongs to Project string `json:"project,omitempty"` // List of variables to allow customizing the template results. The order // variables in the list is significant as earlier variables can be // referenced by the default values for later variables Variables []ProjectDevelopmentStreamTemplateVariable `json:"variables,omitempty"` // List of resources to be created for version made from this template // certain values for resource properties may include references to // variables using the Go-text/template syntax Resources []UnstructuredObj `json:"resources,omitempty"` }
ProjectDevelopmentStreamTemplateSpec defines the resources to be generated using a ProjectDevelopmentStreamTemplate
func (*ProjectDevelopmentStreamTemplateSpec) DeepCopy ¶
func (in *ProjectDevelopmentStreamTemplateSpec) DeepCopy() *ProjectDevelopmentStreamTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamTemplateSpec.
func (*ProjectDevelopmentStreamTemplateSpec) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamTemplateSpec) DeepCopyInto(out *ProjectDevelopmentStreamTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectDevelopmentStreamTemplateVariable ¶
type ProjectDevelopmentStreamTemplateVariable struct { // Variable name Name string `json:"name"` // Optional default value for use when a value for the variable is not given // can reference values of other previously defined variables using the Go // text/template syntax DefaultValue *string `json:"defaultValue,omitempty"` // Optional description for the variable for display in the UI Description string `json:"description,omitempty"` }
Settings for a variable to be used to customize the template results
func (*ProjectDevelopmentStreamTemplateVariable) DeepCopy ¶
func (in *ProjectDevelopmentStreamTemplateVariable) DeepCopy() *ProjectDevelopmentStreamTemplateVariable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamTemplateVariable.
func (*ProjectDevelopmentStreamTemplateVariable) DeepCopyInto ¶
func (in *ProjectDevelopmentStreamTemplateVariable) DeepCopyInto(out *ProjectDevelopmentStreamTemplateVariable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Project `json:"items"` }
ProjectList contains a list of Project
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectSpec ¶
type ProjectSpec struct { // A nice human-readable name to be displayed in the UI // +optional DisplayName string `json:"displayName,omitempty"` // A text describing the project, its purpose, etc. // +optional Description string `json:"description,omitempty"` }
ProjectSpec defines the desired state of Project
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnstructuredObj ¶
type UnstructuredObj struct {
unstructured.Unstructured `json:",inline"`
}
func (*UnstructuredObj) DeepCopy ¶
func (in *UnstructuredObj) DeepCopy() *UnstructuredObj
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnstructuredObj.
func (*UnstructuredObj) DeepCopyInto ¶
func (in *UnstructuredObj) DeepCopyInto(out *UnstructuredObj)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.