Documentation
¶
Index ¶
- type Framework
- func (f *Framework) CreateNamespace() error
- func (f *Framework) DeleteClusterRole(name string) error
- func (f *Framework) DeleteClusterRoleBinding(name string) error
- func (f *Framework) DeleteDeployment(name, namespace string) error
- func (f *Framework) DeleteNamespace() error
- func (f *Framework) DeleteSecret(name, namespace string) error
- func (f *Framework) DeleteService(name, namespace string) error
- func (f *Framework) GetClusterRole(name string) (*rbac.ClusterRole, error)
- func (f *Framework) GetClusterRoleBinding(name string) (*rbac.ClusterRoleBinding, error)
- func (f *Framework) GetDeployment(name, namespace string) (*apps.Deployment, error)
- func (f *Framework) GetService(name, namespace string) (*corev1.Service, error)
- func (f *Framework) Invoke() *Invocation
- func (f *Framework) Namespace() string
- type Invocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { KubeClient kubernetes.Interface CertStore *certstore.CertStore // contains filtered or unexported fields }
func New ¶
func New(kubeClient kubernetes.Interface) *Framework
func (*Framework) CreateNamespace ¶
func (*Framework) DeleteClusterRole ¶
func (*Framework) DeleteClusterRoleBinding ¶
func (*Framework) DeleteDeployment ¶
func (*Framework) DeleteNamespace ¶
func (*Framework) DeleteSecret ¶
func (*Framework) DeleteService ¶
func (*Framework) GetClusterRole ¶
func (f *Framework) GetClusterRole(name string) (*rbac.ClusterRole, error)
func (*Framework) GetClusterRoleBinding ¶
func (f *Framework) GetClusterRoleBinding(name string) (*rbac.ClusterRoleBinding, error)
func (*Framework) GetDeployment ¶
func (f *Framework) GetDeployment(name, namespace string) (*apps.Deployment, error)
func (*Framework) GetService ¶
func (*Framework) Invoke ¶
func (f *Framework) Invoke() *Invocation
type Invocation ¶
type Invocation struct { *Framework // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.