Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeploymentPath ¶
func DeploymentPath(id types.DeploymentID) string
DeploymentPath return deployment path of given deployment id for queries
func NewQuerier ¶
NewQuerier creates and returns a new deployment querier instance
Types ¶
type Client ¶
type Client interface { Deployments(types.DeploymentFilters) (Deployments, error) Deployment(types.DeploymentID) (Deployment, error) Group(types.GroupID) (Group, error) }
Client interface
type Deployment ¶
type Deployment struct { types.Deployment `json:"deployment"` Groups []types.Group `json:"groups"` }
Deployment stores deployment and groups details
func (Deployment) String ¶
func (d Deployment) String() string
type Deployments ¶
type Deployments []Deployment
Deployments represents slice of deployment struct
func (Deployments) String ¶
func (ds Deployments) String() string
type RawClient ¶
type RawClient interface { Deployments(types.DeploymentFilters) ([]byte, error) Deployment(types.DeploymentID) ([]byte, error) Group(types.GroupID) ([]byte, error) }
RawClient interface
func NewRawClient ¶
func NewRawClient(ctx context.CLIContext, key string) RawClient
NewRawClient creates a raw client instance with provided context and key
Click to show internal directories.
Click to hide internal directories.