fake

package
v0.0.0-...-a4d1c61 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakePlatform

func NewFakePlatform(input *NewInput) (platform.Platform, error)

NewFakePlatform creates and returns a platform with fake components. If `input` or any of its fields are `nil`, default values will be used.

Types

type NewInput

type NewInput struct {
	Name    string
	Logger  gz.Logger
	Session client.ConfigProvider
	platform.Components
}

NewInput contains input fields for the NewFakePlatform function.

func (*NewInput) SetDefaults

func (input *NewInput) SetDefaults() error

SetDefaults sets default values

Jump to

Keyboard shortcuts

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