openpolicyagent_test

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

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)

Jump to

Keyboard shortcuts

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