Documentation
¶
Index ¶
- func NewDeviceCmd(f *factory.Factory) *cobra.Command
- func NewDeviceListCmd(opts *DeviceOptions) *cobra.Command
- func NewDeviceRevokeCmd(parentOpts *DeviceOptions) *cobra.Command
- func PrintRevokedDevices(response *http.Response, out io.Writer, printJSON bool) error
- type DeviceOptions
- type RevokeOptions
- type TokenType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeviceListCmd ¶
func NewDeviceListCmd(opts *DeviceOptions) *cobra.Command
func NewDeviceRevokeCmd ¶
func NewDeviceRevokeCmd(parentOpts *DeviceOptions) *cobra.Command
Types ¶
type DeviceOptions ¶
type DeviceOptions struct {
Config *configuration.Config
Out io.Writer
Device func(c *configuration.Config) (*device.Device, error)
Debug bool
// contains filtered or unexported fields
}
type RevokeOptions ¶
Click to show internal directories.
Click to hide internal directories.