cloudinit

package
v0.0.2-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apply

type Apply struct {
	Config *cloudinit.Config
	Path   string
	Err    error
}

type MockCloudInit

type MockCloudInit struct {
	// contains filtered or unexported fields
}

func NewMockCloudInit

func NewMockCloudInit(t must.T) *MockCloudInit

func (*MockCloudInit) Apply

func (m *MockCloudInit) Apply(config *cloudinit.Config, path string) error

func (*MockCloudInit) AssertExpectations

func (m *MockCloudInit) AssertExpectations()

func (*MockCloudInit) Expect

func (m *MockCloudInit) Expect(calls ...any) *MockCloudInit

func (*MockCloudInit) ExpectApply

func (m *MockCloudInit) ExpectApply(c Apply) *MockCloudInit

type StaticCloudInit

type StaticCloudInit struct {
	// contains filtered or unexported fields
}

func NewStaticCloudInit

func NewStaticCloudInit() *StaticCloudInit

func (*StaticCloudInit) Apply

func (*StaticCloudInit) CallCount

func (s *StaticCloudInit) CallCount(fnName string) int

Jump to

Keyboard shortcuts

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