Documentation ¶
Index ¶
- type Args
- type Client
- 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
- type ClientGetter
- type Cluster
- type ExecResult
- type ObjectKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct {
// contains filtered or unexported fields
}
func (Args) GetValueOrDefault ¶
type Client ¶
func (Client) GetDaemonSet ¶
func (Client) GetDeployment ¶
func (Client) GetNamespace ¶
func (Client) ListAllCommunities ¶
func (Client) ListClusters ¶
type ClientFactory ¶
type ClientFactory struct {
Namespace string
}
func NewClientFlags ¶
func NewClientFlags() *ClientFactory
func (*ClientFactory) AddFlags ¶
func (cfg *ClientFactory) AddFlags(fs *pflag.FlagSet)
func (ClientFactory) GetClient ¶
func (cfg ClientFactory) GetClient() (*Client, error)
type ClientGetter ¶
type Cluster ¶
type Cluster struct { Name string CNIType string EdgeLabels map[string]string EndpointIDFormat string NewEndpoint ftypes.NewEndpointFunc EdgeToCommunities map[string][]string Communities map[string]apisv1.Community // contains filtered or unexported fields }
func NewCluster ¶
func (*Cluster) ExtractArgumentsFromFabEdge ¶
func (*Cluster) LoadCommunities ¶
type ExecResult ¶
Click to show internal directories.
Click to hide internal directories.