Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2023 Changes in this version + type Args struct + func NewArgs(args_ []string) *Args + func (args Args) GetValue(name string) string + func (args Args) GetValueOrDefault(name, defaultValue string) string + type Client struct + func (c Client) Exec(podName, containerName string, cmd []string) error + func (c Client) GetDaemonSet(ctx context.Context, name string) (appsv1.DaemonSet, error) + func (c Client) GetDeployment(ctx context.Context, name string) (appsv1.Deployment, error) + func (c Client) GetNamespace() string + func (c Client) GetNode(ctx context.Context, name string) (corev1.Node, error) + func (c Client) ListAllCommunities(ctx context.Context) ([]apisv1.Community, error) + func (c Client) ListClusters(ctx context.Context) ([]apisv1.Cluster, error) + func (c Client) ListNodes(ctx context.Context, labels client.MatchingLabels) ([]corev1.Node, error) + type ClientFactory struct + Namespace string + func NewClientFlags() *ClientFactory + func (cfg *ClientFactory) AddFlags(fs *pflag.FlagSet) + func (cfg ClientFactory) GetClient() (*Client, error) + func (cfg ClientFactory) GetConfig() (*rest.Config, error) + type ClientGetter interface + GetClient func() (*Client, error) + GetConfig func() (*rest.Config, error) + type Cluster struct + CNIType string + Communities map[string]apisv1.Community + EdgeLabels map[string]string + EdgeToCommunities map[string][]string + EndpointIDFormat string + Name string + NewEndpoint ftypes.NewEndpointFunc + func NewCluster(client *Client) *Cluster + func (cluster *Cluster) ExtractArgumentsFromFabEdge() error + func (cluster *Cluster) LoadCommunities() error + type ExecResult struct + Err error + Stderr string + Stdout string + type ObjectKey = client.ObjectKey