apiextensions: github.com/giantswarm/apiextensions/pkg/apis/application/v1alpha1 Index | Files

package v1alpha1

import "github.com/giantswarm/apiextensions/pkg/apis/application/v1alpha1"

+groupName=application.giantswarm.io

Index

Package Files

app_catalog_types.go app_types.go chart_types.go deep_copy.go doc.go register.go zz_generated.deepcopy.go

Variables

var (

    // AddToScheme is used by the generated client.
    AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{
    Group:   group,
    Version: version,
}

SchemeGroupVersion is group version used to register these objects

func NewAppCRD Uses

func NewAppCRD() *apiextensionsv1beta1.CustomResourceDefinition

NewAppCRD returns a new custom resource definition for App. This might look something like the following.

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: apps.application.giantswarm.io
spec:
  group: application.giantswarm.io
  scope: Namespaced
  version: v1alpha1
  names:
    kind: App
    plural: apps
    singular: app

func NewAppCatalogCRD Uses

func NewAppCatalogCRD() *apiextensionsv1beta1.CustomResourceDefinition

NewAppCatalogCRD returns a new custom resource definition for AppCatalog. This might look something like the following.

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: appcatalog.application.giantswarm.io
spec:
  group: application.giantswarm.io
  scope: Cluster
  version: v1alpha1
  names:
    kind: AppCatalog
    plural: appcatalogs
    singular: appcatalog

func NewAppCatalogTypeMeta Uses

func NewAppCatalogTypeMeta() metav1.TypeMeta

func NewAppTypeMeta Uses

func NewAppTypeMeta() metav1.TypeMeta

func NewChartCRD Uses

func NewChartCRD() *apiextensionsv1beta1.CustomResourceDefinition

NewChartCRD returns a new custom resource definition for Chart. This might look something like the following.

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: charts.application.giantswarm.io
spec:
  group: application.giantswarm.io
  scope: Namespaced
  version: v1alpha1
  names:
    kind: Chart
    plural: charts
    singular: chart

func NewChartTypeMeta Uses

func NewChartTypeMeta() metav1.TypeMeta

type App Uses

type App struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata"`
    Spec              AppSpec   `json:"spec"`
    Status            AppStatus `json:"status" yaml:"status"`
}

App CRs might look something like the following.

   apiVersion: application.giantswarm.io/v1alpha1
   kind: App
   metadata:
     name: "prometheus"
     labels:
       app-operator.giantswarm.io/version: "1.0.0"

   spec:
     catalog: "giantswarm"
     name: "prometheus"
     namespace: "monitoring"
     version: "1.0.0"
     config:
       configMap:
         name: "prometheus-values"
         namespace: "monitoring"
       secret:
         name: "prometheus-secrets"
         namespace: "monitoring"
       kubeConfig:
         inCluster: false
         context:
           name: "giantswarm-12345"
         secret:
           name: "giantswarm-12345"
           namespace: "giantswarm"
         userConfig:
           configMap:
             name: "prometheus-user-values"
             namespace: "monitoring"

   status:
	appVersion: "2.4.3" # Optional value from Chart.yaml with the version of the deployed app.
     release:
       lastDeployed: "2018-11-30T21:06:20Z"
       status: "DEPLOYED"
     version: "1.1.0" # Required value from Chart.yaml with the version of the chart.

func (*App) DeepCopy Uses

func (in *App) DeepCopy() *App

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

func (*App) DeepCopyInto Uses

func (in *App) DeepCopyInto(out *App)

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

func (*App) DeepCopyObject Uses

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppCatalog Uses

type AppCatalog struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata"`
    Spec              AppCatalogSpec `json:"spec"`
}

AppCatalog CRs might look something like the following.

apiVersion: application.giantswarm.io/v1alpha1
kind: AppCatalog
metadata:
  name: "giantswarm"
  labels:
    app-operator.giantswarm.io/version: "1.0.0"

spec:
  title: "Giant Swarm"
  description: "Catalog of Apps by Giant Swarm"
  config:
    configMap:
      name: "app-catalog-values"
      namespace: "giantswarm"
    secret:
      name: "app-catalog-secrets"
      namespace: "giantswarm"
  logoURL: "/images/repo_icons/incubator.png"
  storage:
    type: "helm"
    URL: "https://giantswarm.github.com/app-catalog/"

func (*AppCatalog) DeepCopy Uses

