Documentation ¶
Index ¶
- Constants
- type DefaultEnvoyServiceMesh
- func (sm *DefaultEnvoyServiceMesh) BootstrapSystemResources(resources *bootstrapper.SystemResources)
- func (sm *DefaultEnvoyServiceMesh) EgressPorts(service *latticev1.Service) (*EnvoyEgressPorts, error)
- func (sm *DefaultEnvoyServiceMesh) HasServiceIP(address *latticev1.Address) (string, error)
- func (sm *DefaultEnvoyServiceMesh) IsDeploymentSpecUpdated(service *latticev1.Service, ...) (bool, string, *appsv1.DeploymentSpec)
- func (sm *DefaultEnvoyServiceMesh) ReleaseServiceIP(address *latticev1.Address) (map[string]string, error)
- func (sm *DefaultEnvoyServiceMesh) ServiceAddressAnnotations(address *latticev1.Address) (map[string]string, error)
- func (sm *DefaultEnvoyServiceMesh) ServiceAnnotations(service *latticev1.Service) (map[string]string, error)
- func (sm *DefaultEnvoyServiceMesh) ServiceIP(service *latticev1.Service, address *latticev1.Address) (string, map[string]string, error)
- func (sm *DefaultEnvoyServiceMesh) ServiceMeshPort(service *latticev1.Service, port int32) (int32, error)
- func (sm *DefaultEnvoyServiceMesh) ServiceMeshPorts(service *latticev1.Service) (map[int32]int32, error)
- func (sm *DefaultEnvoyServiceMesh) ServicePort(service *latticev1.Service, port int32) (int32, error)
- func (sm *DefaultEnvoyServiceMesh) ServicePorts(service *latticev1.Service) (map[int32]int32, error)
- func (sm *DefaultEnvoyServiceMesh) TransformServicePodTemplateSpec(service *latticev1.Service, spec *corev1.PodTemplateSpec) (*corev1.PodTemplateSpec, error)
- type DefaultEnvoySystemBootstrapper
- type EnvoyEgressPorts
- type Options
- type SystemBootstrapperOptions
Constants ¶
View Source
const (
Envoy = "envoy"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultEnvoyServiceMesh ¶
type DefaultEnvoyServiceMesh struct {
// contains filtered or unexported fields
}
func NewEnvoyServiceMesh ¶
func NewEnvoyServiceMesh(options *Options) (*DefaultEnvoyServiceMesh, error)
func (*DefaultEnvoyServiceMesh) BootstrapSystemResources ¶
func (sm *DefaultEnvoyServiceMesh) BootstrapSystemResources(resources *bootstrapper.SystemResources)
func (*DefaultEnvoyServiceMesh) EgressPorts ¶
func (sm *DefaultEnvoyServiceMesh) EgressPorts(service *latticev1.Service) (*EnvoyEgressPorts, error)
func (*DefaultEnvoyServiceMesh) HasServiceIP ¶
func (sm *DefaultEnvoyServiceMesh) HasServiceIP(address *latticev1.Address) (string, error)
func (*DefaultEnvoyServiceMesh) IsDeploymentSpecUpdated ¶
func (sm *DefaultEnvoyServiceMesh) IsDeploymentSpecUpdated( service *latticev1.Service, current, desired, untransformed *appsv1.DeploymentSpec, ) (bool, string, *appsv1.DeploymentSpec)
func (*DefaultEnvoyServiceMesh) ReleaseServiceIP ¶
func (*DefaultEnvoyServiceMesh) ServiceAddressAnnotations ¶
func (*DefaultEnvoyServiceMesh) ServiceAnnotations ¶
func (*DefaultEnvoyServiceMesh) ServiceMeshPort ¶
func (*DefaultEnvoyServiceMesh) ServiceMeshPorts ¶
func (*DefaultEnvoyServiceMesh) ServicePort ¶
func (*DefaultEnvoyServiceMesh) ServicePorts ¶
func (*DefaultEnvoyServiceMesh) TransformServicePodTemplateSpec ¶
func (sm *DefaultEnvoyServiceMesh) TransformServicePodTemplateSpec( service *latticev1.Service, spec *corev1.PodTemplateSpec, ) (*corev1.PodTemplateSpec, error)
type DefaultEnvoySystemBootstrapper ¶
type DefaultEnvoySystemBootstrapper struct {
*noop.DefaultBootstrapper
}
func NewSystemBootstrapper ¶
func NewSystemBootstrapper(options *SystemBootstrapperOptions) *DefaultEnvoySystemBootstrapper
type EnvoyEgressPorts ¶
type Options ¶
type Options struct { PrepareImage string Image string RedirectCIDRBlock net.IPNet XDSAPIPort int32 }
func NewOptions ¶
func NewOptions(staticOptions *Options, dynamicConfig *latticev1.ConfigServiceMeshEnvoy) (*Options, error)
type SystemBootstrapperOptions ¶
type SystemBootstrapperOptions struct { }
func ParseSystemBootstrapperFlags ¶
func ParseSystemBootstrapperFlags(vars []string) *SystemBootstrapperOptions
func SystemBootstrapperFlags ¶
func SystemBootstrapperFlags() (cli.Flags, *SystemBootstrapperOptions)
Click to show internal directories.
Click to hide internal directories.