Documentation
¶
Index ¶
- Constants
- func Istio(cfg *Configuration) (*IstioComponentCRDs, *IstioComponent, error)
- type AmbientConfig
- type BaseOpts
- type Configuration
- type GlobalConfig
- type IstioCNIOpts
- type IstioComponent
- type IstioComponentCRDs
- type IstioResources
- type IstiodOpts
- type ProxyConfig
- type ProxyInitConfig
- type ResourceOpts
- type ZTunnelOpts
Constants ¶
View Source
const ( IstioNamespace = common.CalicoNamespace IstioReleaseName = "calico-istio" IstioIstiodDeploymentName = "istiod" IstioCNIDaemonSetName = "istio-cni-node" IstioZTunnelDaemonSetName = "ztunnel" IstioSidecarInjectorConfigMapName = "istio-sidecar-injector" IstioOperatorAnnotationMode = "operator.tigera.io/istioAmbientMode" IstioOperatorAnnotationDSCP = "operator.tigera.io/istioDSCPMark" IstioFinalizer = "operator.tigera.io/calico-istio" IstioIstiodPolicyName = networkpolicy.TigeraComponentPolicyPrefix + IstioIstiodDeploymentName IstioCNIPolicyName = networkpolicy.TigeraComponentPolicyPrefix + IstioCNIDaemonSetName IstioZTunnelPolicyName = networkpolicy.TigeraComponentPolicyPrefix + IstioZTunnelDaemonSetName IstioIstiodServiceName = "istiod" )
Variables ¶
This section is empty.
Functions ¶
func Istio ¶
func Istio(cfg *Configuration) (*IstioComponentCRDs, *IstioComponent, error)
Types ¶
type AmbientConfig ¶
type BaseOpts ¶
type BaseOpts struct {
Global *GlobalConfig `json:"global,omitempty"`
}
type Configuration ¶
type Configuration struct {
Installation *operatorv1.InstallationSpec
PullSecrets []*corev1.Secret
Istio *operatorv1.Istio
IstioNamespace string
Scheme *runtime.Scheme
}
type GlobalConfig ¶
type GlobalConfig struct {
IstioNamespace string `json:"istioNamespace,omitempty"`
OperatorManageWebhooks bool `json:"operatorManageWebhooks,omitempty"`
Proxy *ProxyConfig `json:"proxy,omitempty"`
ProxyInit *ProxyInitConfig `json:"proxy_init,omitempty"`
Platform string `json:"platform,omitempty"`
}
type IstioCNIOpts ¶
type IstioCNIOpts struct {
Image string `json:"image,omitempty"`
Global *GlobalConfig `json:"global,omitempty"`
Ambient *AmbientConfig `json:"ambient,omitempty"`
}
type IstioComponent ¶
type IstioComponent struct {
IstioPilotImage string
IstioInstallCNIImage string
IstioZTunnelImage string
IstioProxyv2Image string
// contains filtered or unexported fields
}
func (*IstioComponent) Objects ¶
func (c *IstioComponent) Objects() ([]client.Object, []client.Object)
Objects implements the Component interface.
func (*IstioComponent) Ready ¶
func (c *IstioComponent) Ready() bool
func (*IstioComponent) ResolveImages ¶
func (c *IstioComponent) ResolveImages(is *operatorv1.ImageSet) error
func (*IstioComponent) SupportedOSType ¶
func (c *IstioComponent) SupportedOSType() rmeta.OSType
type IstioComponentCRDs ¶
type IstioComponentCRDs struct {
// contains filtered or unexported fields
}
func (*IstioComponentCRDs) Objects ¶
func (c *IstioComponentCRDs) Objects() ([]client.Object, []client.Object)
func (*IstioComponentCRDs) Ready ¶
func (c *IstioComponentCRDs) Ready() bool
func (*IstioComponentCRDs) ResolveImages ¶
func (c *IstioComponentCRDs) ResolveImages(is *operatorv1.ImageSet) error
func (*IstioComponentCRDs) SupportedOSType ¶
func (c *IstioComponentCRDs) SupportedOSType() rmeta.OSType
type IstioResources ¶
type IstiodOpts ¶
type IstiodOpts struct {
Image string `json:"image,omitempty"`
Global *GlobalConfig `json:"global,omitempty"`
Profile string `json:"profile,omitempty"`
}
type ProxyConfig ¶
type ProxyConfig struct {
Image string `json:"image,omitempty"`
}
type ProxyInitConfig ¶
type ProxyInitConfig struct {
Image string `json:"image,omitempty"`
}
type ResourceOpts ¶
type ResourceOpts struct {
Namespace string
ReleaseName string
IstiodDeploymentName string
IstioCNIDaemonSetName string
IstioZTunnelDaemonSetName string
BaseOpts BaseOpts
IstiodOpts IstiodOpts
IstioCNIOpts IstioCNIOpts
ZTunnelOpts ZTunnelOpts
}
func (*ResourceOpts) GetResources ¶
func (r *ResourceOpts) GetResources(scheme *runtime.Scheme) (*IstioResources, error)
GetResources returns istio-chart generated templates
type ZTunnelOpts ¶
type ZTunnelOpts struct {
Image string `json:"image,omitempty"`
Global *GlobalConfig `json:"global,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.