func (in *AppCatalog) DeepCopy() *AppCatalog

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

func (*AppCatalog) DeepCopyInto Uses

func (in *AppCatalog) DeepCopyInto(out *AppCatalog)

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

func (*AppCatalog) DeepCopyObject Uses

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppCatalogList Uses

type AppCatalogList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`
    Items           []AppCatalog `json:"items"`
}

func (*AppCatalogList) DeepCopy Uses

func (in *AppCatalogList) DeepCopy() *AppCatalogList

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

func (*AppCatalogList) DeepCopyInto Uses

func (in *AppCatalogList) DeepCopyInto(out *AppCatalogList)

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

func (*AppCatalogList) DeepCopyObject Uses

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppCatalogSpec Uses

type AppCatalogSpec struct {
    // Title is the name of the app catalog for this CR
    // e.g. Catalog of Apps by Giant Swarm
    Title       string `json:"title" yaml:"title"`
    Description string `json:"description" yaml:"description"`
    // Config is the config to be applied when apps belonging to this
    // catalog are deployed.
    Config AppCatalogSpecConfig `json:"config" yaml:"config"`
    // LogoURL contains the links for logo image file for this app catalog
    LogoURL string `json:"logoURL" yaml:"logoURL"`
    // Storage references a map containing values that should be applied to
    // the appcatalog.
    Storage AppCatalogSpecStorage `json:"storage" yaml:"storage"`
}

func (*AppCatalogSpec) DeepCopy Uses

func (in *AppCatalogSpec) DeepCopy() *AppCatalogSpec

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

func (*AppCatalogSpec) DeepCopyInto Uses

func (in *AppCatalogSpec) DeepCopyInto(out *AppCatalogSpec)

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

type AppCatalogSpecConfig Uses

type AppCatalogSpecConfig struct {
    // ConfigMap references a config map containing catalog values that
    // should be applied to apps in this catalog.
    ConfigMap AppCatalogSpecConfigConfigMap `json:"configMap" yaml:"configMap"`
    // Secret references a secret containing catalog values that should be
    // applied to apps in this catalog.
    Secret AppCatalogSpecConfigSecret `json:"secret" yaml:"secret"`
}

func (*AppCatalogSpecConfig) DeepCopy Uses

func (in *AppCatalogSpecConfig) DeepCopy() *AppCatalogSpecConfig

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

func (*AppCatalogSpecConfig) DeepCopyInto Uses

func (in *AppCatalogSpecConfig) DeepCopyInto(out *AppCatalogSpecConfig)

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

type AppCatalogSpecConfigConfigMap Uses

type AppCatalogSpecConfigConfigMap struct {
    // Name is the name of the config map containing catalog values to
    // apply, e.g. app-catalog-values.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the catalog values config map,
    // e.g. giantswarm.
    Namespace string `json:"namespace" yaml:"namespace"`
}

func (*AppCatalogSpecConfigConfigMap) DeepCopy Uses

func (in *AppCatalogSpecConfigConfigMap) DeepCopy() *AppCatalogSpecConfigConfigMap

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

func (*AppCatalogSpecConfigConfigMap) DeepCopyInto Uses

func (in *AppCatalogSpecConfigConfigMap) DeepCopyInto(out *AppCatalogSpecConfigConfigMap)

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

type AppCatalogSpecConfigSecret Uses

type AppCatalogSpecConfigSecret struct {
    // Name is the name of the secret containing catalog values to apply,
    // e.g. app-catalog-secret.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the secret,
    // e.g. giantswarm.
    Namespace string `json:"namespace" yaml:"namespace"`
}

func (*AppCatalogSpecConfigSecret) DeepCopy Uses

func (in *AppCatalogSpecConfigSecret) DeepCopy() *AppCatalogSpecConfigSecret

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

func (*AppCatalogSpecConfigSecret) DeepCopyInto Uses

func (in *AppCatalogSpecConfigSecret) DeepCopyInto(out *AppCatalogSpecConfigSecret)

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

type AppCatalogSpecStorage Uses

type AppCatalogSpecStorage struct {
    // Type indicates which repository type would be used for this AppCatalog.
    // e.g. helm
    Type string `json:"type" yaml:"type"`
    // URL is the link to where this AppCatalog's repository is located
    // e.g. https://giantswarm.github.com/app-catalog/.
    URL string `json:"URL" yaml:"URL"`
}

func (*AppCatalogSpecStorage) DeepCopy Uses

func (in *AppCatalogSpecStorage) DeepCopy() *AppCatalogSpecStorage

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

func (*AppCatalogSpecStorage) DeepCopyInto Uses

func (in *AppCatalogSpecStorage) DeepCopyInto(out *AppCatalogSpecStorage)

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

type AppList Uses

type AppList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`
    Items           []App `json:"items"`
}

