Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Apply(ctx context.Context, obj client.Object) error
- func (c *Client) Create(ctx context.Context, obj client.Object) error
- func (c *Client) CreatePlatform(ctx context.Context, namespace, name string) *v1alpha1.Platform
- func (c *Client) GetPlatform(ctx context.Context) *v1alpha1.Platform
- func (c *Client) ListPlatforms(ctx context.Context) ([]v1alpha1.Platform, error)
- func (c *Client) Merge(ctx context.Context, modified, original client.Object) error
- func (c *Client) PortForward(ctx context.Context, req *PortForwardRequest) (*PortForward, error)
- func (c *Client) WaitPlatformReady(waitTime time.Duration, p *v1alpha1.Platform, spec *v1alpha1.AppDeploymentSpec)
- func (c *Client) WaitPodReady(ctx context.Context, p *v1alpha1.Platform, comp, hash string) error
- type PortForward
- type PortForwardRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrComponentNotReady = fmt.Errorf("component not ready")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreatePlatform ¶ added in v0.8.0
func (*Client) ListPlatforms ¶
func (*Client) PortForward ¶
func (c *Client) PortForward(ctx context.Context, req *PortForwardRequest) (*PortForward, error)
func (*Client) WaitPlatformReady ¶
type PortForward ¶
type PortForward struct { LocalPort int32 // contains filtered or unexported fields }
func (*PortForward) Done ¶
func (pf *PortForward) Done() <-chan struct{}
func (*PortForward) Ready ¶
func (pf *PortForward) Ready() <-chan struct{}
func (*PortForward) Stop ¶
func (pf *PortForward) Stop()
Click to show internal directories.
Click to hide internal directories.