export

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	NamePrefix     string          `json:"name_prefix"`
	Provider       string          `json:"provider"`
	Region         string          `json:"region"`
	Version        string          `json:"version"`
	Configurations []Configuration `json:"configurations"`
}

type Configuration

type Configuration struct {
	EnvironmentKey string                             `json:"environment_key"`
	Attributes     map[string]ctyJson.SimpleJSONValue `json:"attributes"`
}

type Environment

type Environment struct {
	Key       string `json:"key"`
	IsBaseKey bool   `json:"is_base_key"`
}

type NodePool

type NodePool struct {
	PoolName       string          `json:"pool_name"`
	ClusterName    string          `json:"cluster_name"`
	Provider       string          `json:"provider"`
	Region         string          `json:"region"`
	Version        string          `json:"version"`
	Configurations []Configuration `json:"configurations"`
}

type Service

type Service struct {
	EntryName      string          `json:"entry_name"`
	ClusterName    string          `json:"cluster_name"`
	Provider       string          `json:"provider"`
	Version        string          `json:"version"`
	Configurations []Configuration `json:"configurations"`
}

type Stack

type Stack struct {
	BaseDomain   string        `json:"base_domain"`
	Environments []Environment `json:"environments"`
	Clusters     []Cluster     `json:"clusters"`
	NodePools    []NodePool    `json:"node_pools"`
	Services     []Service     `json:"services"`
}

func (*Stack) StackConfigurations

func (s *Stack) StackConfigurations(in []Configuration) []stack.Configuration

func (*Stack) StackEnvironments

func (s *Stack) StackEnvironments() []stack.Environment

Jump to

Keyboard shortcuts

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