framework

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework struct {
	KubeClient kubernetes.Interface

	CertStore *certstore.CertStore
	// contains filtered or unexported fields
}

func New

func New(kubeClient kubernetes.Interface) *Framework

func (*Framework) CreateNamespace

func (f *Framework) CreateNamespace() error

func (*Framework) DeleteClusterRole

func (f *Framework) DeleteClusterRole(name string) error

func (*Framework) DeleteClusterRoleBinding

func (f *Framework) DeleteClusterRoleBinding(name string) error

func (*Framework) DeleteDeployment

func (f *Framework) DeleteDeployment(name, namespace string) error

func (*Framework) DeleteNamespace

func (f *Framework) DeleteNamespace() error

func (*Framework) DeleteSecret

func (f *Framework) DeleteSecret(name, namespace string) error

func (*Framework) DeleteService

func (f *Framework) DeleteService(name, namespace string) error

func (*Framework) GetClusterRole

func (f *Framework) GetClusterRole(name string) (*rbac.ClusterRole, error)

func (*Framework) GetClusterRoleBinding

func (f *Framework) GetClusterRoleBinding(name string) (*rbac.ClusterRoleBinding, error)

func (*Framework) GetDeployment

func (f *Framework) GetDeployment(name, namespace string) (*apps.Deployment, error)

func (*Framework) GetService

func (f *Framework) GetService(name, namespace string) (*corev1.Service, error)

func (*Framework) Invoke

func (f *Framework) Invoke() *Invocation

func (*Framework) Namespace

func (f *Framework) Namespace() string

type Invocation

type Invocation struct {
	*Framework
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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