func (*AppList) DeepCopy Uses

func (in *AppList) DeepCopy() *AppList

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

func (*AppList) DeepCopyInto Uses

func (in *AppList) DeepCopyInto(out *AppList)

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

func (*AppList) DeepCopyObject Uses

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppSpec Uses

type AppSpec struct {
    // Catalog is the name of the app catalog this app belongs to.
    // e.g. giantswarm
    Catalog string `json:"catalog" yaml:"catalog"`
    // Config is the config to be applied when the app is deployed.
    Config AppSpecConfig `json:"config" yaml:"config"`
    // KubeConfig is the kubeconfig to connect to the cluster when deploying
    // the app.
    KubeConfig AppSpecKubeConfig `json:"kubeConfig" yaml:"kubeConfig"`
    // Name is the name of the app to be deployed.
    // e.g. kubernetes-prometheus
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace where the app should be deployed.
    // e.g. monitoring
    Namespace string `json:"namespace" yaml:"namespace"`
    // UserConfig is the user config to be applied when the app is deployed.
    UserConfig AppSpecUserConfig `json:"userConfig" yaml:"userConfig"`
    // Version is the version of the app that should be deployed.
    // e.g. 1.0.0
    Version string `json:"version" yaml:"version"`
}

func (*AppSpec) DeepCopy Uses

func (in *AppSpec) DeepCopy() *AppSpec

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

func (*AppSpec) DeepCopyInto Uses

func (in *AppSpec) DeepCopyInto(out *AppSpec)

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

type AppSpecConfig Uses

type AppSpecConfig struct {
    // ConfigMap references a config map containing values that should be
    // applied to the app.
    ConfigMap AppSpecConfigConfigMap `json:"configMap" yaml:"configMap"`
    // Secret references a secret containing secret values that should be
    // applied to the app.
    Secret AppSpecConfigSecret `json:"secret" yaml:"secret"`
}

func (*AppSpecConfig) DeepCopy Uses

func (in *AppSpecConfig) DeepCopy() *AppSpecConfig

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

func (*AppSpecConfig) DeepCopyInto Uses

func (in *AppSpecConfig) DeepCopyInto(out *AppSpecConfig)

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

type AppSpecConfigConfigMap Uses

type AppSpecConfigConfigMap struct {
    // Name is the name of the config map containing app values to apply,
    // e.g. prometheus-values.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the values config map,
    // e.g. monitoring.
    Namespace string `json:"namespace" yaml:"namespace"`
}

func (*AppSpecConfigConfigMap) DeepCopy Uses

func (in *AppSpecConfigConfigMap) DeepCopy() *AppSpecConfigConfigMap

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

func (*AppSpecConfigConfigMap) DeepCopyInto Uses

func (in *AppSpecConfigConfigMap) DeepCopyInto(out *AppSpecConfigConfigMap)

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

type AppSpecConfigSecret Uses

type AppSpecConfigSecret struct {
    // Name is the name of the secret containing app values to apply,
    // e.g. prometheus-secret.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the secret,
    // e.g. kube-system.
    Namespace string `json:"namespace" yaml:"namespace"`
}

func (*AppSpecConfigSecret) DeepCopy Uses

func (in *AppSpecConfigSecret) DeepCopy() *AppSpecConfigSecret

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

func (*AppSpecConfigSecret) DeepCopyInto Uses

func (in *AppSpecConfigSecret) DeepCopyInto(out *AppSpecConfigSecret)

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

type AppSpecKubeConfig Uses

type AppSpecKubeConfig struct {
    // InCluster is a flag for whether to use InCluster credentials. When true the
    // context name and secret should not be set.
    InCluster bool `json:"inCluster" yaml:"inCluster"`
    // Context is the kubeconfig context.
    Context AppSpecKubeConfigContext `json:"context" yaml:"context"`
    // Secret references a secret containing the kubconfig.
    Secret AppSpecKubeConfigSecret `json:"secret" yaml:"secret"`
}

