resources

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestBrokerImage = "image.test:v.test"
	TestNamespace   = "test-namespace"
	TestName        = "test-name"
)

Variables

View Source
var (
	TestTrue           = true
	TestReplicas int32 = 1
)

Functions

func NewDeploymentForBroker

func NewDeploymentForBroker(namespace, name string, bh BrokerHelper, opts ...resources.DeploymentOption) *appsv1.Deployment

func NewEndpointForBroker

func NewEndpointForBroker(namespace, name string, bh BrokerHelper) *corev1.Endpoints

func NewRoleBindingForBroker

func NewRoleBindingForBroker(namespace, name string, bh BrokerHelper) *rbacv1.RoleBinding

func NewServiceAccountForBroker

func NewServiceAccountForBroker(namespace, name string, bh BrokerHelper) *corev1.ServiceAccount

func NewServiceForBroker

func NewServiceForBroker(namespace, name string, bh BrokerHelper) *corev1.Service

func WithDeploymentReady

func WithDeploymentReady() resources.DeploymentOption

Types

type BrokerHelper

type BrokerHelper struct {
	Suffix string
	Kind   string
}

Jump to

Keyboard shortcuts

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