client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfig

type ClientConfig struct {
	OutputDirectory  string
	Provider         CloudProviderType
	IsManaged        bool
	ResourceName     string
	ContextDirectory string
}

type CloudProviderType

type CloudProviderType string
const (
	AWSCloudProvider CloudProviderType = "aws"
	GCPCloudProvider CloudProviderType = "gcp"
)

func (CloudProviderType) Name

func (cpt CloudProviderType) Name() string

type InfraCommand

type InfraCommand string
const (
	InitCommand  InfraCommand = "init"
	PlanCommand  InfraCommand = "plan"
	ApplyCommand InfraCommand = "apply"
)

type ResourceClient

type ResourceClient interface {
	PreExec(ctx context.Context) error
	Exec(ctx context.Context) error
	PostExec(ctx context.Context) (map[string]interface{}, error)
}

func NewDnsClient

func NewDnsClient(conf ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

func NewHelmClient

func NewHelmClient(clientConfig ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

func NewKubernetesClient

func NewKubernetesClient(clientConfig ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

func NewLoadbalancerClient

func NewLoadbalancerClient(clientConfig ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

func NewMonitoringClient

func NewMonitoringClient(clientConfig ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

func NewSecretOperatorClient

func NewSecretOperatorClient(clientConfig ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

func NewSecretsClient

func NewSecretsClient(clientConfig ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

func NewVPCClient added in v0.1.1

func NewVPCClient(clientConfig ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

func NewWaitForClusterClient

func NewWaitForClusterClient(clientConfig ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient

Jump to

Keyboard shortcuts

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