func (*AppSpecKubeConfig) DeepCopy Uses

func (in *AppSpecKubeConfig) DeepCopy() *AppSpecKubeConfig

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

func (*AppSpecKubeConfig) DeepCopyInto Uses

func (in *AppSpecKubeConfig) DeepCopyInto(out *AppSpecKubeConfig)

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

type AppSpecKubeConfigContext Uses

type AppSpecKubeConfigContext struct {
    // Name is the name of the kubeconfig context.
    // e.g. giantswarm-12345.
    Name string `json:"name" yaml:"name"`
}

func (*AppSpecKubeConfigContext) DeepCopy Uses

func (in *AppSpecKubeConfigContext) DeepCopy() *AppSpecKubeConfigContext

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

func (*AppSpecKubeConfigContext) DeepCopyInto Uses

func (in *AppSpecKubeConfigContext) DeepCopyInto(out *AppSpecKubeConfigContext)

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

type AppSpecKubeConfigSecret Uses

type AppSpecKubeConfigSecret struct {
    // Name is the name of the secret containing the kubeconfig,
    // e.g. app-operator-kubeconfig.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the secret containing the kubeconfig,
    // e.g. giantswarm.
    Namespace string `json:"namespace" yaml:"namespace"`
}

func (*AppSpecKubeConfigSecret) DeepCopy Uses

func (in *AppSpecKubeConfigSecret) DeepCopy() *AppSpecKubeConfigSecret

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

func (*AppSpecKubeConfigSecret) DeepCopyInto Uses

func (in *AppSpecKubeConfigSecret) DeepCopyInto(out *AppSpecKubeConfigSecret)

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

type AppSpecUserConfig Uses

type AppSpecUserConfig struct {
    // ConfigMap references a config map containing user values that should be
    // applied to the app.
    ConfigMap AppSpecUserConfigConfigMap `json:"configMap" yaml:"configMap"`
    // Secret references a secret containing user secret values that should be
    // applied to the app.
    Secret AppSpecUserConfigSecret `json:"secret" yaml:"secret"`
}

func (*AppSpecUserConfig) DeepCopy Uses

func (in *AppSpecUserConfig) DeepCopy() *AppSpecUserConfig

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

func (*AppSpecUserConfig) DeepCopyInto Uses

func (in *AppSpecUserConfig) DeepCopyInto(out *AppSpecUserConfig)

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

type AppSpecUserConfigConfigMap Uses

type AppSpecUserConfigConfigMap struct {
    // Name is the name of the config map containing user values to apply,
    // e.g. prometheus-user-values.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the user values config map on the control plane,
    // e.g. 123ab.
    Namespace string `json:"namespace" yaml:"namespace"`
}

func (*AppSpecUserConfigConfigMap) DeepCopy Uses

func (in *AppSpecUserConfigConfigMap) DeepCopy() *AppSpecUserConfigConfigMap

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

func (*AppSpecUserConfigConfigMap) DeepCopyInto Uses

func (in *AppSpecUserConfigConfigMap) DeepCopyInto(out *AppSpecUserConfigConfigMap)

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

type AppSpecUserConfigSecret Uses

type AppSpecUserConfigSecret struct {
    // Name is the name of the secret containing user values to apply,
    // e.g. prometheus-user-secret.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the secret,
    // e.g. kube-system.
    Namespace string `json:"namespace" yaml:"namespace"`
}

func (*AppSpecUserConfigSecret) DeepCopy Uses

func (in *AppSpecUserConfigSecret) DeepCopy() *AppSpecUserConfigSecret

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

func (*AppSpecUserConfigSecret) DeepCopyInto Uses

func (in *AppSpecUserConfigSecret) DeepCopyInto(out *AppSpecUserConfigSecret)

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

type AppStatus Uses

type AppStatus struct {
    // AppVersion is the value of the AppVersion field in the Chart.yaml of the
    // deployed app. This is an optional field with the version of the
    // component being deployed.
    // e.g. 0.21.0.
    // https://docs.helm.sh/developing_charts/#the-chart-yaml-file
    AppVersion string `json:"appVersion" yaml:"appVersion"`
    // Release is the status of the Helm release for the deployed app.
    Release AppStatusRelease `json:"release" yaml:"release"`
    // Version is the value of the Version field in the Chart.yaml of the
    // deployed app.
    // e.g. 1.0.0.
    Version string `json:"version" yaml:"version"`
}

