kinds

package
v0.7.5-0...-2d5d3a9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionList

type ActionList struct {
	APIVersion string    `yaml:"APIVersion"`
	Kind       string    `yaml:"Kind"`
	Executions []Execute `yaml:"Executions"`
	LocalPath  string    `yaml:"LocalPath"`
	RemotePath string    `yaml:"RemotePath"`
}

type Application

type Application struct {
	Name      string `yaml:"Name"`
	Namespace string `yaml:"Namespace"`
	VCS       struct {
		FileSystem   string `yaml:"FileSystem"`
		Git          string `yaml:"Git"`
		GitReference string `yaml:"GitReference"`
	} `yaml:"VCS"`
	ActionList ActionList `yaml:"ActionList"`
}

type ApplicationCluster

type ApplicationCluster struct {
	Name         string `yaml:"Name"`
	Applications []struct {
		Application Application `yaml:"Application"`
	} `yaml:"Applications"`
}

type ApplicationKind

type ApplicationKind struct {
	APIVersion string `yaml:"APIVersion"`
	Strategy   []struct {
		Cluster ApplicationCluster `yaml:"Cluster"`
	} `yaml:"Strategy"`
}

ApplicationKind ...

type ClusterKind

type ClusterKind struct {
	APIVersion string `yaml:"APIVersion"`
	Kind       string `yaml:"Kind"`
	Strategy   []struct {
		Provider Provider `yaml:"Provider"`
	} `yaml:"Strategy"`
}

ClusterKind ...

type Execute

type Execute struct {
	Kind          string            `yaml:"Kind"`
	Configuration map[string]string `yaml:"Configuration"`
}

- Execute: Kind: "shell" Configuration: Command: pwd Path: ../ #Optional value - Execute: Kind: "shell" Configuration: Command: ./build_environment.sh default - Execute: Kind: "kubernetes" Configuration: Path: deployment #Optional value AwaitDeployment: true #Optional defaults to false

type IKind

type IKind interface {
}

type Provider

type Provider struct {
	Clusters []struct {
		Cluster ProviderCluster `yaml:"Cluster"`
	} `yaml:"Clusters"`
	Name string `yaml:"Name"`
}

type ProviderCluster

type ProviderCluster struct {
	InitialNodeCount int               `yaml:"InitialNodeCount"`
	InitialNodeType  string            `yaml:"InitialNodeType"`
	Labels           map[string]string `yaml:"Labels"`
	Name             string            `yaml:"Name"`
	Project          string            `yaml:"Project"`
	NodePools        []struct {
		NodePool struct {
			Count    int               `yaml:"Count"`
			Labels   map[string]string `yaml:"Labels"`
			Name     string            `yaml:"Name"`
			NodeType string            `yaml:"NodeType"`
		} `yaml:"NodePool"`
	} `yaml:"NodePools"`
	//Typically used for Minikube configuration at the node level
	NodeConfiguration struct {
		CPU                int    `yaml:"CPU"`
		DiskSize           string `yaml:"DiskSize"`
		ExtraConfiguration struct {
			ApiserverEnableAdmissionPlugins []string `yaml:"apiserver.enable-admission-plugins"`
		} `yaml:"ExtraConfiguration"`
		Memory   int    `yaml:"Memory"`
		VMDriver string `yaml:"VMDriver"`
	} `yaml:"NodeConfiguration"`
	RoleARN           string   `yaml:"RoleARN"`
	KubernetesVersion string   `yaml:"KubernetesVersion"`
	SecurityGroupID   []string `yaml:"SecurityGroupId"`
	SubnetID          []string `yaml:"SubnetId"`
	OauthScopes       []string `yaml:"OauthScopes"`
	PostInstallHook   []struct {
		Execute struct {
			Shell string `yaml:"Shell"`
			Path  string `yaml:"Path"`
		} `yaml:"Execute"`
	} `yaml:"PostInstallHook"`
	PostDeleteHook []struct {
		Execute struct {
			Shell string `yaml:"Shell"`
			Path  string `yaml:"Path"`
		} `yaml:"Execute"`
	} `yaml:"PostDeleteHook"`
	Region string   `yaml:"Region"`
	Zones  []string `yaml:"Zones"`
}

Jump to

Keyboard shortcuts

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