kubebuilder

package
v0.0.0-...-5d42de7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrettyPrint

func PrettyPrint(v interface{})

Types

type Builder

type Builder struct {
	Namespace string
	Resources Resources
	Clientset *kubernetes.Clientset
}

func NewBuilder

func NewBuilder(namespace string, resources Resources, clientset *kubernetes.Clientset) *Builder

func (*Builder) CreateResources

func (b *Builder) CreateResources()

type Resources

type Resources interface {
	GetConfigMaps() []*v1.ConfigMap
	GetServices() []*v1.Service
	GetSecrets() []*v1.Secret
	GetReplicationControllers() []*v1.ReplicationController
	GetDeployments() []*v1beta1.Deployment
}

Jump to

Keyboard shortcuts

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