Documentation
¶
Index ¶
- func NewContainerObject(obj interface{}, c content.Client, store content.Store) content.Object
- func NewEnvironmentObject(obj interface{}, c content.Client, store content.Store) content.Object
- func NewHostObject(obj interface{}, c content.Client, store content.Store) content.Object
- func NewNetworkObject(obj interface{}, c content.Client, store content.Store) content.Object
- func NewSelfObject(version, ip string, store content.Store) content.Object
- func NewServiceObject(obj interface{}, c content.Client, store content.Store) content.Object
- func NewStackObject(obj interface{}, c content.Client, store content.Store) content.Object
- type ContainerWrapper
- type EnvironmentWrapper
- type HostWrapper
- type NetworkWrapper
- type Self
- type ServiceWrapper
- type Stack
- type WrappedObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainerObject ¶
func NewEnvironmentObject ¶
func NewHostObject ¶
func NewNetworkObject ¶
func NewServiceObject ¶
Types ¶
type ContainerWrapper ¶
type EnvironmentWrapper ¶
type HostWrapper ¶
type NetworkWrapper ¶
type ServiceWrapper ¶
type WrappedObject ¶
type WrappedObject struct {
Wrapped wrapped
}
func (*WrappedObject) Get ¶
func (w *WrappedObject) Get(key string) (interface{}, bool)
func (*WrappedObject) Map ¶
func (w *WrappedObject) Map() (map[string]interface{}, error)
func (*WrappedObject) MarshalJSON ¶
func (w *WrappedObject) MarshalJSON() ([]byte, error)
func (*WrappedObject) Name ¶
func (w *WrappedObject) Name() string
Click to show internal directories.
Click to hide internal directories.