Documentation ¶
Overview ¶
+kubebuilder:validation:Optional +groupName=helm.openshift.io Package v1 is the v1 version of the API.
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type ConnectionConfig
- type ConnectionConfigNamespaceScoped
- type HelmChartRepository
- type HelmChartRepositoryList
- type HelmChartRepositorySpec
- type HelmChartRepositoryStatus
- type ProjectHelmChartRepository
- type ProjectHelmChartRepositoryList
- func (in *ProjectHelmChartRepositoryList) DeepCopy() *ProjectHelmChartRepositoryList
- func (in *ProjectHelmChartRepositoryList) DeepCopyInto(out *ProjectHelmChartRepositoryList)
- func (in *ProjectHelmChartRepositoryList) DeepCopyObject() runtime.Object
- func (ProjectHelmChartRepositoryList) SwaggerDoc() map[string]string
- type ProjectHelmChartRepositorySpec
Constants ¶
This section is empty.
Variables ¶
var ( GroupName = "helm.openshift.io" GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} // Install is a function which adds this version to a scheme Install = schemeBuilder.AddToScheme // SchemeGroupVersion generated code relies on this name // Deprecated SchemeGroupVersion = GroupVersion // AddToScheme exists solely to keep the old generators creating valid code // DEPRECATED AddToScheme = schemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED
Types ¶
type ConnectionConfig ¶
type ConnectionConfig struct { // Chart repository URL // +kubebuilder:validation:Pattern=`^https?:\/\/` // +kubebuilder:validation:MaxLength=2048 URL string `json:"url"` // ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. // It is used as a trust anchor to validate the TLS certificate presented by the remote server. // The key "ca-bundle.crt" is used to locate the data. // If empty, the default system roots are used. // The namespace for this config map is openshift-config. // +optional CA configv1.ConfigMapNameReference `json:"ca,omitempty"` // tlsClientConfig is an optional reference to a secret by name that contains the // PEM-encoded TLS client certificate and private key to present when connecting to the server. // The key "tls.crt" is used to locate the client certificate. // The key "tls.key" is used to locate the private key. // The namespace for this secret is openshift-config. // +optional TLSClientConfig configv1.SecretNameReference `json:"tlsClientConfig,omitempty"` }
func (*ConnectionConfig) DeepCopy ¶
func (in *ConnectionConfig) DeepCopy() *ConnectionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionConfig.
func (*ConnectionConfig) DeepCopyInto ¶
func (in *ConnectionConfig) DeepCopyInto(out *ConnectionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ConnectionConfig) SwaggerDoc ¶
func (ConnectionConfig) SwaggerDoc() map[string]string
type ConnectionConfigNamespaceScoped ¶
type ConnectionConfigNamespaceScoped struct { // Chart repository URL // +kubebuilder:validation:Pattern=`^https?:\/\/` // +kubebuilder:validation:MaxLength=2048 URL string `json:"url"` // ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. // It is used as a trust anchor to validate the TLS certificate presented by the remote server. // The key "ca-bundle.crt" is used to locate the data. // If empty, the default system roots are used. // The namespace for this configmap must be same as the namespace where the project helm chart repository is getting instantiated. // +optional CA configv1.ConfigMapNameReference `json:"ca,omitempty"` // tlsClientConfig is an optional reference to a secret by name that contains the // PEM-encoded TLS client certificate and private key to present when connecting to the server. // The key "tls.crt" is used to locate the client certificate. // The key "tls.key" is used to locate the private key. // The namespace for this secret must be same as the namespace where the project helm chart repository is getting instantiated. // +optional TLSClientConfig configv1.SecretNameReference `json:"tlsClientConfig,omitempty"` // basicAuthConfig is an optional reference to a secret by name that contains // the basic authentication credentials to present when connecting to the server. // The key "username" is used locate the username. // The key "password" is used to locate the password. // The namespace for this secret must be same as the namespace where the project helm chart repository is getting instantiated. // +optional BasicAuthConfig configv1.SecretNameReference `json:"basicAuthConfig,omitempty"` }
func (*ConnectionConfigNamespaceScoped) DeepCopy ¶
func (in *ConnectionConfigNamespaceScoped) DeepCopy() *ConnectionConfigNamespaceScoped
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionConfigNamespaceScoped.
func (*ConnectionConfigNamespaceScoped) DeepCopyInto ¶
func (in *ConnectionConfigNamespaceScoped) DeepCopyInto(out *ConnectionConfigNamespaceScoped)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ConnectionConfigNamespaceScoped) SwaggerDoc ¶
func (ConnectionConfigNamespaceScoped) SwaggerDoc() map[string]string
type HelmChartRepository ¶
type HelmChartRepository struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` // spec holds user settable values for configuration // +kubebuilder:validation:Required // +required Spec HelmChartRepositorySpec `json:"spec"` // Observed status of the repository within the cluster.. // +optional Status HelmChartRepositoryStatus `json:"status"` }
HelmChartRepository holds cluster-wide configuration for proxied Helm chart repository
Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=2
func (*HelmChartRepository) DeepCopy ¶
func (in *HelmChartRepository) DeepCopy() *HelmChartRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartRepository.
func (*HelmChartRepository) DeepCopyInto ¶
func (in *HelmChartRepository) DeepCopyInto(out *HelmChartRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChartRepository) DeepCopyObject ¶
func (in *HelmChartRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (HelmChartRepository) SwaggerDoc ¶
func (HelmChartRepository) SwaggerDoc() map[string]string
type HelmChartRepositoryList ¶
type HelmChartRepositoryList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata"` Items []HelmChartRepository `json:"items"` }
Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer). +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +openshift:compatibility-gen:level=2
func (*HelmChartRepositoryList) DeepCopy ¶
func (in *HelmChartRepositoryList) DeepCopy() *HelmChartRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartRepositoryList.
func (*HelmChartRepositoryList) DeepCopyInto ¶
func (in *HelmChartRepositoryList) DeepCopyInto(out *HelmChartRepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChartRepositoryList) DeepCopyObject ¶
func (in *HelmChartRepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (HelmChartRepositoryList) SwaggerDoc ¶
func (HelmChartRepositoryList) SwaggerDoc() map[string]string
type HelmChartRepositorySpec ¶
type HelmChartRepositorySpec struct { // If set to true, disable the repo usage in the cluster/namespace // +optional Disabled bool `json:"disabled,omitempty"` // Optional associated human readable repository name, it can be used by UI for displaying purposes // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=100 // +optional DisplayName string `json:"name,omitempty"` // Optional human readable repository description, it can be used by UI for displaying purposes // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=2048 // +optional Description string `json:"description,omitempty"` // Required configuration for connecting to the chart repo ConnectionConfig ConnectionConfig `json:"connectionConfig"` }
Helm chart repository exposed within the cluster
func (*HelmChartRepositorySpec) DeepCopy ¶
func (in *HelmChartRepositorySpec) DeepCopy() *HelmChartRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartRepositorySpec.
func (*HelmChartRepositorySpec) DeepCopyInto ¶
func (in *HelmChartRepositorySpec) DeepCopyInto(out *HelmChartRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (HelmChartRepositorySpec) SwaggerDoc ¶
func (HelmChartRepositorySpec) SwaggerDoc() map[string]string
type HelmChartRepositoryStatus ¶
type HelmChartRepositoryStatus struct { // conditions is a list of conditions and their statuses // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` }
func (*HelmChartRepositoryStatus) DeepCopy ¶
func (in *HelmChartRepositoryStatus) DeepCopy() *HelmChartRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartRepositoryStatus.
func (*HelmChartRepositoryStatus) DeepCopyInto ¶
func (in *HelmChartRepositoryStatus) DeepCopyInto(out *HelmChartRepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (HelmChartRepositoryStatus) SwaggerDoc ¶
func (HelmChartRepositoryStatus) SwaggerDoc() map[string]string
type ProjectHelmChartRepository ¶
type ProjectHelmChartRepository struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` // spec holds user settable values for configuration // +kubebuilder:validation:Required // +required Spec ProjectHelmChartRepositorySpec `json:"spec"` // Observed status of the repository within the namespace.. // +optional Status HelmChartRepositoryStatus `json:"status"` }
ProjectHelmChartRepository holds namespace-wide configuration for proxied Helm chart repository
Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=2
func (*ProjectHelmChartRepository) DeepCopy ¶
func (in *ProjectHelmChartRepository) DeepCopy() *ProjectHelmChartRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectHelmChartRepository.
func (*ProjectHelmChartRepository) DeepCopyInto ¶
func (in *ProjectHelmChartRepository) DeepCopyInto(out *ProjectHelmChartRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectHelmChartRepository) DeepCopyObject ¶
func (in *ProjectHelmChartRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (ProjectHelmChartRepository) SwaggerDoc ¶
func (ProjectHelmChartRepository) SwaggerDoc() map[string]string
type ProjectHelmChartRepositoryList ¶
type ProjectHelmChartRepositoryList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata"` Items []ProjectHelmChartRepository `json:"items"` }
Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer). +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +openshift:compatibility-gen:level=2
func (*ProjectHelmChartRepositoryList) DeepCopy ¶
func (in *ProjectHelmChartRepositoryList) DeepCopy() *ProjectHelmChartRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectHelmChartRepositoryList.
func (*ProjectHelmChartRepositoryList) DeepCopyInto ¶
func (in *ProjectHelmChartRepositoryList) DeepCopyInto(out *ProjectHelmChartRepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectHelmChartRepositoryList) DeepCopyObject ¶
func (in *ProjectHelmChartRepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (ProjectHelmChartRepositoryList) SwaggerDoc ¶
func (ProjectHelmChartRepositoryList) SwaggerDoc() map[string]string
type ProjectHelmChartRepositorySpec ¶
type ProjectHelmChartRepositorySpec struct { // If set to true, disable the repo usage in the namespace // +optional Disabled bool `json:"disabled,omitempty"` // Optional associated human readable repository name, it can be used by UI for displaying purposes // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=100 // +optional DisplayName string `json:"name,omitempty"` // Optional human readable repository description, it can be used by UI for displaying purposes // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=2048 // +optional Description string `json:"description,omitempty"` // Required configuration for connecting to the chart repo ProjectConnectionConfig ConnectionConfigNamespaceScoped `json:"connectionConfig"` }
Project Helm chart repository exposed within a namespace
func (*ProjectHelmChartRepositorySpec) DeepCopy ¶
func (in *ProjectHelmChartRepositorySpec) DeepCopy() *ProjectHelmChartRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectHelmChartRepositorySpec.
func (*ProjectHelmChartRepositorySpec) DeepCopyInto ¶
func (in *ProjectHelmChartRepositorySpec) DeepCopyInto(out *ProjectHelmChartRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ProjectHelmChartRepositorySpec) SwaggerDoc ¶
func (ProjectHelmChartRepositorySpec) SwaggerDoc() map[string]string