Documentation ¶
Index ¶
- Constants
- Variables
- type DoStruct
- func (do *DoStruct) CreatePod(ctx context.Context, name, template, image string) error
- func (do *DoStruct) DestroyPod(ctx context.Context, name string) error
- func (do *DoStruct) ListPods(ctx context.Context) ([]models.PRPod, error)
- func (do *DoStruct) PodExists(ctx context.Context, name string) (bool, error)
- func (do *DoStruct) PrivateIPPod(ctx context.Context, name string) (string, error)
- func (do *DoStruct) PublicIPPod(ctx context.Context, name string) (string, error)
- type TokenSource
Constants ¶
View Source
const ( POD_REGION = "fra1" POD_TYPE = "s-1vcpu-1gb" )
Variables ¶
View Source
var ( ErrPodNotFound = errors.New("Could not find the pod specified") ErrDuplicatePodName = errors.New("Pod with the name already exists") )
Functions ¶
This section is empty.
Types ¶
type DoStruct ¶ added in v0.2.0
type DoStruct struct {
// contains filtered or unexported fields
}
func (*DoStruct) DestroyPod ¶ added in v0.2.0
func (*DoStruct) PrivateIPPod ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.