teem

package
v2.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

View Source
const (
	TOTAL = "total"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceTypes

type ResourceTypes struct {
	Ingresses       map[string]int
	Routes          map[string]int
	Configmaps      map[string]int
	VirtualServer   map[string]int
	TransportServer map[string]int
	ExternalDNS     map[string]int
	IngressLink     map[string]int
	IPAMVS          map[string]int
	IPAMTS          map[string]int
	IPAMSvcLB       map[string]int
	NativeRoutes    map[string]int
	RouteGroups     map[string]int
}

ResourceTypes structure maintains a map of namespaces to resource count

type TeemsData

type TeemsData struct {
	sync.Mutex
	CisVersion      string
	SDNType         string
	Agent           string
	PoolMemberType  string
	DateOfCISDeploy string
	PlatformInfo    string
	ResourceType    ResourceTypes
	AccessEnabled   bool // Will be set to false if network rules don't permit
	RegistrationKey string
	ClusterCount    int
}

TeemsData structure contains supporting data to be posted to TEEM's server

func (*TeemsData) PostTeemsData

func (td *TeemsData) PostTeemsData() bool

PostTeemsData posts data to TEEM server and returns a boolean response useful to decide if network rules permit to access server

Jump to

Keyboard shortcuts

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