func (*AppStatus) DeepCopy Uses

func (in *AppStatus) DeepCopy() *AppStatus

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

func (*AppStatus) DeepCopyInto Uses

func (in *AppStatus) DeepCopyInto(out *AppStatus)

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

type AppStatusRelease Uses

type AppStatusRelease struct {
    // LastDeployed is the time when the app was last deployed.
    LastDeployed DeepCopyTime `json:"lastDeployed" yaml:"lastDeployed"`
    // Reason is the description of the last status of helm release when the app is
    // not installed successfully, e.g. deploy resource already exists.
    Reason string `json:"reason,omitempty" yaml:"reason,omitempty"`
    // Status is the status of the deployed app,
    // e.g. DEPLOYED.
    Status string `json:"status" yaml:"status"`
}

func (*AppStatusRelease) DeepCopy Uses

func (in *AppStatusRelease) DeepCopy() *AppStatusRelease

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

func (*AppStatusRelease) DeepCopyInto Uses

func (in *AppStatusRelease) DeepCopyInto(out *AppStatusRelease)

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

type Chart Uses

type Chart struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata"`
    Spec              ChartSpec   `json:"spec"`
    Status            ChartStatus `json:"status" yaml:"status"`
}

Chart CRs might look something like the following.

apiVersion: application.giantswarm.io/v1alpha1
kind: Chart
metadata:
  name: "prometheus"
  labels:
    chart-operator.giantswarm.io/version: "1.0.0"

spec:
  name: "prometheus"
  namespace: "monitoring"
  config:
    configMap:
    name: "prometheus-values"
    namespace: "monitoring"
    resourceVersion: ""
  secret:
    name: "prometheus-secrets"
    namespace: "monitoring"
    resourceVersion: ""
  tarballURL: "https://giantswarm.github.com/app-catalog/prometheus-1-0-0.tgz"

status:
  appVersion: "2.4.3" # Optional value from Chart.yaml with the version of the deployed app.
  release:
    lastDeployed: "2018-11-30T21:06:20Z"
    status: "DEPLOYED"
  version: "1.1.0" # Required value from Chart.yaml with the version of the chart.

func (*Chart) DeepCopy Uses

func (in *Chart) DeepCopy() *Chart

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

func (*Chart) DeepCopyInto Uses

func (in *Chart) DeepCopyInto(out *Chart)

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

func (*Chart) DeepCopyObject Uses

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ChartList Uses

