Documentation ¶
Index ¶
- func NewPodLogChan(ctx context.Context, cs kubernetes.Interface, name, ns string, follow bool) (<-chan string, error)
- func PodExec(config *rest.Config, ns, podName string, cmd ...string) (stdout, stderr []byte, err error)
- type AgentCom
- type CleanupFunc
- type InstallationConfig
- type Suite
- func (s *Suite) Cleanup(f func(context.Context) error)
- func (s *Suite) Config() *rest.Config
- func (s *Suite) Context() context.Context
- func (s *Suite) CreateNamespace(ctx context.Context, ns string) error
- func (s *Suite) DeleteNamespace(ctx context.Context, ns string) error
- func (s *Suite) Init()
- func (s *Suite) K8sIf() kubernetes.Interface
- func (s *Suite) Name() string
- func (s *Suite) Namespace() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPodLogChan ¶
func NewPodLogChan(ctx context.Context, cs kubernetes.Interface, name, ns string, follow bool) (<-chan string, error)
NewPodLogChan returns a chan with the specified pods logs entry-by-entry.
Types ¶
type AgentCom ¶
type AgentCom struct {
// contains filtered or unexported fields
}
func (*AgentCom) GetSnapshot ¶
func (*AgentCom) RPCAddress ¶
func (*AgentCom) SetKATServerImage ¶
type CleanupFunc ¶
func InstallHelmChart ¶
func InstallHelmChart(ctx context.Context, config InstallationConfig) (CleanupFunc, error)
type InstallationConfig ¶
type Suite ¶ added in v1.0.5
func (*Suite) CreateNamespace ¶ added in v1.0.5
func (*Suite) DeleteNamespace ¶ added in v1.0.5
func (*Suite) K8sIf ¶ added in v1.0.5
func (s *Suite) K8sIf() kubernetes.Interface
Click to show internal directories.
Click to hide internal directories.