Documentation ¶
Index ¶
- func HcloudCreateServerFromImage(cl *cluster.Cluster, network *hcloud.Network, ...) (*hcloud.Server, error)
- func HcloudEnsureFirewall(cl *cluster.Cluster, tmpl hcloud.FirewallCreateOpts, create bool) (*hcloud.Firewall, error)
- func HcloudEnsureLoadBalancer(cl *cluster.Cluster, network *hcloud.Network, ...) (*hcloud.LoadBalancer, error)
- func HcloudEnsureNetwork(cl *cluster.Cluster, tmpl hcloud.NetworkCreateOpts, create bool) (*hcloud.Network, error)
- func HcloudEnsurePlacementGroup(cl *cluster.Cluster, tmpl hcloud.PlacementGroupCreateOpts, create bool) (*hcloud.PlacementGroup, error)
- func KubernetesCreateFromManifest(cl *cluster.Cluster, manifest string) error
- func KubernetesCreateObject(kubeClientset kubernetes.Interface, restConfig rest.Config, obj runtime.Object) error
- func KubernetesDeleteNode(cl *cluster.Cluster, name string) error
- func KubernetesInit(cl *cluster.Cluster) (*kubernetes.Clientset, *rest.Config, error)
- func KubernetesWaitNodeRegistered(cl *cluster.Cluster, name string) error
- func KubernetesWaitPodRunning(cl *cluster.Cluster, namespace string, name string) error
- type HcloudServerCreateFromImageOpts
- type SSHKeyPrivate
- func (k *SSHKeyPrivate) Execute(host string, port int, cmd string) (string, error)
- func (k *SSHKeyPrivate) Generate() error
- func (k *SSHKeyPrivate) Load(str string) error
- func (k *SSHKeyPrivate) LoadFile(file string) error
- func (k *SSHKeyPrivate) Store() string
- func (k *SSHKeyPrivate) StoreFile(file string) error
- func (k *SSHKeyPrivate) StorePublic() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HcloudCreateServerFromImage ¶
func HcloudCreateServerFromImage(cl *cluster.Cluster, network *hcloud.Network, placementGroup *hcloud.PlacementGroup, tmpl HcloudServerCreateFromImageOpts) (*hcloud.Server, error)
func HcloudEnsureFirewall ¶
func HcloudEnsureLoadBalancer ¶
func HcloudEnsureLoadBalancer(cl *cluster.Cluster, network *hcloud.Network, tmpl hcloud.LoadBalancerCreateOpts, create bool) (*hcloud.LoadBalancer, error)
func HcloudEnsureNetwork ¶
func HcloudEnsurePlacementGroup ¶
func HcloudEnsurePlacementGroup(cl *cluster.Cluster, tmpl hcloud.PlacementGroupCreateOpts, create bool) (*hcloud.PlacementGroup, error)
func KubernetesCreateObject ¶
func KubernetesInit ¶
Types ¶
type SSHKeyPrivate ¶
type SSHKeyPrivate struct {
// contains filtered or unexported fields
}
func (*SSHKeyPrivate) Generate ¶
func (k *SSHKeyPrivate) Generate() error
func (*SSHKeyPrivate) Load ¶
func (k *SSHKeyPrivate) Load(str string) error
func (*SSHKeyPrivate) LoadFile ¶
func (k *SSHKeyPrivate) LoadFile(file string) error
func (*SSHKeyPrivate) Store ¶
func (k *SSHKeyPrivate) Store() string
func (*SSHKeyPrivate) StoreFile ¶
func (k *SSHKeyPrivate) StoreFile(file string) error
func (*SSHKeyPrivate) StorePublic ¶
func (k *SSHKeyPrivate) StorePublic() (string, error)
Click to show internal directories.
Click to hide internal directories.