Documentation ¶
Index ¶
- Constants
- Variables
- type Config
- func (c *Config) CreateDestinationRuleResources(routes []*models.RouteWithBackends, version string) (resources []*mcp.Resource)
- func (c *Config) CreateGatewayResources() (resources []*mcp.Resource)
- func (c *Config) CreateServiceEntryResources(routes []*models.RouteWithBackends, version string) (resources []*mcp.Resource)
- func (c *Config) CreateSidecarResources(routes []*models.RouteWithBackends, policies []*policy_client.Policy, ...) (resources []*mcp.Resource)
- func (c *Config) CreateVirtualServiceResources(routes []*models.RouteWithBackends, version string) (resources []*mcp.Resource)
- func (c *Config) EmptyResponse() []*mcp.Resource
- type Snapshot
Constants ¶
View Source
const ( DefaultGatewayName = "cloudfoundry-ingress" DefaultSidecarName = "cloudfoundry-default-sidecar" )
Variables ¶
View Source
var ( // TODO: Remove unsupported typeURLs (everything except Gateway, VirtualService, DestinationRule) // when mcp client is capable of only sending a subset of the types AuthenticationPolicyTypeURL string AuthenticationMeshPolicyTypeURL string AuthorizationPolicyTypeURL string DestinationRuleTypeURL string VirtualServiceTypeURL string GatewayTypeURL string ServiceEntryTypeURL string EnvoyFilterTypeURL string SidecarTypeURL string HTTPAPISpecTypeURL string HTTPAPISpecBindingTypeURL string QuotaSpecTypeURL string QuotaSpecBindingTypeURL string PolicyTypeURL string MeshPolicyTypeURL string ServiceRoleTypeURL string ServiceRoleBindingTypeURL string RbacConfigTypeURL string ClusterRbacConfigTypeURL string )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) CreateDestinationRuleResources ¶
func (*Config) CreateGatewayResources ¶
func (*Config) CreateServiceEntryResources ¶
func (*Config) CreateSidecarResources ¶
func (c *Config) CreateSidecarResources(routes []*models.RouteWithBackends, policies []*policy_client.Policy, version string) (resources []*mcp.Resource)
func (*Config) CreateVirtualServiceResources ¶
func (*Config) EmptyResponse ¶
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger lager.Logger, ticker <-chan time.Time, collector collector, setter setter, builder *snap.InMemoryBuilder, policyServerClient policy_client.InternalPolicyClient, config config) *Snapshot
Click to show internal directories.
Click to hide internal directories.