Documentation ¶
Index ¶
- Constants
- Variables
- type Actionable
- type BootstrapConfiguration
- type JoinConfiguration
- type Role
- type Target
- func (t *Target) Apply(data interface{}, states ...string) error
- func (t *Target) DownloadFileContents(sourcePath string) (string, error)
- func (t *Target) IsSUSEOS() (bool, error)
- func (t *Target) UploadFile(sourcePath, targetPath string) error
- func (t *Target) UploadFileContents(targetPath, contents string) error
- type TargetCache
Constants ¶
View Source
const (
SUSEOSID = "suse"
)
Variables ¶
View Source
var (
Secrets = []string{
"pki/ca.crt",
"pki/ca.key",
"pki/sa.key",
"pki/sa.pub",
"pki/front-proxy-ca.crt",
"pki/front-proxy-ca.key",
"pki/etcd/ca.crt",
"pki/etcd/ca.key",
"admin.conf",
}
)
Functions ¶
This section is empty.
Types ¶
type Actionable ¶
type BootstrapConfiguration ¶ added in v0.2.0
type JoinConfiguration ¶
type Target ¶
type Target struct { Target string Nodename string Actionable Actionable Cache TargetCache }
func (*Target) DownloadFileContents ¶
func (*Target) UploadFile ¶
func (*Target) UploadFileContents ¶
type TargetCache ¶
Click to show internal directories.
Click to hide internal directories.