package run

import "github.com/oslokommune/okctl/pkg/api/core/run"

Package run implements the runnable layer

Package run implements the runnable layer

Index

Functions

func NewClusterRun

func NewClusterRun(
	debug bool,
	kubeConfigStore api.KubeConfigStore,
	awsCredentialsPath, awsConfigPath, awsProfile string,
	provider binaries.Provider,
	cloud v1alpha1.CloudProvider,
) api.ClusterRun

NewClusterRun returns a executor for clusterRun

func NewHelmRun

func NewHelmRun(helm helm.Helmer, kubeConfigStore api.KubeConfigStore) api.HelmRun

NewHelmRun returns an initialised helm runner

func NewKubeRun

func NewKubeRun(provider v1alpha1.CloudProvider, auth aws.Authenticator) api.KubeRun

NewKubeRun returns an initialised kube runner

func NewServiceAccountRun

func NewServiceAccountRun(
	debug bool,
	awsCredentialsPath, awsConfigPath, awsProfile string,
	provider binaries.Provider,
) api.ServiceAccountRun

NewServiceAccountRun returns a runner for creating a service account

Source Files

cluster_run.go helm_run.go kube_run.go serviceaccount_run.go tcp_early_demux.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
32 packages
Last checked
18 hours ago

Tools for package owners.