Documentation ¶
Index ¶
Constants ¶
View Source
const AnnotateConflict = derrors.StrError("annotate conflict")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct {
Metadata ObjectMeta `json:"metadata"`
}
type K8s ¶
type K8s interface { CurrentNamespace() string DeploymentAnnotate(ctx context.Context, buf *bytes.Buffer, namespace, deploymentName, resourceVersion, key string, value *string) (resourceVersionRet string, err error) DeploymentRead(ctx context.Context, namespace, podName string) (*Deployment, error) PodAnnotate(ctx context.Context, buf *bytes.Buffer, namespace, podName, resourceVersion, key string, value *string) (resourceVersionRet string, err error) PodList(ctx context.Context, buf *bytes.Buffer, namespace, labelSelector string) (*PodList, error) }
type ObjectMeta ¶
type Pod ¶
type Pod struct {
Metadata ObjectMeta `json:"metadata"`
}
Click to show internal directories.
Click to hide internal directories.