openpolicyagent_test

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const BundleTypeMock string = "Mock"

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBundleClient

type MockBundleClient struct {
	GetResponse    []byte
	GetErr         error
	PostStatusCode int
	PostErr        error

	ArgPostBundle []byte
}

func (*MockBundleClient) GetDataFromBundle

func (m *MockBundleClient) GetDataFromBundle(_ string) ([]byte, error)

func (*MockBundleClient) PostBundle

func (m *MockBundleClient) PostBundle(bundle []byte) (int, error)

func (*MockBundleClient) Type added in v0.6.4

func (m *MockBundleClient) Type() string

Jump to

Keyboard shortcuts

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