servicebuilder

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceBuilder

type ServiceBuilder struct {
	// contains filtered or unexported fields
}

func New

func New(t testing.TB, manifest model.Manifest) ServiceBuilder

func (ServiceBuilder) Build

func (sb ServiceBuilder) Build() *v1.Service

func (ServiceBuilder) WithIP

func (sb ServiceBuilder) WithIP(ip string) ServiceBuilder

func (ServiceBuilder) WithNodePort

func (sb ServiceBuilder) WithNodePort(port int32) ServiceBuilder

func (ServiceBuilder) WithPort

func (sb ServiceBuilder) WithPort(port int32) ServiceBuilder

func (ServiceBuilder) WithUID

func (sb ServiceBuilder) WithUID(uid types.UID) ServiceBuilder

Jump to

Keyboard shortcuts

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