Documentation ¶
Index ¶
- Constants
- Variables
- type DSViewer
- type DeployViewer
- type KindViewer
- func NewDSViewer(clientset *kubernetes.Clientset, name string, namespace string) (KindViewer, error)
- func NewDeployViewer(clientset *kubernetes.Clientset, deployName string, namespace string) (KindViewer, error)
- func NewStsViewer(clientset *kubernetes.Clientset, name string, namespace string) (KindViewer, error)
- type StsViewer
Constants ¶
View Source
const (
RevisionAnnotation = "deployment.kubernetes.io/revision"
)
Variables ¶
View Source
var ControllerRevisionGKV = schema.GroupVersionKind{
Group: "apps",
Version: "v1",
Kind: "ControllerRevision",
}
View Source
var ReplicasetGkV = schema.GroupVersionKind{
Group: "apps",
Version: "v1",
Kind: "ReplicaSet",
}
Functions ¶
This section is empty.
Types ¶
type DeployViewer ¶
type DeployViewer struct {
// contains filtered or unexported fields
}
type KindViewer ¶
func NewDSViewer ¶
func NewDSViewer(clientset *kubernetes.Clientset, name string, namespace string) (KindViewer, error)
func NewDeployViewer ¶
func NewDeployViewer(clientset *kubernetes.Clientset, deployName string, namespace string) (KindViewer, error)
func NewStsViewer ¶
func NewStsViewer(clientset *kubernetes.Clientset, name string, namespace string) (KindViewer, error)
Click to show internal directories.
Click to hide internal directories.