Documentation ¶
Index ¶
- type CollapsedCoreConfig
- type Helper
- type KubeClient
- func (c *KubeClient) VPCAttach(ctx context.Context, vpc *vpcapi.VPC, server string) (*vpcapi.VPCAttachment, error)
- func (c *KubeClient) VPCCreate(ctx context.Context, name string, spec vpcapi.VPCSpec) (*vpcapi.VPC, error)
- func (c *KubeClient) VPCDelete(ctx context.Context, vpc *vpcapi.VPC) error
- func (c *KubeClient) VPCDetach(ctx context.Context, vpc *vpcapi.VPC, server string) error
- func (c *KubeClient) VPCPeer(ctx context.Context, vpc1, vpc2 *vpcapi.VPC) (*vpcapi.VPCPeering, error)
- func (c *KubeClient) VPCUnpeer(ctx context.Context, vpc1, vpc2 *vpcapi.VPC) error
- func (c *KubeClient) Wait(ctx context.Context, objs ...client.Object) error
- type ServerClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollapsedCoreConfig ¶
type Helper ¶
type Helper struct { Kube *KubeClient Server *ServerClient }
func (*Helper) CollapsedCore ¶
func (h *Helper) CollapsedCore() *CollapsedCoreConfig
type KubeClient ¶
type KubeClient struct {
// contains filtered or unexported fields
}
func (*KubeClient) VPCAttach ¶
func (c *KubeClient) VPCAttach(ctx context.Context, vpc *vpcapi.VPC, server string) (*vpcapi.VPCAttachment, error)
func (*KubeClient) VPCPeer ¶
func (c *KubeClient) VPCPeer(ctx context.Context, vpc1, vpc2 *vpcapi.VPC) (*vpcapi.VPCPeering, error)
type ServerClient ¶
type ServerClient struct{}
func (*ServerClient) NetworkCheck ¶
TODO replace with server *wiringapi.Server?
func (*ServerClient) NetworkSetup ¶
TODO replace with server *wiringapi.Server?
Click to show internal directories.
Click to hide internal directories.