customimage

package
v0.9.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddImagePullSecretFromSpec

func AddImagePullSecretFromSpec(spec *toolsetsv1beta1.Argocd, resultFilePath string) error

func AddPostStartFromSpec

func AddPostStartFromSpec(spec *toolsetsv1beta1.Argocd, resultFilePath string) error

Types

type CustomImage

type CustomImage struct {
	ImageRepository  string
	ImageTag         string
	AddSecretVolumes []*SecretVolume
	AddVolumeMounts  []*VolumeMount
}

func FromSpec

func FromSpec(spec *toolsetsv1beta1.Argocd, imageTags map[string]string) *CustomImage

type SecretVolume

type SecretVolume struct {
	SecretName  string `yaml:"secretName,omitempty"`
	Name        string `yaml:"name"`
	DefaultMode int    `yaml:"defaultMode"`
}

type VolumeMount

type VolumeMount struct {
	Name      string `yaml:"name"`
	MountPath string `yaml:"mountPath,omitempty"`
	SubPath   string `yaml:"subPath,omitempty"`
	ReadOnly  bool   `yaml:"readOnly,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL