Documentation ¶
Index ¶
- func NewLogsCmd(logger *zap.Logger, configFlag *genericclioptions.ConfigFlags, ...) *cobra.Command
- func NewNaglfarCmd(logger *zap.Logger, streams genericclioptions.IOStreams) *cobra.Command
- type NaglfarClient
- func (c *NaglfarClient) GetMachine(ctx context.Context, name string) (*naglfarv1.Machine, error)
- func (c *NaglfarClient) GetMachineByHostIP(ctx context.Context, hostIP string) (*naglfarv1.Machine, error)
- func (c *NaglfarClient) GetObject(ctx context.Context, obj runtime.Object) error
- func (c *NaglfarClient) GetResource(ctx context.Context, ns string, name string) (*naglfarv1.TestResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogsCmd ¶
func NewLogsCmd(logger *zap.Logger, configFlag *genericclioptions.ConfigFlags, rbFlags *genericclioptions.ResourceBuilderFlags, streams genericclioptions.IOStreams) *cobra.Command
func NewNaglfarCmd ¶
Types ¶
type NaglfarClient ¶
type NaglfarClient struct { client.Client *kubernetes.Clientset }
func (*NaglfarClient) GetMachine ¶
func (*NaglfarClient) GetMachineByHostIP ¶
func (*NaglfarClient) GetResource ¶
func (c *NaglfarClient) GetResource(ctx context.Context, ns string, name string) (*naglfarv1.TestResource, error)
Click to show internal directories.
Click to hide internal directories.