Documentation
¶
Overview ¶
Copyright © 2023 The Helm Compose Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2023 The Helm Compose Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( V1_0 = semver.MustParse("1.0") V1_1 = semver.MustParse("1.1") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Version string `yaml:"apiVersion,omitempty"` Storage Storage `yaml:"storage,omitempty"` Releases map[string]Release `yaml:"releases,omitempty"` Repositories map[string]string `yaml:"repositories,omitempty"` }
func ParseComposeFile ¶
type ProviderType ¶
type ProviderType string
const ( Local ProviderType = "local" Kubernetes ProviderType = "kubernetes" S3 ProviderType = "s3" )
type Release ¶
type Release struct { Name string `yaml:"name,omitempty"` Chart string `yaml:"chart,omitempty"` ChartVersion string `yaml:"chartVersion,omitempty"` Namespace string `yaml:"namespace,omitempty"` ForceUpdate bool `yaml:"forceUpdate,omitempty"` HistoryMax int `yaml:"historyMax,omitempty"` CreateNamespace bool `yaml:"createNamespace,omitempty"` CleanUpOnFail bool `yaml:"cleanupOnFail,omitempty"` DependencyUpdate bool `yaml:"dependencyUpdate,omitempty"` SkipTLSVerify bool `yaml:"skipTlsVerify,omitempty"` SkipCRDs bool `yaml:"skipCrds,omitempty"` PostRenderer string `yaml:"postRenderer,omitempty"` PostRendererArgs []string `yaml:"postRendererArgs,omitempty"` KubeConfig string `yaml:"kubeconfig,omitempty"` KubeContext string `yaml:"kubecontext,omitempty"` CAFile string `yaml:"caFile,omitempty"` CertFile string `yaml:"certFile,omitempty"` KeyFile string `yaml:"keyFile,omitempty"` Timeout string `yaml:"timeout,omitempty"` Wait bool `yaml:"wait,omitempty"` Values map[string]interface{} `yaml:"values,omitempty"` ValueFiles []string `yaml:"valueFiles,omitempty"` // Uninstall flags DeletionStrategy string `yaml:"deletionStrategy,omitempty"` DeletionTimeout string `yaml:"deletionTimeout,omitempty"` DeletionNoHooks bool `yaml:"deletionNoHooks,omitempty"` KeepHistory bool `yaml:"keepHistory,omitempty"` }
type Storage ¶
type Storage struct { Type ProviderType `yaml:"type,omitempty"` Name string `yaml:"name,omitempty"` NumberOfRevisions int `yaml:"numberOfRevisions,omitempty"` // Local storage fields Path string `yaml:"path,omitempty"` // K8s storage fields Namespace string `yaml:"namespace,omitempty"` KubeConfig string `yaml:"kubeconfig,omitempty"` KubeContext string `yaml:"kubecontext,omitempty"` // S3 storage fields S3Bucket string `yaml:"s3bucket,omitempty"` S3Prefix string `yaml:"s3prefix,omitempty"` S3Region string `yaml:"s3region,omitempty"` S3Endpoint string `yaml:"s3endpoint,omitempty"` S3Insecure bool `yaml:"s3insecure,omitempty"` S3DisableSSL bool `yaml:"s3disableSSL,omitempty"` S3ForcePathStyle bool `yaml:"s3forcePathStyle,omitempty"` }