groups

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllGeneratedGroups = append(
	append(
		GlooMeshGroups,
		CertAgentGroups...,
	),
	XdsAgentGroup,
)
View Source
var CertAgentGroups = []model.Group{
	makeGroup("certificates", "v1", []ResourceToGenerate{
		{Kind: "IssuedCertificate"},
		{Kind: "CertificateRequest"},
		{Kind: "PodBounceDirective"},
	}),
}
View Source
var GlooMeshDiscoveryGroup = makeGroup("discovery", "v1", []ResourceToGenerate{
	{Kind: "Destination"},
	{Kind: "Workload"},
	{Kind: "Mesh"},
})
View Source
var GlooMeshEnterpriseNetworkingGroup = makeGroup("networking.enterprise", "v1beta1", []ResourceToGenerate{
	{Kind: "WasmDeployment"},
	{Kind: "VirtualDestination"},
})
View Source
var GlooMeshEnterpriseObservabilityGroup = makeGroup("observability.enterprise", "v1", []ResourceToGenerate{
	{Kind: "AccessLogRecord"},
})
View Source
var GlooMeshEnterpriseRbacGroup = makeGroup("rbac.enterprise", "v1", []ResourceToGenerate{
	{Kind: "Role", ShortNames: []string{"gmrole", "gmroles"}},
	{Kind: "RoleBinding", ShortNames: []string{"gmrolebinding", "gmrolebindings"}},
})
View Source
var GlooMeshNetworkingGroup = makeGroup("networking", "v1", []ResourceToGenerate{
	{Kind: "TrafficPolicy"},
	{Kind: "AccessPolicy"},
	{Kind: "VirtualMesh"},
})
View Source
var GlooMeshSettingsGroup = makeGroup("settings", "v1", []ResourceToGenerate{
	{Kind: "Settings"},
})
View Source
var XdsAgentGroup = makeGroup("xds.agent.enterprise", "v1beta1", []ResourceToGenerate{
	{Kind: "XdsConfig"},
})

Functions

func MakeGroup

func MakeGroup(module, apiRoot, groupPrefix, version string, resourcesToGenerate []ResourceToGenerate) model.Group

exported for use in enterprise repo

Types

type ResourceToGenerate

type ResourceToGenerate struct {
	Kind       string
	ShortNames []string
	NoStatus   bool // don't put a status on this resource
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL