discovery

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client will implement discovery functions for kubernetes resources

func NewClient

func NewClient(config *rest.Config) (*Client, error)

NewKubeClientForConfig constructor

func (*Client) ListAuthorizationPolicies

func (c *Client) ListAuthorizationPolicies(namespace string) ([]security.AuthorizationPolicy, error)

ListAuthorizationPolicies for given namespace

func (*Client) ListDeployments

func (c *Client) ListDeployments(namespace string) ([]appv1.Deployment, error)

ListDeployments for given namespace

func (*Client) ListDestinationRules

func (c *Client) ListDestinationRules(namespace string) ([]networking.DestinationRule, error)

ListDestinationRules for given namespace

func (*Client) ListEnvoyFilters

func (c *Client) ListEnvoyFilters(namespace string) ([]networkingV1alpha3.EnvoyFilter, error)

ListEnvoyFilters for given namespace

func (*Client) ListGateways

func (c *Client) ListGateways(namespace string) ([]networking.Gateway, error)

ListGateways for given namespace

func (*Client) ListNamespaces

func (c *Client) ListNamespaces() ([]corev1.Namespace, error)

ListNamespaces will list namespace items

func (*Client) ListNodes

func (c *Client) ListNodes() ([]corev1.Node, error)

ListNodes will list Node items

func (*Client) ListPeerAuthentications

func (c *Client) ListPeerAuthentications(namespace string) ([]security.PeerAuthentication, error)

ListPeerAuthentications for given namespace

func (*Client) ListPods

func (c *Client) ListPods(namespace string) ([]corev1.Pod, error)

ListPods for given namespace

func (*Client) ListRequestAuthentications

func (c *Client) ListRequestAuthentications(namespace string) ([]security.RequestAuthentication, error)

ListRequestAuthentications for given namespace

func (*Client) ListServiceEntries

func (c *Client) ListServiceEntries(namespace string) ([]networking.ServiceEntry, error)

ListServiceEntries for given namespace

func (*Client) ListSidecars

func (c *Client) ListSidecars(namespace string) ([]networking.Sidecar, error)

ListSidecars for given namespace

func (*Client) ListVirtualServices

func (c *Client) ListVirtualServices(namespace string) ([]networking.VirtualService, error)

ListVirtualServices for given namespace

func (*Client) ListWorkloadEntries

func (c *Client) ListWorkloadEntries(namespace string) ([]networking.WorkloadEntry, error)

ListWorkloadEntries for given namespace

func (*Client) ListWorkloadGroups

func (c *Client) ListWorkloadGroups(namespace string) ([]networkingV1alpha3.WorkloadGroup, error)

ListWorkloadGroups for given namespace

Jump to

Keyboard shortcuts

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