helpers

package
v0.15.1-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

func CreateFakeKopsKeyPair

func CreateFakeKopsKeyPair(ctx context.Context, keyStore fi.CAStore) error

func GetFQDN

func GetFQDN(name string) string

func Int32Ptr

func Int32Ptr(i int32) *int32

func Int64Ptr

func Int64Ptr(i int64) *int64

func NewAWSCredentialSecret

func NewAWSCredentialSecret() *corev1.Secret

func NewCluster

func NewCluster(name, controlplane, namespace string) *clusterv1.Cluster

func NewFakeKopsClientset

func NewFakeKopsClientset() simple.Clientset

func NewKopsCluster

func NewKopsCluster(name string) *kopsapi.Cluster

func NewKopsControlPlane

func NewKopsControlPlane(name, namespace string) *controlplanev1alpha1.KopsControlPlane

func NewKopsIG

func NewKopsIG(name, clusterName string) *kopsapi.InstanceGroup

func NewKopsMachinePool

func NewKopsMachinePool(name, namespace, clusterName string) *infrastructurev1alpha1.KopsMachinePool

func NewMockedK8sClient

func NewMockedK8sClient(objects ...client.Object) client.Client

func ResourceToPointer

func ResourceToPointer(resource resource.Quantity) *resource.Quantity

func String

func String(v string) *string

func StringPtr

func StringPtr(s string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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