Documentation
¶
Index ¶
- Constants
- func SetupIngress(client *kubernetes.Client) error
- type Kind
- func (k *Kind) Delete() *Kind
- func (k *Kind) Error() error
- func (k *Kind) Exists() bool
- func (k *Kind) GetKubeconfig() (string, error)
- func (k *Kind) GetOrCreate() *Kind
- func (k Kind) Kubectl() exec.WrapperFunc
- func (k *Kind) LoadImage(image string) *Kind
- func (k *Kind) MustSucceed() *Kind
- func (k *Kind) NoColor() *Kind
- func (k *Kind) Result() command.Result
- func (k *Kind) SetKubeconfig() *Kind
- func (k *Kind) Use() *Kind
- func (k *Kind) WithServices(svcs ...string) *Kind
- func (k *Kind) WithVersion(version string) *Kind
Constants ¶
View Source
const (
ServiceLocalStack = "localstack"
)
Variables ¶
This section is empty.
Functions ¶
func SetupIngress ¶ added in v0.1.2
func SetupIngress(client *kubernetes.Client) error
Types ¶
type Kind ¶
type Kind struct {
Version string `yaml:"version"`
Name string `yaml:"name"`
UseExisting bool `yaml:"use_existing"`
ColorOutput bool `yaml:"color_output"`
Services []string
// contains filtered or unexported fields
}
func (*Kind) GetKubeconfig ¶
GetKubeconfig returns the kubeconfig for the kind cluster
func (*Kind) GetOrCreate ¶
GetOrCreate gets an existing kind cluster or creates a new one
func (Kind) Kubectl ¶
func (k Kind) Kubectl() exec.WrapperFunc
func (*Kind) MustSucceed ¶
MustSucceed panics if there was an error
func (*Kind) SetKubeconfig ¶
SetKubeconfig sets the KUBECONFIG environment variable to use the kind cluster
func (*Kind) WithServices ¶ added in v0.1.9
func (*Kind) WithVersion ¶
WithVersion sets the kind version to use
Click to show internal directories.
Click to hide internal directories.