test

package
v0.6.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ProviderTypeMock string = "mock"
	PapIdTest        string = "somewhereToMock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

type MockProvider struct {
	Policies []hexapolicy.PolicyInfo
	PapId    string
	Info     policyprovider.IntegrationInfo
}

func (*MockProvider) DiscoverApplications

func (*MockProvider) Name

func (p *MockProvider) Name() string

func (*MockProvider) Reconcile

func (*MockProvider) SetPolicyInfo

func (p *MockProvider) SetPolicyInfo(info policyprovider.IntegrationInfo, pap policyprovider.ApplicationInfo, policies []hexapolicy.PolicyInfo) (status int, foundErr error)

Jump to

Keyboard shortcuts

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