Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoInjectionFeature ¶
type AutoInjectionFeature struct {
CommonFeatureFields
}
AutoInjectionFeature is the auto injection feature.
func NewAutoInjectionFeature ¶
func NewAutoInjectionFeature(opts *Options) *AutoInjectionFeature
NewAutoInjectionFeature creates a new AutoInjectionFeature and returns a pointer to it.
func (*AutoInjectionFeature) RenderManifest ¶
func (f *AutoInjectionFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*AutoInjectionFeature) Run ¶
func (f *AutoInjectionFeature) Run() error
Run implements the IstioFeature interface.
type BaseFeature ¶
type BaseFeature struct { // CommonFeatureFields is the struct shared among all features. CommonFeatureFields }
BaseFeature is the base feature, containing essential Istio base items.
func NewBaseFeature ¶
func NewBaseFeature(opts *Options) *BaseFeature
NewBaseFeature creates a new BaseFeature and returns a pointer to it.
func (*BaseFeature) RenderManifest ¶
func (f *BaseFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*BaseFeature) Run ¶
func (f *BaseFeature) Run() error
Run implements the IstioFeature interface.
type CommonFeatureFields ¶
type CommonFeatureFields struct { // Options is an embedded struct. Options // contains filtered or unexported fields }
CommonFeatureFields are fields common to all features.
type ConfigManagementFeature ¶
type ConfigManagementFeature struct {
CommonFeatureFields
}
ConfigManagementFeature is the config management feature.
func NewConfigManagementFeature ¶
func NewConfigManagementFeature(opts *Options) *ConfigManagementFeature
NewConfigManagementFeature creates a new ConfigManagementFeature and returns a pointer to it.
func (*ConfigManagementFeature) RenderManifest ¶
func (f *ConfigManagementFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*ConfigManagementFeature) Run ¶
func (f *ConfigManagementFeature) Run() error
Run implements the IstioFeature interface.
type GatewayFeature ¶
type GatewayFeature struct {
CommonFeatureFields
}
GatewayFeature is the istio gateways feature.
func NewGatewayFeature ¶
func NewGatewayFeature(opts *Options) *GatewayFeature
NewGatewayFeature creates a new GatewayFeature and returns a pointer to it.
func (*GatewayFeature) RenderManifest ¶
func (f *GatewayFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*GatewayFeature) Run ¶
func (f *GatewayFeature) Run() error
Run implements the IstioFeature interface.
type IstioFeature ¶
type IstioFeature interface { // Run starts the Istio feature operation. Must be called before feature can be used. Run() error // RenderManifest returns a manifest string rendered against the IstioControlPlane parameters. RenderManifest() (name.ManifestMap, util.Errors) }
IstioFeature is a feature corresponding to Istio features defined in the IstioControlPlane proto.
func NewFeature ¶
func NewFeature(ft name.FeatureName, opts *Options) IstioFeature
type Options ¶
type Options struct { // InstallSpec is the installation spec for the control plane. InstallSpec *v1alpha2.IstioControlPlaneSpec // Translator is the translator for this feature. Translator *translate.Translator }
Options are options for IstioFeature.
type PolicyFeature ¶
type PolicyFeature struct {
CommonFeatureFields
}
PolicyFeature is the policy feature.
func NewPolicyFeature ¶
func NewPolicyFeature(opts *Options) *PolicyFeature
NewPolicyFeature creates a new PolicyFeature and returns a pointer to it.
func (*PolicyFeature) RenderManifest ¶
func (f *PolicyFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*PolicyFeature) Run ¶
func (f *PolicyFeature) Run() error
Run implements the IstioFeature interface.
type SecurityFeature ¶
type SecurityFeature struct {
CommonFeatureFields
}
SecurityFeature is the security feature.
func NewSecurityFeature ¶
func NewSecurityFeature(opts *Options) *SecurityFeature
NewSecurityFeature creates a new SecurityFeature and returns a pointer to it.
func (*SecurityFeature) RenderManifest ¶
func (f *SecurityFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*SecurityFeature) Run ¶
func (f *SecurityFeature) Run() error
Run implements the IstioFeature interface.
type TelemetryFeature ¶
type TelemetryFeature struct {
CommonFeatureFields
}
TelemetryFeature is the telemetry feature.
func NewTelemetryFeature ¶
func NewTelemetryFeature(opts *Options) *TelemetryFeature
NewTelemetryFeature creates a new TelemetryFeature and returns a pointer to it.
func (*TelemetryFeature) RenderManifest ¶
func (f *TelemetryFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*TelemetryFeature) Run ¶
func (f *TelemetryFeature) Run() error
Run implements the IstioFeature interface.
type ThirdPartyFeature ¶
type ThirdPartyFeature struct { // CommonFeatureFields is the struct shared among all features. CommonFeatureFields }
ThirdPartyFeature is the traffic management feature.
func NewThirdPartyFeature ¶
func NewThirdPartyFeature(opts *Options) *ThirdPartyFeature
NewThirdPartyFeature creates a new ThirdPartyFeature and returns a pointer to it.
func (*ThirdPartyFeature) RenderManifest ¶
func (f *ThirdPartyFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*ThirdPartyFeature) Run ¶
func (f *ThirdPartyFeature) Run() error
Run implements the IstioFeature interface.
type TrafficManagementFeature ¶
type TrafficManagementFeature struct { // CommonFeatureFields is the struct shared among all features. CommonFeatureFields }
TrafficManagementFeature is the traffic management feature.
func NewTrafficManagementFeature ¶
func NewTrafficManagementFeature(opts *Options) *TrafficManagementFeature
NewTrafficManagementFeature creates a new TrafficManagementFeature and returns a pointer to it.
func (*TrafficManagementFeature) RenderManifest ¶
func (f *TrafficManagementFeature) RenderManifest() (name.ManifestMap, util.Errors)
RenderManifest implements the IstioFeature interface.
func (*TrafficManagementFeature) Run ¶
func (f *TrafficManagementFeature) Run() error
Run implements the IstioFeature interface.