apt

package
v0.0.0-...-14875fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Autoremove

type Autoremove struct {
	SSH *ssh.SSH
}

func (*Autoremove) Apply

func (a *Autoremove) Apply(ctx context.Context) error

func (*Autoremove) Satisfied

func (a *Autoremove) Satisfied(ctx context.Context) (bool, error)

func (*Autoremove) Validate

func (a *Autoremove) Validate(ctx context.Context) error

type Clean

type Clean struct {
	SSH *ssh.SSH
}

func (*Clean) Apply

func (c *Clean) Apply(ctx context.Context) error

func (*Clean) Satisfied

func (c *Clean) Satisfied(ctx context.Context) (bool, error)

func (*Clean) Validate

func (c *Clean) Validate(ctx context.Context) error

type Install

type Install struct {
	SSH     *ssh.SSH
	Package string
}

func (*Install) Apply

func (i *Install) Apply(ctx context.Context) error

func (*Install) Satisfied

func (i *Install) Satisfied(ctx context.Context) (bool, error)

func (*Install) Validate

func (i *Install) Validate(ctx context.Context) error

type Package

type Package string

type Update

type Update struct {
	SSH *ssh.SSH
}

func (*Update) Apply

func (u *Update) Apply(ctx context.Context) error

func (*Update) Satisfied

func (u *Update) Satisfied(ctx context.Context) (bool, error)

func (*Update) Validate

func (u *Update) Validate(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL