builder

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NgrokConfigMapBuilder

type NgrokConfigMapBuilder struct {
	Name      string
	Namespace string
	Config    string
}

func NewNgrokConfigMapBuilder

func NewNgrokConfigMapBuilder() *NgrokConfigMapBuilder

func (*NgrokConfigMapBuilder) Build

func (*NgrokConfigMapBuilder) SetConfig

func (n *NgrokConfigMapBuilder) SetConfig(config string) *NgrokConfigMapBuilder

func (*NgrokConfigMapBuilder) SetName added in v1.2.0

func (*NgrokConfigMapBuilder) SetNamespace added in v1.2.0

func (n *NgrokConfigMapBuilder) SetNamespace(namespace string) *NgrokConfigMapBuilder

type NgrokConfigurationBuilder added in v1.2.0

type NgrokConfigurationBuilder struct {
	Spec *ngrokcomv1alpha1.NgrokSpec
}

func NewNgrokConfigurationBuilder added in v1.2.0

func NewNgrokConfigurationBuilder() *NgrokConfigurationBuilder

func (*NgrokConfigurationBuilder) Build added in v1.2.0

func (n *NgrokConfigurationBuilder) Build() (string, error)

func (*NgrokConfigurationBuilder) SetSpec added in v1.2.0

type NgrokPodBuilder

type NgrokPodBuilder struct {
	Name      string
	Namespace string
	Image     string
}

func NewNgrokPodBuilder

func NewNgrokPodBuilder() *NgrokPodBuilder

func (*NgrokPodBuilder) Build

func (n *NgrokPodBuilder) Build() (*corev1.Pod, error)

func (*NgrokPodBuilder) SetImage added in v1.2.0

func (n *NgrokPodBuilder) SetImage(image string) *NgrokPodBuilder

func (*NgrokPodBuilder) SetName added in v1.2.0

func (n *NgrokPodBuilder) SetName(name string) *NgrokPodBuilder

func (*NgrokPodBuilder) SetNamespace added in v1.2.0

func (n *NgrokPodBuilder) SetNamespace(namespace string) *NgrokPodBuilder

type NgrokServiceBuilder

type NgrokServiceBuilder struct {
	Name      string
	Namespace string
}

func NewNgrokServiceBuilder

func NewNgrokServiceBuilder() *NgrokServiceBuilder

func (*NgrokServiceBuilder) Build

func (n *NgrokServiceBuilder) Build() (*corev1.Service, error)

func (*NgrokServiceBuilder) SetName added in v1.2.0

func (*NgrokServiceBuilder) SetNamespace added in v1.2.0

func (n *NgrokServiceBuilder) SetNamespace(namespace string) *NgrokServiceBuilder

Jump to

Keyboard shortcuts

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