Documentation ¶
Index ¶
- func NewUUID() string
- type VanClient
- func (cli *VanClient) ConnectorCreate(secretFile string, options types.ConnectorCreateOptions) (string, error)
- func (cli *VanClient) ConnectorInspect(name string) (*types.ConnectorInspectResponse, error)
- func (cli *VanClient) ConnectorList() ([]*types.Connector, error)
- func (cli *VanClient) ConnectorRemove(name string) error
- func (cli *VanClient) ConnectorTokenCreate(subject string, secretFile string) error
- func (cli *VanClient) GetRouterSpecFromOpts(options types.SiteConfigSpec, siteId string) (*types.RouterSpec, error)
- func (cli *VanClient) RouterCreate(options types.SiteConfigSpec) error
- func (cli *VanClient) RouterInspect() (*types.RouterInspectResponse, error)
- func (cli *VanClient) RouterRemove() []error
- func (cli *VanClient) ServiceInterfaceBind(service *types.ServiceInterface, targetType string, targetName string, ...) error
- func (cli *VanClient) ServiceInterfaceCreate(service *types.ServiceInterface) error
- func (cli *VanClient) ServiceInterfaceInspect(address string) (*types.ServiceInterface, error)
- func (cli *VanClient) ServiceInterfaceList() ([]types.ServiceInterface, error)
- func (cli *VanClient) ServiceInterfaceRemove(address string) error
- func (cli *VanClient) ServiceInterfaceUnbind(targetType string, targetName string, address string, deleteIfNoTargets bool) error
- func (cli *VanClient) ServiceInterfaceUpdate(ctx context.Context, service *types.ServiceInterface) error
- func (cli *VanClient) SiteConfigCreate(spec types.SiteConfigSpec) (*types.SiteConfig, error)
- func (cli *VanClient) SiteConfigInspect(name string) (*types.SiteConfig, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VanClient ¶
A VAN client manages orchestration and communication with the network components
func (*VanClient) ConnectorCreate ¶
func (*VanClient) ConnectorInspect ¶
func (cli *VanClient) ConnectorInspect(name string) (*types.ConnectorInspectResponse, error)
func (*VanClient) ConnectorRemove ¶
func (*VanClient) ConnectorTokenCreate ¶
func (*VanClient) GetRouterSpecFromOpts ¶
func (cli *VanClient) GetRouterSpecFromOpts(options types.SiteConfigSpec, siteId string) (*types.RouterSpec, error)
func (*VanClient) RouterCreate ¶
func (cli *VanClient) RouterCreate(options types.SiteConfigSpec) error
RouterCreate instantiates a VAN Router (transport and controller)
func (*VanClient) RouterInspect ¶
func (cli *VanClient) RouterInspect() (*types.RouterInspectResponse, error)
func (*VanClient) RouterRemove ¶
RouterRemove delete a VAN (transport and controller) deployment
func (*VanClient) ServiceInterfaceBind ¶
func (*VanClient) ServiceInterfaceCreate ¶
func (cli *VanClient) ServiceInterfaceCreate(service *types.ServiceInterface) error
func (*VanClient) ServiceInterfaceInspect ¶
func (cli *VanClient) ServiceInterfaceInspect(address string) (*types.ServiceInterface, error)
func (*VanClient) ServiceInterfaceList ¶
func (cli *VanClient) ServiceInterfaceList() ([]types.ServiceInterface, error)
func (*VanClient) ServiceInterfaceRemove ¶
func (*VanClient) ServiceInterfaceUnbind ¶
func (*VanClient) ServiceInterfaceUpdate ¶
func (*VanClient) SiteConfigCreate ¶
func (cli *VanClient) SiteConfigCreate(spec types.SiteConfigSpec) (*types.SiteConfig, error)
func (*VanClient) SiteConfigInspect ¶
func (cli *VanClient) SiteConfigInspect(name string) (*types.SiteConfig, error)
Source Files ¶
- client.go
- connector_create.go
- connector_inspect.go
- connector_list.go
- connector_remove.go
- connector_token_create.go
- router_create.go
- router_inspect.go
- router_remove.go
- serviceinterface_create.go
- serviceinterface_inspect.go
- serviceinterface_list.go
- serviceinterface_remove.go
- serviceinterface_update.go
- site_config_create.go
- site_config_inspect.go
Click to show internal directories.
Click to hide internal directories.