deploy

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNI

type CNI interface {
	Deploy(context.Context) error
	SetKClient(kubernetes.Interface)
	Healthy(context.Context) error
}

type Cluster

type Cluster interface {
	Deploy(context.Context) error
	Delete() error
	Healthy() error
	GetName() string
}

type Controller

type Controller interface {
	Deploy(context.Context) error
	SetKClient(kubernetes.Interface)
	Healthy(context.Context) error
}

type Deployment

type Deployment struct {
	Cluster     Cluster
	Ingress     Ingress
	CNI         CNI
	Controllers []Controller
}

func (*Deployment) Delete

func (d *Deployment) Delete() error

func (*Deployment) Deploy

func (d *Deployment) Deploy(ctx context.Context, kubecfg string) error

func (*Deployment) Healthy

func (d *Deployment) Healthy(ctx context.Context) error

func (*Deployment) String

func (d *Deployment) String() string

type Ingress

type Ingress interface {
	Deploy(context.Context) error
	SetKClient(kubernetes.Interface)
	Healthy(context.Context) error
}

type IxiaTGConfigMap

type IxiaTGConfigMap struct {
	Release string         `yaml:"release" json:"release"`
	Images  []*IxiaTGImage `yaml:"images" json:"images"`
}

type IxiaTGImage

type IxiaTGImage struct {
	Name string `yaml:"name" json:"name"`
	Path string `yaml:"path" json:"path"`
	Tag  string `yaml:"tag" json:"tag"`
}

type IxiaTGSpec

type IxiaTGSpec struct {
	ManifestDir string           `yaml:"manifests"`
	ConfigMap   *IxiaTGConfigMap `yaml:"configMap"`
	// contains filtered or unexported fields
}

func (*IxiaTGSpec) Deploy

func (i *IxiaTGSpec) Deploy(ctx context.Context) error

func (*IxiaTGSpec) Healthy

func (i *IxiaTGSpec) Healthy(ctx context.Context) error

func (*IxiaTGSpec) SetKClient

func (i *IxiaTGSpec) SetKClient(c kubernetes.Interface)

type KindSpec

type KindSpec struct {
	Name                     string            `yaml:"name"`
	Recycle                  bool              `yaml:"recycle"`
	Version                  string            `yaml:"version"`
	Image                    string            `yaml:"image"`
	Retain                   bool              `yaml:"retain"`
	Wait                     time.Duration     `yaml:"wait"`
	Kubecfg                  string            `yaml:"kubecfg"`
	GoogleArtifactRegistries []string          `yaml:"googleArtifactRegistries"`
	ContainerImages          map[string]string `yaml:"containerImages"`
	KindConfigFile           string            `yaml:"config"`
	AdditionalManifests      []string          `yaml:"additionalManifests"`
}

func (*KindSpec) Delete

func (k *KindSpec) Delete() error

func (*KindSpec) Deploy

func (k *KindSpec) Deploy(ctx context.Context) error

func (*KindSpec) GetName

func (k *KindSpec) GetName() string

func (*KindSpec) Healthy

func (k *KindSpec) Healthy() error

type MeshnetSpec

type MeshnetSpec struct {
	Image       string `yaml:"image"`
	ManifestDir string `yaml:"manifests"`
	// contains filtered or unexported fields
}

func (*MeshnetSpec) Deploy

func (m *MeshnetSpec) Deploy(ctx context.Context) error

func (*MeshnetSpec) Healthy

func (m *MeshnetSpec) Healthy(ctx context.Context) error

func (*MeshnetSpec) SetKClient

func (m *MeshnetSpec) SetKClient(c kubernetes.Interface)

type MetalLBSpec

type MetalLBSpec struct {
	Version     string `yaml:"version"`
	IPCount     int    `yaml:"ip_count"`
	ManifestDir string `yaml:"manifests"`
	// contains filtered or unexported fields
}

func (*MetalLBSpec) Deploy

func (m *MetalLBSpec) Deploy(ctx context.Context) error

func (*MetalLBSpec) Healthy

func (m *MetalLBSpec) Healthy(ctx context.Context) error

func (*MetalLBSpec) SetKClient

func (m *MetalLBSpec) SetKClient(c kubernetes.Interface)

type SRLinuxSpec added in v0.1.3

type SRLinuxSpec struct {
	ManifestDir string `yaml:"manifests"`
	// contains filtered or unexported fields
}

func (*SRLinuxSpec) Deploy added in v0.1.3

func (s *SRLinuxSpec) Deploy(ctx context.Context) error

func (*SRLinuxSpec) Healthy added in v0.1.3

func (s *SRLinuxSpec) Healthy(ctx context.Context) error

func (*SRLinuxSpec) SetKClient added in v0.1.3

func (s *SRLinuxSpec) SetKClient(c kubernetes.Interface)

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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