Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { AppID string `json:"appID"` HTTPPort int `json:"httpPort"` GRPCPort int `json:"grpcPort"` AppPort int `json:"appPort"` Command string `json:"command"` Age string `json:"age"` Created string `json:"created"` PID int `json:"pid"` Replicas int `json:"replicas"` Address string `json:"address"` SupportsDeletion bool `json:"supportsDeletion"` SupportsLogs bool `json:"supportsLogs"` Manifest string `json:"manifest"` Status string `json:"status"` Labels string `json:"labels"` Selector string `json:"selector"` }
Instance describes a Dapr sidecar instance information
type Instances ¶
type Instances interface { Get() []Instance GetInstance(id string) Instance Delete(id string) error Logs(id string) string Configuration(id string) string CheckSupportedEnvironments() []string }
Instances is an interface to interact with running Dapr instances in Kubrernetes or Standalone modes
func NewInstances ¶
func NewInstances(kubeClient *kubernetes.Clientset) Instances
NewInstances returns an Instances implementation
Click to show internal directories.
Click to hide internal directories.