type ChartList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`
    Items           []Chart `json:"items"`
}

func (*ChartList) DeepCopy Uses

func (in *ChartList) DeepCopy() *ChartList

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

func (*ChartList) DeepCopyInto Uses

func (in *ChartList) DeepCopyInto(out *ChartList)

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

func (*ChartList) DeepCopyObject Uses

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ChartSpec Uses

type ChartSpec struct {
    // Config is the config to be applied when the chart is deployed.
    Config ChartSpecConfig `json:"config" yaml:"config"`
    // Name is the name of the Helm chart to be deployed.
    // e.g. kubernetes-prometheus
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace where the chart should be deployed.
    // e.g. monitoring
    Namespace string `json:"namespace" yaml:"namespace"`
    // TarballURL is the URL for the Helm chart tarball to be deployed.
    // e.g. https://path/to/prom-1-0-0.tgz"
    TarballURL string `json:"tarballURL" yaml:"tarballURL"`
}

func (*ChartSpec) DeepCopy Uses

func (in *ChartSpec) DeepCopy() *ChartSpec

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

func (*ChartSpec) DeepCopyInto Uses

func (in *ChartSpec) DeepCopyInto(out *ChartSpec)

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

type ChartSpecConfig Uses

type ChartSpecConfig struct {
    // ConfigMap references a config map containing values that should be
    // applied to the chart.
    ConfigMap ChartSpecConfigConfigMap `json:"configMap" yaml:"configMap"`
    // Secret references a secret containing secret values that should be
    // applied to the chart.
    Secret ChartSpecConfigSecret `json:"secret" yaml:"secret"`
}

func (*ChartSpecConfig) DeepCopy Uses

func (in *ChartSpecConfig) DeepCopy() *ChartSpecConfig

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

func (*ChartSpecConfig) DeepCopyInto Uses

func (in *ChartSpecConfig) DeepCopyInto(out *ChartSpecConfig)

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

type ChartSpecConfigConfigMap Uses

type ChartSpecConfigConfigMap struct {
    // Name is the name of the config map containing chart values to apply,
    // e.g. prometheus-chart-values.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the values config map,
    // e.g. monitoring.
    Namespace string `json:"namespace" yaml:"namespace"`
    // ResourceVersion is the Kubernetes resource version of the configmap.
    // Used to detect if the configmap has changed, e.g. 12345.
    ResourceVersion string `json:"resourceVersion" yaml:"resourceVersion"`
}

func (*ChartSpecConfigConfigMap) DeepCopy Uses

func (in *ChartSpecConfigConfigMap) DeepCopy() *ChartSpecConfigConfigMap

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

func (*ChartSpecConfigConfigMap) DeepCopyInto Uses

func (in *ChartSpecConfigConfigMap) DeepCopyInto(out *ChartSpecConfigConfigMap)

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

type ChartSpecConfigSecret Uses

type ChartSpecConfigSecret struct {
    // Name is the name of the secret containing chart values to apply,
    // e.g. prometheus-chart-secret.
    Name string `json:"name" yaml:"name"`
    // Namespace is the namespace of the secret,
    // e.g. kube-system.
    Namespace string `json:"namespace" yaml:"namespace"`
    // ResourceVersion is the Kubernetes resource version of the secret.
    // Used to detect if the secret has changed, e.g. 12345.
    ResourceVersion string `json:"resourceVersion" yaml:"resourceVersion"`
}

func (*ChartSpecConfigSecret) DeepCopy Uses

func (in *ChartSpecConfigSecret) DeepCopy() *ChartSpecConfigSecret

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

func (*ChartSpecConfigSecret) DeepCopyInto Uses

func (in *ChartSpecConfigSecret) DeepCopyInto(out *ChartSpecConfigSecret)

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

type ChartStatus Uses

type ChartStatus struct {
    // AppVersion is the value of the AppVersion field in the Chart.yaml of the
    // deployed chart. This is an optional field with the version of the
    // component being deployed.
    // e.g. 0.21.0.
    // https://docs.helm.sh/developing_charts/#the-chart-yaml-file
    AppVersion string `json:"appVersion" yaml:"appVersion"`
    // Reason is the description of the last status of helm release when the chart is
    // not installed successfully, e.g. deploy resource already exists.
    Reason string `json:"reason,omitempty" yaml:"reason,omitempty"`
    // Release is the status of the Helm release for the deployed chart.
    Release ChartStatusRelease `json:"release" yaml:"release"`
    // Version is the value of the Version field in the Chart.yaml of the
    // deployed chart.
    // e.g. 1.0.0.
    Version string `json:"version" yaml:"version"`
}

func (*ChartStatus) DeepCopy Uses

func (in *ChartStatus) DeepCopy() *ChartStatus

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

func (*ChartStatus) DeepCopyInto Uses

func (in *ChartStatus) DeepCopyInto(out *ChartStatus)

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

type ChartStatusRelease Uses

type ChartStatusRelease struct {
    // LastDeployed is the time when the deployed chart was last deployed.
    LastDeployed DeepCopyTime `json:"lastDeployed" yaml:"lastDeployed"`
    // Status is the status of the deployed chart,
    // e.g. DEPLOYED.
    Status string `json:"status" yaml:"status"`
}

func (*ChartStatusRelease) DeepCopy Uses

func (in *ChartStatusRelease) DeepCopy() *ChartStatusRelease

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

func (*ChartStatusRelease) DeepCopyInto Uses

func (in *ChartStatusRelease) DeepCopyInto(out *ChartStatusRelease)

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

type DeepCopyTime Uses

type DeepCopyTime struct {
    time.Time
}

DeepCopyTime implements the deep copy logic for time.Time which the k8s codegen is not able to generate out of the box.

func (*DeepCopyTime) DeepCopy Uses

func (in *DeepCopyTime) DeepCopy() *DeepCopyTime

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

func (*DeepCopyTime) DeepCopyInto Uses

func (in *DeepCopyTime) DeepCopyInto(out *DeepCopyTime)

Package v1alpha1 imports 6 packages (graph) and is imported by 11 packages. Updated 2019-11-17. Refresh now. Tools for package owners.