v1alpha1

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.marin3r.3scale.net

Index

Constants

View Source
const (
	// DiscoveryServiceKind is Kind of the DiscoveryService resources
	DiscoveryServiceKind string = "DiscoveryService"
	// DiscoveryServiceListKind is the Kind of the DiscoveryServiceList resources
	DiscoveryServiceListKind string = "DiscoveryServiceList"
	// DiscoveryServiceEnabledKey is the label key that the mutating webhook uses
	// to determine if mutation is enabled for a Pod
	DiscoveryServiceEnabledKey string = "marin3r.3scale.net/status"
	// DiscoveryServiceEnabledValue is the label value that the mutating webhook uses
	// to determine if mutation is enabled for a Pod
	DiscoveryServiceEnabledValue string = "enabled"
	// DiscoveryServiceLabelKey is the label key that the mutating webhook uses to determine if
	// Pod mutation is enabled in a namespace
	DiscoveryServiceLabelKey string = "marin3r.3scale.net/discovery-service"
	// DiscoveryServiceCertificateHashLabelKey is the label in the discovery service Deployment that
	// stores the hash of the current server certificate
	DiscoveryServiceCertificateHashLabelKey string = "marin3r.3scale.net/server-certificate-hash"

	// DiscoveryServiceFinalizer is the finalizer for DiscoveryService objects
	DiscoveryServiceFinalizer string = "finalizer.operator.marin3r.3scale.net"

	// DefaultMetricsPort is the default port where the discovery service metrics server listens
	DefaultMetricsPort uint32 = 8383
	// DefaultWebhookPort is the default port where the discovery service webhook server listens
	DefaultWebhookPort uint32 = 9443
	// DefaultXdsServerPort is the default port where the discovery service xds server port listens
	DefaultXdsServerPort uint32 = 18000
	// DefaultRootCertificateDuration is the default root CA certificate duration
	DefaultRootCertificateDuration string = "26280h" // 3 years
	// DefaultRootCertificateSecretNamePrefix is the default prefix for the Secret
	// where the root CA certificate is stored
	DefaultRootCertificateSecretNamePrefix string = "marin3r-ca-cert"
	// DefaultServerCertificateDuration is the default discovery service server certificate duration
	DefaultServerCertificateDuration string = "2160h" // 3 months
	// DefaultServerCertificateSecretNamePrefix is the default prefix for the Secret
	// where the server certificate is stored
	DefaultServerCertificateSecretNamePrefix string = "marin3r-server-cert"
	// DefaultImageRegistry is the default registry to pull discovery service images from
	DefaultImageRegistry string = "quay.io/3scale/marin3r"
)
View Source
const (
	// DiscoveryServiceCertificateKind is a string that holds the Kind of DiscoveryServiceCertificate
	DiscoveryServiceCertificateKind string = "DiscoveryServiceCertificate"
	// CertificateNeedsRenewalCondition is a condition that indicates that a
	// DiscoveryServiceCertificate is invalid and needs replacement
	CertificateNeedsRenewalCondition status.ConditionType = "CertificateNeedsRenewal"
	// CertificateHashLabelKey is the label that stores the hash of the certificate managed
	// by the DiscoveryServiceCertificate resource
	CertificateHashLabelKey string = "certificate-hash"
	// IssuerCertificateHashLabelKey is the label that stores the hash of the certificate managed
	// by the DiscoveryServiceCertificate resource
	IssuerCertificateHashLabelKey string = "issuer-certificate-hash"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "operator.marin3r.3scale.net", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type CASignedConfig

type CASignedConfig struct {
	// A reference to a Secret containing the CA
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	SecretRef corev1.SecretReference `json:"caSecretRef"`
}

CASignedConfig is used ti generate certificates signed by a CA contained in a Secret

func (*CASignedConfig) DeepCopy

func (in *CASignedConfig) DeepCopy() *CASignedConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CASignedConfig.

func (*CASignedConfig) DeepCopyInto

func (in *CASignedConfig) DeepCopyInto(out *CASignedConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CertificateOptions added in v0.7.0

type CertificateOptions struct {
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	SecretName string `json:"secretName"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Duration metav1.Duration `json:"duration"`
}

CertificateOptions specifies options to generate the server certificate used both for the xDS server and the mutating webhook server.

func (*CertificateOptions) DeepCopy added in v0.7.0

func (in *CertificateOptions) DeepCopy() *CertificateOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateOptions.

func (*CertificateOptions) DeepCopyInto added in v0.7.0

func (in *CertificateOptions) DeepCopyInto(out *CertificateOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CertificateRenewalConfig

type CertificateRenewalConfig struct {
	// Enabled is a flag to enable or disable renewal of the certificate
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Enabled bool `json:"enabled"`
}

CertificateRenewalConfig configures the certificate renewal process.

func (*CertificateRenewalConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRenewalConfig.

func (*CertificateRenewalConfig) DeepCopyInto

func (in *CertificateRenewalConfig) DeepCopyInto(out *CertificateRenewalConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiscoveryService

type DiscoveryService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DiscoveryServiceSpec   `json:"spec,omitempty"`
	Status DiscoveryServiceStatus `json:"status,omitempty"`
}

DiscoveryService represents an envoy discovery service server. Currently only one DiscoveryService per cluster is supported. +kubebuilder:subresource:status +kubebuilder:resource:path=discoveryservices,scope=Namespaced +operator-sdk:csv:customresourcedefinitions:displayName="DiscoveryService" +operator-sdk:csv:customresourcedefinitions.resources={{Deployment,v1},{Service,v1},{DiscoveryServiceCertificate,v1alpha1}

func (*DiscoveryService) Debug added in v0.7.0

func (d *DiscoveryService) Debug() bool

Debug returns a boolean value that indicates if debug loggin is enabled

func (*DiscoveryService) DeepCopy

func (in *DiscoveryService) DeepCopy() *DiscoveryService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryService.

func (*DiscoveryService) DeepCopyInto

func (in *DiscoveryService) DeepCopyInto(out *DiscoveryService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DiscoveryService) DeepCopyObject

func (in *DiscoveryService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DiscoveryService) GetImage added in v0.7.0

func (d *DiscoveryService) GetImage() string

GetImage returns the DiscoveryService image that matches the current version of the operator or the one defined by the user if the filed is set in the resource

func (*DiscoveryService) GetMetricsPort added in v0.7.0

func (d *DiscoveryService) GetMetricsPort() uint32

GetMetricsPort returns the port the metrics server will listen at

func (*DiscoveryService) GetRootCertificateAuthorityOptions added in v0.7.0

func (d *DiscoveryService) GetRootCertificateAuthorityOptions() *CertificateOptions

GetRootCertificateAuthorityOptions returns the CertificateOptions for the root CA

func (*DiscoveryService) GetServerCertificateOptions added in v0.7.0

func (d *DiscoveryService) GetServerCertificateOptions() *CertificateOptions

GetServerCertificateOptions returns the CertificateOptions for the root CA

func (*DiscoveryService) GetServiceConfig added in v0.7.0

func (d *DiscoveryService) GetServiceConfig() *ServiceConfig

GetServiceConfig returns the Service configuration for the discovery service servers

func (*DiscoveryService) GetXdsServerPort added in v0.7.0

func (d *DiscoveryService) GetXdsServerPort() uint32

GetXdsServerPort returns the port the xDS server will listen at

func (*DiscoveryService) OwnedObjectName added in v0.7.0

func (d *DiscoveryService) OwnedObjectName() string

OwnedObjectName returns the name of the resources the discoveryservices controller needs to create

func (*DiscoveryService) Resources added in v0.7.0

Resources returns the Pod resources for the discovery service pod

type DiscoveryServiceCertificate

type DiscoveryServiceCertificate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DiscoveryServiceCertificateSpec   `json:"spec,omitempty"`
	Status DiscoveryServiceCertificateStatus `json:"status,omitempty"`
}

DiscoveryServiceCertificate is used to create certificates, either self-signed or by using a cert-manager CA issuer. This object is used by the DiscoveryService controller to create the required certificates for the different components of the discovery service. Direct use of DiscoveryServiceCertificate objects is discouraged. +kubebuilder:subresource:status +kubebuilder:resource:path=discoveryservicecertificates,scope=Namespaced,shortName=dsc +kubebuilder:printcolumn:JSONPath=".status.ready",name="Ready",type=boolean +kubebuilder:printcolumn:JSONPath=".status.notBefore",name=Not Before,type=string,format=date-time +kubebuilder:printcolumn:JSONPath=".status.notAfter",name=Not After,type=string,format=date-time +operator-sdk:csv:customresourcedefinitions:displayName="DiscoveryServiceCertificate" +operator-sdk:gen-csv:customresourcedefinitions:resources={{Secret,v1}}

func (*DiscoveryServiceCertificate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServiceCertificate.

func (*DiscoveryServiceCertificate) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DiscoveryServiceCertificate) DeepCopyObject

func (in *DiscoveryServiceCertificate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DiscoveryServiceCertificate) GetCertificateRenewalConfig added in v0.7.0

func (d *DiscoveryServiceCertificate) GetCertificateRenewalConfig() CertificateRenewalConfig

GetCertificateRenewalConfig returns the renewal configuration for the issued certificate

func (*DiscoveryServiceCertificate) GetHosts added in v0.7.0

func (d *DiscoveryServiceCertificate) GetHosts() []string

GetHosts returns the list of server names that the certificate is issued for

func (*DiscoveryServiceCertificate) IsCA added in v0.7.0

IsCA returns true if the certificate is issued to function as a certificate authority or not

func (*DiscoveryServiceCertificate) IsServerCertificate added in v0.7.0

func (d *DiscoveryServiceCertificate) IsServerCertificate() bool

IsServerCertificate returns true if the certificate is issued for server usage or false if not

type DiscoveryServiceCertificateList

type DiscoveryServiceCertificateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DiscoveryServiceCertificate `json:"items"`
}

DiscoveryServiceCertificateList contains a list of DiscoveryServiceCertificate

func (*DiscoveryServiceCertificateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServiceCertificateList.

func (*DiscoveryServiceCertificateList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DiscoveryServiceCertificateList) DeepCopyObject

func (in *DiscoveryServiceCertificateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DiscoveryServiceCertificateSigner

type DiscoveryServiceCertificateSigner struct {
	// SelfSigned holds specific configuration for the SelfSigned signer
	// +kubebuilder:validation:Optional
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	SelfSigned *SelfSignedConfig `json:"selfSigned,omitempty"`
	// CASigned holds specific configuration for the CASigned signer
	// +kubebuilder:validation:Optional
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	CASigned *CASignedConfig `json:"caSigned,omitempty"`
}

DiscoveryServiceCertificateSigner specifies the signer to use to provision the certificate

func (*DiscoveryServiceCertificateSigner) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServiceCertificateSigner.

func (*DiscoveryServiceCertificateSigner) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiscoveryServiceCertificateSpec

type DiscoveryServiceCertificateSpec struct {
	// CommonName is the CommonName of the certificate
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	CommonName string `json:"commonName"`
	// IsServerCertificate is a boolean specifying if the certificate should be
	// issued with server auth usage enabled
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	IsServerCertificate *bool `json:"server,omitempty"`
	// IsCA is a boolean specifying that the certificate is a CA
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	IsCA *bool `json:"isCA,omitempty"`
	// ValidFor specifies the validity of the certificate in seconds
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	ValidFor int64 `json:"validFor"`
	// Hosts is the list of hosts the certificate is valid for. Only
	// use when 'IsServerCertificate' is true. If unset, the CommonName
	// field will be used to populate the valid hosts of the certificate.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Hosts []string `json:"hosts,omitempty"`
	// Signer specifies  the signer to use to create this certificate. Supported
	// signers are CertManager and SelfSigned.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Signer DiscoveryServiceCertificateSigner `json:"signer"`
	// SecretRef is a reference to the secret that will hold the certificate
	// and the private key.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	SecretRef corev1.SecretReference `json:"secretRef"`
	// CertificateRenewalConfig configures the certificate renewal process. If unset default
	// behavior is to renew the certificate but not notify of renewals.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	CertificateRenewalConfig *CertificateRenewalConfig `json:"certificateRenewal,omitempty"`
}

DiscoveryServiceCertificateSpec defines the desired state of DiscoveryServiceCertificate

func (*DiscoveryServiceCertificateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServiceCertificateSpec.

func (*DiscoveryServiceCertificateSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiscoveryServiceCertificateStatus

type DiscoveryServiceCertificateStatus struct {
	// Ready is a boolean that specifies if the certificate is ready to be used
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +optional
	Ready *bool `json:"ready,omitempty"`
	// NotBefore is the time at which the certificate starts
	// being valid
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +optional
	NotBefore *metav1.Time `json:"notBefore,omitempty"`
	// NotAfter is the time at which the certificate expires
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +optional
	NotAfter *metav1.Time `json:"notAfter,omitempty"`
	// CertificateHash stores the current hash of the certificate. It is used
	// for other controllers to validate if a certificate has been re-issued.
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +optional
	CertificateHash *string `json:"certificateHash,omitempty"`
	// Conditions represent the latest available observations of an object's state
	// +operator-sdk:csv:customresourcedefinitions:type=status
	Conditions status.Conditions `json:"conditions"`
}

DiscoveryServiceCertificateStatus defines the observed state of DiscoveryServiceCertificate

func (*DiscoveryServiceCertificateStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServiceCertificateStatus.

func (*DiscoveryServiceCertificateStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DiscoveryServiceCertificateStatus) GetCertificateHash added in v0.7.0

func (status *DiscoveryServiceCertificateStatus) GetCertificateHash() string

GetCertificateHash returns the hash of the certificate associated with the DiscoveryServiceCertificate resource. Returns an empty string if not set.

func (*DiscoveryServiceCertificateStatus) IsReady added in v0.7.0

func (status *DiscoveryServiceCertificateStatus) IsReady() bool

IsReady returns true if the certificate is ready to use, false otherwise

type DiscoveryServiceList

type DiscoveryServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DiscoveryService `json:"items"`
}

DiscoveryServiceList contains a list of DiscoveryService

func (*DiscoveryServiceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServiceList.

func (*DiscoveryServiceList) DeepCopyInto

func (in *DiscoveryServiceList) DeepCopyInto(out *DiscoveryServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DiscoveryServiceList) DeepCopyObject

func (in *DiscoveryServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DiscoveryServiceSpec

type DiscoveryServiceSpec struct {
	// Image holds the image to use for the discovery service Deployment
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Image *string `json:"image,omitempty"`
	// Debug enables debugging log level for the discovery service controllers. It is safe to
	// use since secret data is never shown in the logs.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Debug *bool `json:"debug,omitempty"`
	// Resources holds the Resource Requirements to use for the discovery service
	// Deployment. When not set it defaults to no resource requests nor limits.
	// CPU and Memory resources are supported.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
	// PKIConfig has configuration for the PKI that marin3r manages for the
	// different certificates it requires
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	PKIConfig *PKIConfig `json:"pkiConfg,omitempty"`
	// XdsServerPort is the port where the xDS server listens. Defaults to 18000.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	XdsServerPort *uint32 `json:"xdsServerPort,omitempty"`
	// MetricsPort is the port where metrics are served. Defaults to 8383.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	MetricsPort *uint32 `json:"metricsPort,omitempty"`
	// ServiceConfig configures the way the DiscoveryService endpoints are exposed
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	ServiceConfig *ServiceConfig `json:"serviceConfig,omitempty"`
}

DiscoveryServiceSpec defines the desired state of DiscoveryService

func (*DiscoveryServiceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServiceSpec.

func (*DiscoveryServiceSpec) DeepCopyInto

func (in *DiscoveryServiceSpec) DeepCopyInto(out *DiscoveryServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiscoveryServiceStatus

type DiscoveryServiceStatus struct {
	// Conditions represent the latest available observations of an object's state
	// +operator-sdk:csv:customresourcedefinitions:type=status
	Conditions status.Conditions `json:"conditions"`
}

DiscoveryServiceStatus defines the observed state of DiscoveryService

func (*DiscoveryServiceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServiceStatus.

func (*DiscoveryServiceStatus) DeepCopyInto

func (in *DiscoveryServiceStatus) DeepCopyInto(out *DiscoveryServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PKIConfig added in v0.7.0

type PKIConfig struct {
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	RootCertificateAuthority *CertificateOptions `json:"rootCertificateAuthority"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	ServerCertificate *CertificateOptions `json:"serverCertificate"`
}

PKIConfig has configuration for the PKI that marin3r manages for the different certificates it requires

func (*PKIConfig) DeepCopy added in v0.7.0

func (in *PKIConfig) DeepCopy() *PKIConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PKIConfig.

func (*PKIConfig) DeepCopyInto added in v0.7.0

func (in *PKIConfig) DeepCopyInto(out *PKIConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SelfSignedConfig

type SelfSignedConfig struct{}

SelfSignedConfig is an empty struct to refer to the selfsiged certificates provisioner

func (*SelfSignedConfig) DeepCopy

func (in *SelfSignedConfig) DeepCopy() *SelfSignedConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSignedConfig.

func (*SelfSignedConfig) DeepCopyInto

func (in *SelfSignedConfig) DeepCopyInto(out *SelfSignedConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceConfig added in v0.7.0

type ServiceConfig struct {
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Name string `json:"name,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Type ServiceType `json:"type,omitempty"`
}

ServiceConfig has options to configure the way the Service is deployed

func (*ServiceConfig) DeepCopy added in v0.7.0

func (in *ServiceConfig) DeepCopy() *ServiceConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConfig.

func (*ServiceConfig) DeepCopyInto added in v0.7.0

func (in *ServiceConfig) DeepCopyInto(out *ServiceConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceType added in v0.7.0

type ServiceType string

ServiceType is an enum with the available discovery service Service types

const (
	// ClusterIPType represents a ClusterIP Service
	ClusterIPType ServiceType = "ClusterIP"
	// LoadBalancerType represents a LoadBalancer Service
	LoadBalancerType ServiceType = "LoadBalancer"
	// HeadlessType represents a headless Service
	HeadlessType ServiceType = "Headless"
)

Jump to

Keyboard shortcuts

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