cli: kubedb.dev/cli/pkg/cmds/create Index | Files

package create

import "kubedb.dev/cli/pkg/cmds/create"

Index

Package Files

create.go

func NewCmdCreate Uses

func NewCmdCreate(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

func RunEditOnCreate Uses

func RunEditOnCreate(f cmdutil.Factory, printFlags *genericclioptions.PrintFlags, recordFlags *genericclioptions.RecordFlags, ioStreams genericclioptions.IOStreams, cmd *cobra.Command, options *resource.FilenameOptions) error

type CreateOptions Uses

type CreateOptions struct {
    PrintFlags  *genericclioptions.PrintFlags
    RecordFlags *genericclioptions.RecordFlags

    DryRun bool

    FilenameOptions  resource.FilenameOptions
    Selector         string
    EditBeforeCreate bool
    Raw              string

    Recorder genericclioptions.Recorder
    PrintObj func(obj kruntime.Object) error

    genericclioptions.IOStreams
}

func NewCreateOptions Uses

func NewCreateOptions(ioStreams genericclioptions.IOStreams) *CreateOptions

func (*CreateOptions) Complete Uses

func (o *CreateOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error

func (*CreateOptions) RunCreate Uses

func (o *CreateOptions) RunCreate(f cmdutil.Factory, cmd *cobra.Command) error

func (*CreateOptions) ValidateArgs Uses

func (o *CreateOptions) ValidateArgs(cmd *cobra.Command, args []string) error

Package create imports 16 packages (graph) and is imported by 1 packages. Updated 2019-08-05. Refresh now. Tools for package owners.