v1beta1

package
v0.0.0-...-9fe1026 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the projctl v1beta1 API group +kubebuilder:object:generate=true +groupName=projctl.konflux.dev

Index

Constants

This section is empty.

Variables

View Source
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

func (in *Project) DeepCopy() *Project

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Project) DeepCopyObject

func (in *Project) DeepCopyObject() runtime.Object

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamList.

func (*ProjectDevelopmentStreamList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamSpec.

func (*ProjectDevelopmentStreamSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamSpecTemplateRef.

func (*ProjectDevelopmentStreamSpecTemplateRef) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamSpecTemplateValue.

func (*ProjectDevelopmentStreamSpecTemplateValue) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamStatus.

func (*ProjectDevelopmentStreamStatus) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamTemplate.

func (*ProjectDevelopmentStreamTemplate) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamTemplateList.

func (*ProjectDevelopmentStreamTemplateList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectDevelopmentStreamTemplateList) DeepCopyObject

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamTemplateSpec.

func (*ProjectDevelopmentStreamTemplateSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectDevelopmentStreamTemplateVariable.

func (*ProjectDevelopmentStreamTemplateVariable) DeepCopyInto

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL