Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Applyinator ¶
type Applyinator struct {
// contains filtered or unexported fields
}
func NewApplyinator ¶
func (*Applyinator) Apply ¶
func (a *Applyinator) Apply(ctx context.Context, cp CalculatedPlan) ([]byte, error)
type CalculatedPlan ¶
CalculatedPlan is passed into Applyinator and is a Plan with checksum calculated
func CalculatePlan ¶
func CalculatePlan(rawPlan []byte) (CalculatedPlan, error)
type File ¶
type File struct { Content string `json:"content,omitempty"` Directory bool `json:"directory,omitempty"` UID int `json:"uid,omitempty"` GID int `json:"gid,omitempty"` Path string `json:"path,omitempty"` Permissions string `json:"permissions,omitempty"` // internally, the string will be converted to a uint32 to satisfy os.FileMode }
Path would be `/etc/kubernetes/ssl/ca.pem`, Content is base64 encoded. If Directory is true, then we are creating a directory, not a file
type Instruction ¶
Click to show internal directories.
Click to hide internal directories.