...

Package logs

Overview ▾

Constants

const (
    DevMode    logsMode = "dev"
    DeployMode logsMode = "deploy"
)
const RecommendedCommandName = "logs"

func NewCmdLogs

func NewCmdLogs(name, fullname string, testClientset clientset.Clientset) *cobra.Command

type LogsOptions

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

func NewLogsOptions

func NewLogsOptions() *LogsOptions

func (*LogsOptions) Complete

func (o *LogsOptions) Complete(ctx context.Context, cmdline cmdline.Cmdline, _ []string) error

func (*LogsOptions) HandleSignal

func (o *LogsOptions) HandleSignal(ctx context.Context, cancelFunc context.CancelFunc) error

func (*LogsOptions) Run

func (o *LogsOptions) Run(ctx context.Context) error

func (*LogsOptions) SetClientset

func (o *LogsOptions) SetClientset(clientset *clientset.Clientset)

func (*LogsOptions) Validate

func (o *LogsOptions) Validate(ctx context.Context) error