Documentation ¶
Overview ¶
Package v1alpha1 contains Chart +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/jenkins-x-plugins/jx-charter/pkg/apis/chart +k8s:defaulter-gen=TypeMeta +groupName=chart.jenkins-x.io
Index ¶
Constants ¶
const ( // APIVersion the api version APIVersion = "chart.jenkins-x.io/v1alpha1" // KindChart the kind KindChart = "Chart" )
Variables ¶
var ( // SchemeBuilder collects functions that add things to a scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: chart.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Chart ¶
type Chart struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ChartSpec `json:"spec,omitempty"` Status *ChartStatus `json:"status,omitempty"` }
Chart contains the definition of a preview environment
func (*Chart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chart.
func (*Chart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Chart) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChartList ¶
type ChartList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []Chart `json:"items"` }
ChartList represents a list of pipeline options
func (*ChartList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartList.
func (*ChartList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChartList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChartSpec ¶
type ChartSpec struct { chart.Metadata // RepositoryName the chart repository name used in the fully qualified chart name RepositoryName string `json:"repositoryName,omitempty"` // RepositoryURL the chart repository URL RepositoryURL string `json:"repositoryUrl,omitempty"` }
ChartSpec contains the chart metadata
func (*ChartSpec) DeepCopyInto ¶
DeepCopyInto creates
type ChartStatus ¶
type ChartStatus struct { // FirstDeployed is when the release was first deployed. FirstDeployed metav1.Time `json:"firstDeployed,omitempty"` // LastDeployed is when the release was last deployed. LastDeployed metav1.Time `json:"lastDeployed,omitempty"` // Deleted tracks when this object was deleted. Deleted *metav1.Time `json:"deleted,omitempty"` // Description is human-friendly "log entry" about this release. Description string `json:"description,omitempty"` // Status is the current state of the release Status string `json:"status,omitempty"` // Contains the rendered templates/NOTES.txt if available Notes string `json:"notes,omitempty"` }
ChartStatus contains the chart status information
func ToChartStatus ¶
func ToChartStatus(info *rspb.Info) *ChartStatus
ToChartStatus converts the release info to a chart status
func (*ChartStatus) DeepCopy ¶
func (in *ChartStatus) DeepCopy() *ChartStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartStatus.
func (*ChartStatus) DeepCopyInto ¶
func (in *ChartStatus) DeepCopyInto(out *ChartStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceReference ¶ added in v0.0.16
type ResourceReference struct { // API version of the referent. APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,5,opt,name=apiVersion"` // Kind of the referent. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // Name of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name" protobuf:"bytes,3,opt,name=name"` // UID of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#uids UID types.UID `json:"uid,omitempty" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"` }
func (*ResourceReference) DeepCopy ¶ added in v0.0.16
func (in *ResourceReference) DeepCopy() *ResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference.
func (*ResourceReference) DeepCopyInto ¶ added in v0.0.16
func (in *ResourceReference) DeepCopyInto(out *ResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.