Documentation
¶
Index ¶
- Constants
- Variables
- func GetProjectByName(name string) (*packngo.Project, error)
- type Device
- func (r *Device) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Device) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Device) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Device) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Device) String() string
- type Project
- func (r *Project) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Project) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Project) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Project) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type SSH
- func (r *SSH) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *SSH) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *SSH) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *SSH) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type Shared
Constants ¶
View Source
const ( MasterIPAttempts = 100 MasterIPSleepSecondsPerAttempt = 5 )
Variables ¶
View Source
var Sdk *packetSDK.Sdk
Functions ¶
Types ¶
type Device ¶
type Device struct { Location string Type string OS string SSHFingerprint string BootstrapScripts []string Count int ServerPool *cluster.ServerPool Tags []string ProjectID string }
type Project ¶
type Project struct {
} Click to show internal directories.
Click to hide internal directories.