generators

package
v0.12.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratorOptions

type GeneratorOptions struct {
	InstanceName                      string
	Namespace                         string
	RootCertificateNamePrefix         string
	RootCertificateCommonNamePrefix   string
	RootCertificateDuration           time.Duration
	ServerCertificateNamePrefix       string
	ServerCertificateCommonNamePrefix string
	ServerCertificateDuration         time.Duration
	ClientCertificateDuration         time.Duration
	XdsServerPort                     int32
	MetricsServerPort                 int32
	ProbePort                         int32
	ServiceType                       operatorv1alpha1.ServiceType
	DeploymentImage                   string
	DeploymentResources               corev1.ResourceRequirements
	Debug                             bool
	PodPriorityClass                  *string
}

func (*GeneratorOptions) ClientCertName added in v0.12.0

func (cfg *GeneratorOptions) ClientCertName() string

func (*GeneratorOptions) ClientCertificate

func (cfg *GeneratorOptions) ClientCertificate() func() *operatorv1alpha1.DiscoveryServiceCertificate

func (*GeneratorOptions) Deployment

func (cfg *GeneratorOptions) Deployment(hash string) func() *appsv1.Deployment

func (*GeneratorOptions) ResourceName added in v0.12.0

func (cfg *GeneratorOptions) ResourceName() string

func (*GeneratorOptions) Role

func (cfg *GeneratorOptions) Role() func() *rbacv1.Role

func (*GeneratorOptions) RoleBinding

func (cfg *GeneratorOptions) RoleBinding() func() *rbacv1.RoleBinding

func (*GeneratorOptions) RootCertName added in v0.12.0

func (cfg *GeneratorOptions) RootCertName() string

func (*GeneratorOptions) RootCertificationAuthority

func (cfg *GeneratorOptions) RootCertificationAuthority() func() *operatorv1alpha1.DiscoveryServiceCertificate

func (*GeneratorOptions) ServerCertName added in v0.12.0

func (cfg *GeneratorOptions) ServerCertName() string

func (*GeneratorOptions) ServerCertificate

func (cfg *GeneratorOptions) ServerCertificate() func() *operatorv1alpha1.DiscoveryServiceCertificate

func (*GeneratorOptions) Service

func (cfg *GeneratorOptions) Service() func() *corev1.Service

func (*GeneratorOptions) ServiceAccount

func (cfg *GeneratorOptions) ServiceAccount() func() *corev1.ServiceAccount

Jump to

Keyboard shortcuts

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