Black Lives Matter
Support the Equal Justice Initiative
Link to Go homepage
  • Why Go
  • Getting Started
  • Discover Packages
  • About
Go.
  • Why Go
  • Getting Started
  • Discover Packages
  • About
  • golang.org
Discover Packages github.com/aergoio/hc pkg cli admin groups new
Go

new

package
Version: v4.2.0-alpha.0+incompa...
Latest Latest Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 12 Imported by: 0
  • Documentation
    • Index
    • Constants
    • Variables
    • Functions
      • NewCmdNewGroup(name, fullName, f, streams)
    • Types
      • type NewGroupOptions
        • NewNewGroupOptions(streams)
        • (o) Complete(f, cmd, args)
        • (o) Run()
        • (o) Validate()
  • Source Files

Documentation ¶

Index ¶

  • Constants
  • func NewCmdNewGroup(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
  • type NewGroupOptions
    • func NewNewGroupOptions(streams genericclioptions.IOStreams) *NewGroupOptions
    • func (o *NewGroupOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error
    • func (o *NewGroupOptions) Run() error
    • func (o *NewGroupOptions) Validate() error

Constants ¶

View Source
const NewGroupRecommendedName = "new"

Variables ¶

This section is empty.

Functions ¶

func NewCmdNewGroup ¶

func NewCmdNewGroup(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

Types ¶

type NewGroupOptions ¶

type NewGroupOptions struct {
	PrintFlags *genericclioptions.PrintFlags
	Printer    printers.ResourcePrinter

	GroupClient userv1typedclient.GroupsGetter

	Group string
	Users []string

	DryRun bool

	genericclioptions.IOStreams
}

func NewNewGroupOptions ¶

func NewNewGroupOptions(streams genericclioptions.IOStreams) *NewGroupOptions

func (*NewGroupOptions) Complete ¶

func (o *NewGroupOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

func (*NewGroupOptions) Run ¶

func (o *NewGroupOptions) Run() error

func (*NewGroupOptions) Validate ¶

func (o *NewGroupOptions) Validate() error

Source Files ¶

View all
  • new.go

Details

  • unchecked Valid go.mod file
  • checked Redistributable license
  • checked Tagged version
  • unchecked Stable version
Learn more

Repository

https://github.com/aergoio/hc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
Why Go Use Cases Case Studies
Getting Started Playground Tour Stack Overflow
Discover Packages
About Download Blog Release Notes Brand Guidelines Code of Conduct
Connect Twitter GitHub Slack Meetup
Gopher in flight goggles
  • Copyright
  • Terms of Service
  • Privacy Policy
  • Report an Issue
  • golang.org
Google logo