13 lines
311 B
Go
13 lines
311 B
Go
|
package client
|
||
|
|
||
|
// Kubernetes client
|
||
|
type Kubernetes interface {
|
||
|
// UpdateDeployment patches deployment annotations with new metadata
|
||
|
UpdateDeployment(string, interface{}) error
|
||
|
}
|
||
|
|
||
|
// Metadata defines api request metadata
|
||
|
type Metadata struct {
|
||
|
Annotations map[string]string `json:"annotations,omitempty"`
|
||
|
}
|