Documentation ¶
Index ¶
- func NewPHPAPI(apitoken string) (datastore.Datastore, error)
- type PHPAPI
- func (p *PHPAPI) GetCluster(clusterID string) (*types.SubmarinerCluster, error)
- func (p *PHPAPI) GetClusters(colorCodes []string) ([]types.SubmarinerCluster, error)
- func (p *PHPAPI) GetEndpoints(clusterID string) ([]types.SubmarinerEndpoint, error)
- func (p *PHPAPI) RemoveEndpoint(clusterID, cableName string) error
- func (p *PHPAPI) SetCluster(cluster *types.SubmarinerCluster) error
- func (p *PHPAPI) SetEndpoint(endpoint *types.SubmarinerEndpoint) error
- func (p *PHPAPI) WatchClusters(ctx context.Context, selfClusterID string, colorCodes []string, ...) error
- func (p *PHPAPI) WatchEndpoints(ctx context.Context, selfClusterID string, colorCodes []string, ...) error
- type Specification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PHPAPI ¶
func (*PHPAPI) GetCluster ¶
func (p *PHPAPI) GetCluster(clusterID string) (*types.SubmarinerCluster, error)
func (*PHPAPI) GetClusters ¶
func (p *PHPAPI) GetClusters(colorCodes []string) ([]types.SubmarinerCluster, error)
func (*PHPAPI) GetEndpoints ¶
func (p *PHPAPI) GetEndpoints(clusterID string) ([]types.SubmarinerEndpoint, error)
func (*PHPAPI) RemoveEndpoint ¶
func (*PHPAPI) SetCluster ¶
func (p *PHPAPI) SetCluster(cluster *types.SubmarinerCluster) error
func (*PHPAPI) SetEndpoint ¶
func (p *PHPAPI) SetEndpoint(endpoint *types.SubmarinerEndpoint) error
func (*PHPAPI) WatchClusters ¶
func (*PHPAPI) WatchEndpoints ¶
type Specification ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.