Documentation ¶
Index ¶
- Constants
- Variables
- func NewDeploymentForBroker(namespace, name string, bh BrokerHelper, opts ...resources.DeploymentOption) *appsv1.Deployment
- func NewEndpointForBroker(namespace, name string, bh BrokerHelper) *corev1.Endpoints
- func NewRoleBindingForBroker(namespace, name string, bh BrokerHelper) *rbacv1.RoleBinding
- func NewServiceAccountForBroker(namespace, name string, bh BrokerHelper) *corev1.ServiceAccount
- func NewServiceForBroker(namespace, name string, bh BrokerHelper) *corev1.Service
- func WithDeploymentReady() resources.DeploymentOption
- type BrokerHelper
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 ¶
Click to show internal directories.
Click to hide internal directories.