Documentation
¶
Index ¶
- type ClientConfig
- type CloudProviderType
- type InfraCommand
- type ResourceClient
- func NewDnsClient(conf ClientConfig, configStore store.DataStore, outputStore store.DataStore) ResourceClient
- func NewHelmClient(clientConfig ClientConfig, configStore store.DataStore, ...) ResourceClient
- func NewKubernetesClient(clientConfig ClientConfig, configStore store.DataStore, ...) ResourceClient
- func NewLoadbalancerClient(clientConfig ClientConfig, configStore store.DataStore, ...) ResourceClient
- func NewMonitoringClient(clientConfig ClientConfig, configStore store.DataStore, ...) ResourceClient
- func NewSecretOperatorClient(clientConfig ClientConfig, configStore store.DataStore, ...) ResourceClient
- func NewSecretsClient(clientConfig ClientConfig, configStore store.DataStore, ...) ResourceClient
- func NewVPCClient(clientConfig ClientConfig, configStore store.DataStore, ...) ResourceClient
- func NewWaitForClusterClient(clientConfig ClientConfig, configStore store.DataStore, ...) ResourceClient
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
Click to show internal directories.
Click to hide internal directories.