Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:openapi-gen=true +gencrdrefdocs:force=true
Index ¶
- Constants
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func MustNewRef(spec ImageRegistrySpec, img string) string
- func NewRef(spec ImageRegistrySpec, img string) (string, error)
- type Action
- type ActionGroup
- type ActionInfo
- type ActionTemplate
- type ActionTemplateGroup
- type BootstrapPresets
- type Dashboard
- type DashboardVar
- type DashboardVarType
- type DeploymentParameters
- type HelmInfo
- type HelmRelease
- type HelmRepository
- type If
- type ImageRegistrySpec
- func (r ImageRegistrySpec) AppsCodeRegistryProxy() string
- func (in *ImageRegistrySpec) DeepCopy() *ImageRegistrySpec
- func (in *ImageRegistrySpec) DeepCopyInto(out *ImageRegistrySpec)
- func (r ImageRegistrySpec) DockerHubProxy() string
- func (r ImageRegistrySpec) DockerLibraryProxy() string
- func (r ImageRegistrySpec) GHCRProxy() string
- func (r ImageRegistrySpec) KubernetesRegistryProxy() string
- func (r ImageRegistrySpec) QuayProxy() string
- type QueryType
- type RegistryInfo
- type RegistryProxies
- type ResourceLocator
- type ResourceQuery
- type SourceLocator
- type UIParameterTemplate
- type UIParameters
Constants ¶
const ( GraphQueryVarSource = "src" GraphQueryVarTargetGroup = "targetGroup" GraphQueryVarTargetKind = "targetKind" )
Variables ¶
This section is empty.
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func MustNewRef ¶ added in v0.17.33
func MustNewRef(spec ImageRegistrySpec, img string) string
Types ¶
type Action ¶ added in v0.14.1
type Action struct { ActionInfo `json:",inline,omitempty"` // +optional Icons []helmshared.ImageSpec `json:"icons,omitempty"` OperationID string `json:"operationId"` Flow string `json:"flow"` Disabled bool `json:"disabled"` Editor *releasesapi.ChartSourceRef `json:"editor,omitempty"` }
func (*Action) DeepCopy ¶ added in v0.14.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.
func (*Action) DeepCopyInto ¶ added in v0.14.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionGroup ¶ added in v0.14.1
type ActionGroup struct { ActionInfo `json:",inline,omitempty"` Items []Action `json:"items"` }
func (*ActionGroup) DeepCopy ¶ added in v0.14.1
func (in *ActionGroup) DeepCopy() *ActionGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroup.
func (*ActionGroup) DeepCopyInto ¶ added in v0.14.1
func (in *ActionGroup) DeepCopyInto(out *ActionGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionInfo ¶ added in v0.14.1
type ActionInfo struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` }
func (*ActionInfo) DeepCopy ¶ added in v0.14.1
func (in *ActionInfo) DeepCopy() *ActionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionInfo.
func (*ActionInfo) DeepCopyInto ¶ added in v0.14.1
func (in *ActionInfo) DeepCopyInto(out *ActionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionTemplate ¶ added in v0.14.1
type ActionTemplate struct { ActionInfo `json:",inline,omitempty"` // +optional Icons []helmshared.ImageSpec `json:"icons,omitempty"` OperationID string `json:"operationId"` Flow string `json:"flow"` DisabledTemplate string `json:"disabledTemplate,omitempty"` Editor *releasesapi.ChartSourceRef `json:"editor,omitempty"` EnforceQuota bool `json:"enforceQuota"` }
func (*ActionTemplate) DeepCopy ¶ added in v0.14.1
func (in *ActionTemplate) DeepCopy() *ActionTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionTemplate.
func (*ActionTemplate) DeepCopyInto ¶ added in v0.14.1
func (in *ActionTemplate) DeepCopyInto(out *ActionTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionTemplateGroup ¶ added in v0.14.1
type ActionTemplateGroup struct { ActionInfo `json:",inline,omitempty"` Items []ActionTemplate `json:"items"` }
func (*ActionTemplateGroup) DeepCopy ¶ added in v0.14.1
func (in *ActionTemplateGroup) DeepCopy() *ActionTemplateGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionTemplateGroup.
func (*ActionTemplateGroup) DeepCopyInto ¶ added in v0.14.1
func (in *ActionTemplateGroup) DeepCopyInto(out *ActionTemplateGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootstrapPresets ¶ added in v0.17.32
type BootstrapPresets struct { Image ImageRegistrySpec `json:"image"` Registry RegistryInfo `json:"registry"` Helm HelmInfo `json:"helm"` }
func (*BootstrapPresets) DeepCopy ¶ added in v0.17.32
func (in *BootstrapPresets) DeepCopy() *BootstrapPresets
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapPresets.
func (*BootstrapPresets) DeepCopyInto ¶ added in v0.17.32
func (in *BootstrapPresets) DeepCopyInto(out *BootstrapPresets)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Dashboard ¶
type Dashboard struct { // +optional Title string `json:"title,omitempty"` // +optional Vars []DashboardVar `json:"vars,omitempty"` // +optional Panels []string `json:"panels,omitempty"` // +optional If *If `json:"if,omitempty"` }
func (*Dashboard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dashboard.
func (*Dashboard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardVar ¶
type DashboardVar struct { Name string `json:"name"` Value string `json:"value"` // +optional // +kubebuilder:default:=Source Type DashboardVarType `json:"type,omitempty"` }
func (*DashboardVar) DeepCopy ¶
func (in *DashboardVar) DeepCopy() *DashboardVar
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardVar.
func (*DashboardVar) DeepCopyInto ¶
func (in *DashboardVar) DeepCopyInto(out *DashboardVar)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardVarType ¶
type DashboardVarType string
+kubebuilder:validation:Enum=Source;Target
const ( DashboardVarTypeSource DashboardVarType = "Source" DashboardVarTypeTarget DashboardVarType = "Target" )
type DeploymentParameters ¶
type DeploymentParameters struct { ProductID string `json:"productID,omitempty"` PlanID string `json:"planID,omitempty"` Chart *releasesapi.ChartSourceRef `json:"chart,omitempty"` }
func (*DeploymentParameters) DeepCopy ¶
func (in *DeploymentParameters) DeepCopy() *DeploymentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentParameters.
func (*DeploymentParameters) DeepCopyInto ¶
func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmInfo ¶ added in v0.17.32
type HelmInfo struct { Repositories map[string]*HelmRepository `json:"repositories"` Releases map[string]*HelmRelease `json:"releases"` }
func (*HelmInfo) DeepCopy ¶ added in v0.17.32
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmInfo.
func (*HelmInfo) DeepCopyInto ¶ added in v0.17.32
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmRelease ¶ added in v0.17.32
type HelmRelease struct { Enabled bool `json:"enabled"` Version string `json:"version"` Values *runtime.RawExtension `json:"values,omitempty"` }
func (*HelmRelease) DeepCopy ¶ added in v0.17.32
func (in *HelmRelease) DeepCopy() *HelmRelease
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRelease.
func (*HelmRelease) DeepCopyInto ¶ added in v0.17.32
func (in *HelmRelease) DeepCopyInto(out *HelmRelease)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmRepository ¶ added in v0.17.32
type HelmRepository struct { // URL of the Helm repository, a valid URL contains at least a protocol and // host. // +required URL string `json:"url"` // SecretRef specifies the Secret containing authentication credentials // for the HelmRepository. // For HTTP/S basic auth the secret must contain 'username' and 'password' // fields. // For TLS the secret must contain a 'certFile' and 'keyFile', and/or // 'caFile' fields. // +optional SecretName string `json:"secretName,omitempty"` // Interval at which to check the URL for updates. // +kubebuilder:validation:Type=string // +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // +optional Interval *metav1.Duration `json:"interval,omitempty"` // The timeout of index downloading, defaults to 60s. // +optional Timeout *metav1.Duration `json:"timeout,omitempty"` // Type of the HelmRepository. // When this field is set to "oci", the URL field value must be prefixed with "oci://". // +kubebuilder:validation:Enum=default;oci // +optional Type string `json:"type,omitempty"` // Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. // This field is optional, and only taken into account if the .spec.type field is set to 'oci'. // When not specified, defaults to 'generic'. // +kubebuilder:validation:Enum=generic;aws;azure;gcp // +kubebuilder:default:=generic // +optional Provider string `json:"provider,omitempty"` }
func (*HelmRepository) DeepCopy ¶ added in v0.17.32
func (in *HelmRepository) DeepCopy() *HelmRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRepository.
func (*HelmRepository) DeepCopyInto ¶ added in v0.17.32
func (in *HelmRepository) DeepCopyInto(out *HelmRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type If ¶
type If struct { Condition string `json:"condition,omitempty"` Connected *ResourceLocator `json:"connected,omitempty"` }
func (*If) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new If.
func (*If) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageRegistrySpec ¶ added in v0.17.32
type ImageRegistrySpec struct { //+optional RegistryFQDN string `json:"registryFQDN"` //+optional Proxies RegistryProxies `json:"proxies"` }
func (ImageRegistrySpec) AppsCodeRegistryProxy ¶ added in v0.17.33
func (r ImageRegistrySpec) AppsCodeRegistryProxy() string
func (*ImageRegistrySpec) DeepCopy ¶ added in v0.17.32
func (in *ImageRegistrySpec) DeepCopy() *ImageRegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRegistrySpec.
func (*ImageRegistrySpec) DeepCopyInto ¶ added in v0.17.32
func (in *ImageRegistrySpec) DeepCopyInto(out *ImageRegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ImageRegistrySpec) DockerHubProxy ¶ added in v0.17.33
func (r ImageRegistrySpec) DockerHubProxy() string
func (ImageRegistrySpec) DockerLibraryProxy ¶ added in v0.17.33
func (r ImageRegistrySpec) DockerLibraryProxy() string
func (ImageRegistrySpec) GHCRProxy ¶ added in v0.17.33
func (r ImageRegistrySpec) GHCRProxy() string
func (ImageRegistrySpec) KubernetesRegistryProxy ¶ added in v0.17.33
func (r ImageRegistrySpec) KubernetesRegistryProxy() string
func (ImageRegistrySpec) QuayProxy ¶ added in v0.17.33
func (r ImageRegistrySpec) QuayProxy() string
type RegistryInfo ¶ added in v0.17.32
func (*RegistryInfo) DeepCopy ¶ added in v0.17.32
func (in *RegistryInfo) DeepCopy() *RegistryInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryInfo.
func (*RegistryInfo) DeepCopyInto ¶ added in v0.17.32
func (in *RegistryInfo) DeepCopyInto(out *RegistryInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryProxies ¶ added in v0.17.32
type RegistryProxies struct { // company/bin:1.23 //+optional DockerHub string `json:"dockerHub"` // alpine, nginx etc. //+optional DockerLibrary string `json:"dockerLibrary"` // ghcr.io //+optional GHCR string `json:"ghcr"` // quay.io //+optional Quay string `json:"quay"` // registry.k8s.io //+optional Kubernetes string `json:"kubernetes"` // r.appscode.com //+optional AppsCode string `json:"appscode"` }
func (*RegistryProxies) DeepCopy ¶ added in v0.17.32
func (in *RegistryProxies) DeepCopy() *RegistryProxies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryProxies.
func (*RegistryProxies) DeepCopyInto ¶ added in v0.17.32
func (in *RegistryProxies) DeepCopyInto(out *RegistryProxies)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceLocator ¶
type ResourceLocator struct { Ref metav1.GroupKind `json:"ref"` Query ResourceQuery `json:"query"` }
func (*ResourceLocator) DeepCopy ¶
func (in *ResourceLocator) DeepCopy() *ResourceLocator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceLocator.
func (*ResourceLocator) DeepCopyInto ¶
func (in *ResourceLocator) DeepCopyInto(out *ResourceLocator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ResourceLocator) GraphQuery ¶
type ResourceQuery ¶
type ResourceQuery struct { Type QueryType `json:"type"` ByLabel kmapi.EdgeLabel `json:"byLabel,omitempty"` Raw string `json:"raw,omitempty"` }
func (*ResourceQuery) DeepCopy ¶
func (in *ResourceQuery) DeepCopy() *ResourceQuery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuery.
func (*ResourceQuery) DeepCopyInto ¶
func (in *ResourceQuery) DeepCopyInto(out *ResourceQuery)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceLocator ¶ added in v0.17.19
type SourceLocator struct { // +optional Resource kmapi.ResourceID `json:"resource"` // +optional Ref kmapi.ObjectReference `json:"ref"` }
func (*SourceLocator) DeepCopy ¶ added in v0.17.19
func (in *SourceLocator) DeepCopy() *SourceLocator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceLocator.
func (*SourceLocator) DeepCopyInto ¶ added in v0.17.19
func (in *SourceLocator) DeepCopyInto(out *SourceLocator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UIParameterTemplate ¶ added in v0.14.1
type UIParameterTemplate struct { Options *releasesapi.ChartSourceRef `json:"options,omitempty"` Editor *releasesapi.ChartSourceRef `json:"editor,omitempty"` EnforceQuota bool `json:"enforceQuota"` // +optional Actions []*ActionTemplateGroup `json:"actions,omitempty"` // app.kubernetes.io/instance label must be updated at these paths when refilling metadata // +optional InstanceLabelPaths []string `json:"instanceLabelPaths,omitempty"` }
func (*UIParameterTemplate) DeepCopy ¶ added in v0.14.1
func (in *UIParameterTemplate) DeepCopy() *UIParameterTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIParameterTemplate.
func (*UIParameterTemplate) DeepCopyInto ¶ added in v0.14.1
func (in *UIParameterTemplate) DeepCopyInto(out *UIParameterTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UIParameters ¶
type UIParameters struct { Options *releasesapi.ChartSourceRef `json:"options,omitempty"` Editor *releasesapi.ChartSourceRef `json:"editor,omitempty"` // +optional Actions []*ActionGroup `json:"actions,omitempty"` // app.kubernetes.io/instance label must be updated at these paths when refilling metadata // +optional InstanceLabelPaths []string `json:"instanceLabelPaths,omitempty"` }
func (*UIParameters) DeepCopy ¶
func (in *UIParameters) DeepCopy() *UIParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIParameters.
func (*UIParameters) DeepCopyInto ¶
func (in *UIParameters) DeepCopyInto(out *UIParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.