Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Configures the permission of caretakerctl to control caretakerd remotely // and how to obtain the credentials for it. // // For details see {@ref github.com/echocat/caretakerd/access.Config}. Access access.Config `json:"access" yaml:"access,omitempty"` }
Description ¶
Defines the access rights of caretakerctl to caretakerd.
func NewConfigFor ¶ added in v0.2.0
NewConfigFor creates a new instance of Config.
func (*Config) UnmarshalYAML ¶ added in v1.0.0
UnmarshalYAML is used until yaml unmarshalling. Do not call this method directly.
type Control ¶
type Control struct {
// contains filtered or unexported fields
}
Control indicates how a remote caretakerctl/control process is able to control the current caretakerd instance.
func NewControl ¶
NewControl creates a new instance of Control with the given config.
func (*Control) ConfigObject ¶
func (instance *Control) ConfigObject() interface{}
ConfigObject returns the Config object this control was created with.
Click to show internal directories.
Click to hide internal directories.