types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSVPC

type AWSVPC struct {
	ID                string
	SecurityGroupIDs  []string
	PrivateSubnetIDs  []string
	PublicSubnetID    string
	InternetGatewayID string
	EIPAllocationID   string
	NATGatewayID      string
	RoleArn           string
}

type Application

type Application struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationSpec `json:"spec"`
}

type ApplicationSpec

type ApplicationSpec struct {
	KOTSApplicationSpec *KOTSApplicationSpec `json:"kots,omitempty"`
}

type ClusterConfig

type ClusterConfig struct {
	Name        string `json:"name"`
	Provider    string `json:"provider"`
	IsExisting  bool   `json:"isExisting"`
	Region      string `json:"region"`
	Kubeconfig  string `json:"kubeconfig,omitempty"`
	Description string `json:"description,omitempty"`
	Version     string `json:"version,omitempty"`
}

func (ClusterConfig) GetDeterministicClusterName

func (c ClusterConfig) GetDeterministicClusterName() string

type ClusterSpec

type ClusterSpec struct {
	EKS *EKSSpec `json:"eks,omitempty"`
}

type EKSExistingClusterSpec

type EKSExistingClusterSpec struct {
	AccessKeyID     ValueOrValueFrom `json:"accessKeyId"`
	SecretAccessKey ValueOrValueFrom `json:"secretAccessKey"`
	ClusterName     string           `json:"clusterName"`
	Region          string           `json:"region"`
}

type EKSNewClusterSpec

type EKSNewClusterSpec struct {
	Description     string           `json:"description,omitempty"`
	Version         string           `json:"version,omitempty"`
	AccessKeyID     ValueOrValueFrom `json:"accessKeyId"`
	SecretAccessKey ValueOrValueFrom `json:"secretAccessKey"`
	Region          string           `json:"region"`
}

func (EKSNewClusterSpec) GetDeterministicClusterName

func (c EKSNewClusterSpec) GetDeterministicClusterName() string

type EKSSpec

type EKSSpec struct {
	ExistingCluster *EKSExistingClusterSpec `json:"existingCluster,omitempty"`
	NewCluster      *EKSNewClusterSpec      `json:"newCluster,omitempty"`
}

type Grid

type Grid struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GridSpec `json:"spec"`
}

type GridConfig

type GridConfig struct {
	Name           string           `json:"name"`
	ClusterConfigs []*ClusterConfig `json:"clusters,omitempty"`
}

type GridSpec

type GridSpec struct {
	Clusters []*ClusterSpec `json:"clusters"`
	Logger   LoggerSpec     `json:"logger"`
}

type GridsConfig

type GridsConfig struct {
	GridConfigs []*GridConfig `json:"grids,omitempty"`
}

type KOTSApplicationSpec

type KOTSApplicationSpec struct {
	Version        string                        `json:"version,omitempty"`
	App            string                        `json:"app"`
	LicenseID      string                        `json:"licenseID"`
	SkipPreflights *bool                         `json:"skipPreflights,omitempty"`
	Namespace      string                        `json:"namespace,omitempty"`
	ConfigValues   *kotsv1beta1.ConfigValuesSpec `json:"configValues,omitempty"`
}

type LoggerSpec

type LoggerSpec struct {
	Slack *SlackLoggerSpec `json:"slack,omitempty"`
}

type SlackLoggerSpec

type SlackLoggerSpec struct {
	Token   ValueOrValueFrom `json:"token,omitempty"`
	Channel ValueOrValueFrom `json:"channel,omitempty"`
}

type ValueFrom

type ValueFrom struct {
	OSEnv string `json:"osEnv,omitempty"`
}

type ValueOrValueFrom

type ValueOrValueFrom struct {
	Value     string     `json:"value,omitempty"`
	ValueFrom *ValueFrom `json:"valueFrom,omitempty"`
}

func (ValueOrValueFrom) String

func (v ValueOrValueFrom) String() (string, error)

Jump to

Keyboard shortcuts

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