Documentation
¶
Index ¶
- Constants
- func TagName(kind ResourceKind) string
- type Container
- type GetContainersOptions
- type Image
- type Options
- type Platform
- func (p *Platform) GetContainers(ctx context.Context, options *GetContainersOptions) ([]Container, error)
- func (p *Platform) GetImage(ctx context.Context, nameOrID string) (*Image, error)
- func (p *Platform) GetVersion(ctx context.Context) (string, string, error)
- func (p *Platform) Graph(ctx context.Context) (*graph.Graph[platform.Node], error)
- type Resource
- type ResourceKind
Constants ¶
View Source
const (
ResourceKindContainer = "container"
)
Variables ¶
This section is empty.
Functions ¶
func TagName ¶
func TagName(kind ResourceKind) string
Types ¶
type GetContainersOptions ¶
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
func NewPlatform ¶
func (*Platform) GetContainers ¶
func (*Platform) GetVersion ¶
type Resource ¶
type Resource interface {
platform.Node
Kind() ResourceKind
Name() string
String() string
}
type ResourceKind ¶
type ResourceKind string
Click to show internal directories.
Click to hide internal directories.