Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeshConfig ¶
type MeshConfig struct {
// mtls
MeshPolicy *v1alpha1.MeshPolicy // meshpolicy is a singleton
// root cert
RootCert *v1.TlsSecret // singleton
// routing
DestinationRules v1alpha3.DestinationRuleList
VirtualServices v1alpha3.VirtualServiceList
// rbac
SecurityConfig
}
A container for the entire set of config for a single istio mesh
func (*MeshConfig) Sort ¶
func (c *MeshConfig) Sort()
type SecurityConfig ¶
type SecurityConfig struct {
RbacConfig *v1alpha1.RbacConfig // singleton
ServiceRoles v1alpha1.ServiceRoleList
ServiceRoleBindings v1alpha1.ServiceRoleBindingList
}
type Translator ¶
type Translator interface {
// translates a snapshot into a set of istio configs for each mesh
Translate(ctx context.Context, snapshot *v1.ConfigSnapshot) (map[*v1.Mesh]*MeshConfig, reporter.ResourceErrors, error)
}
func NewTranslator ¶
func NewTranslator(plugins []plugins.Plugin) Translator
Source Files
¶
Click to show internal directories.
Click to hide internal directories.