resources

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ApiServerClient

type ApiServerClient interface {
	GetVersion(ctx context.Context) (*types.IndexResponse, error)
}

func NewAPIServerClient

func NewAPIServerClient(client util_http.Client) ApiServerClient

type DataplaneInspectClient added in v1.8.1

type DataplaneInspectClient interface {
	InspectPolicies(ctx context.Context, mesh, name string) (api_server_types.DataplaneInspectResponse, error)
}

func NewDataplaneInspectClient added in v1.8.1

func NewDataplaneInspectClient(client util_http.Client) DataplaneInspectClient

type DataplaneOverviewClient

type DataplaneOverviewClient interface {
	List(ctx context.Context, meshName string, tags map[string]string, gateway bool, ingress bool) (*mesh.DataplaneOverviewResourceList, error)
}

func NewDataplaneOverviewClient

func NewDataplaneOverviewClient(client util_http.Client) DataplaneOverviewClient

type InspectEnvoyProxyClient added in v1.8.1

type InspectEnvoyProxyClient interface {
	ConfigDump(ctx context.Context, rk core_model.ResourceKey) ([]byte, error)
	Stats(ctx context.Context, rk core_model.ResourceKey) ([]byte, error)
	Clusters(ctx context.Context, rk core_model.ResourceKey) ([]byte, error)
}

func NewInspectEnvoyProxyClient added in v1.8.1

func NewInspectEnvoyProxyClient(resDesc core_model.ResourceTypeDescriptor, client util_http.Client) InspectEnvoyProxyClient

type MeshGatewayInspectClient added in v1.8.1

type MeshGatewayInspectClient interface {
	InspectDataplanes(ctx context.Context, mesh, name string) (api_server_types.GatewayDataplanesInspectEntryList, error)
}

func NewMeshGatewayInspectClient added in v1.8.1

func NewMeshGatewayInspectClient(client util_http.Client) MeshGatewayInspectClient

type PolicyInspectClient added in v1.8.1

type PolicyInspectClient interface {
	Inspect(ctx context.Context, policyDesc core_model.ResourceTypeDescriptor, mesh, name string) (*api_server_types.PolicyInspectEntryList, error)
}

func NewPolicyInspectClient added in v1.8.1

func NewPolicyInspectClient(client util_http.Client) PolicyInspectClient

type ServiceOverviewClient

type ServiceOverviewClient interface {
	List(ctx context.Context, mesh string) (*mesh.ServiceOverviewResourceList, error)
}

func NewServiceOverviewClient

func NewServiceOverviewClient(client util_http.Client) ServiceOverviewClient

type ZoneEgressOverviewClient added in v1.8.1

type ZoneEgressOverviewClient interface {
	List(ctx context.Context) (*mesh.ZoneEgressOverviewResourceList, error)
}

func NewZoneEgressOverviewClient added in v1.8.1

func NewZoneEgressOverviewClient(client util_http.Client) ZoneEgressOverviewClient

type ZoneIngressOverviewClient

type ZoneIngressOverviewClient interface {
	List(ctx context.Context) (*mesh.ZoneIngressOverviewResourceList, error)
}

func NewZoneIngressOverviewClient

func NewZoneIngressOverviewClient(client util_http.Client) ZoneIngressOverviewClient

type ZoneOverviewClient

type ZoneOverviewClient interface {
	List(ctx context.Context) (*system.ZoneOverviewResourceList, error)
}

func NewZoneOverviewClient

func NewZoneOverviewClient(client util_http.Client) ZoneOverviewClient

Jump to

Keyboard shortcuts

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