Documentation
¶
Index ¶
- func APICaller() sacloud.APICaller
- func RunColumnDefTest(t *testing.T, targets ColumnDefTestTargets)
- type ColumnDefTestTarget
- type ColumnDefTestTargets
- type DummyCLIContext
- func (c *DummyCLIContext) Args() []string
- func (c *DummyCLIContext) Client() sacloud.APICaller
- func (c *DummyCLIContext) CommandName() string
- func (c *DummyCLIContext) Deadline() (deadline time.Time, ok bool)
- func (c *DummyCLIContext) Done() <-chan struct{}
- func (c *DummyCLIContext) Err() error
- func (c *DummyCLIContext) ID() types.ID
- func (c *DummyCLIContext) IO() cli.IO
- func (c *DummyCLIContext) Option() *config.Config
- func (c *DummyCLIContext) Output() output.Output
- func (c *DummyCLIContext) Resource() interface{}
- func (c *DummyCLIContext) ResourceName() string
- func (c *DummyCLIContext) Value(key interface{}) interface{}
- func (c *DummyCLIContext) WithResource(id types.ID, zone string, resource interface{}) cli.Context
- func (c *DummyCLIContext) Zone() string
- type DummyCLIContextValue
- type DummyIO
- type DummyIOValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunColumnDefTest ¶
func RunColumnDefTest(t *testing.T, targets ColumnDefTestTargets)
Types ¶
type ColumnDefTestTarget ¶
type ColumnDefTestTargets ¶
type ColumnDefTestTargets struct { ColumnDefs []output.ColumnDef Source interface{} Tests []*ColumnDefTestTarget }
type DummyCLIContext ¶
type DummyCLIContext struct {
DummyValue *DummyCLIContextValue
}
func (*DummyCLIContext) Args ¶
func (c *DummyCLIContext) Args() []string
func (*DummyCLIContext) Client ¶
func (c *DummyCLIContext) Client() sacloud.APICaller
func (*DummyCLIContext) CommandName ¶
func (c *DummyCLIContext) CommandName() string
func (*DummyCLIContext) Deadline ¶
func (c *DummyCLIContext) Deadline() (deadline time.Time, ok bool)
func (*DummyCLIContext) Done ¶
func (c *DummyCLIContext) Done() <-chan struct{}
func (*DummyCLIContext) Err ¶
func (c *DummyCLIContext) Err() error
func (*DummyCLIContext) ID ¶
func (c *DummyCLIContext) ID() types.ID
func (*DummyCLIContext) IO ¶
func (c *DummyCLIContext) IO() cli.IO
func (*DummyCLIContext) Option ¶
func (c *DummyCLIContext) Option() *config.Config
func (*DummyCLIContext) Output ¶
func (c *DummyCLIContext) Output() output.Output
func (*DummyCLIContext) Resource ¶
func (c *DummyCLIContext) Resource() interface{}
func (*DummyCLIContext) ResourceName ¶
func (c *DummyCLIContext) ResourceName() string
func (*DummyCLIContext) Value ¶
func (c *DummyCLIContext) Value(key interface{}) interface{}
func (*DummyCLIContext) WithResource ¶
func (*DummyCLIContext) Zone ¶
func (c *DummyCLIContext) Zone() string
type DummyCLIContextValue ¶
type DummyIO ¶
type DummyIO struct {
DummyValue *DummyIOValue
}
Click to show internal directories.
Click to hide internal directories.