cli_publisher

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MPL-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardPublisher

type DashboardPublisher struct {
	Secret         string
	Hostname       string
	OrgOverride    string
	AllowUnsafeOAS bool
}

func (*DashboardPublisher) CreateAPIs added in v1.2.3

func (p *DashboardPublisher) CreateAPIs(apiDefs *[]objects.DBApiDefinition) error

func (*DashboardPublisher) CreateAssets added in v1.5.0

func (p *DashboardPublisher) CreateAssets(assets *[]objects.DBAssets) error

func (*DashboardPublisher) CreatePolicies added in v1.2.3

func (p *DashboardPublisher) CreatePolicies(pols *[]objects.Policy) error

func (*DashboardPublisher) Name

func (p *DashboardPublisher) Name() string

func (*DashboardPublisher) Reload

func (p *DashboardPublisher) Reload() error

func (*DashboardPublisher) SyncAPIs added in v1.2.3

func (p *DashboardPublisher) SyncAPIs(apiDefs []objects.DBApiDefinition) error

func (*DashboardPublisher) SyncAssets added in v1.5.0

func (p *DashboardPublisher) SyncAssets(assets []objects.DBAssets) error

func (*DashboardPublisher) SyncPolicies

func (p *DashboardPublisher) SyncPolicies(pols []objects.Policy) error

func (*DashboardPublisher) UpdateAPIs added in v1.2.3

func (p *DashboardPublisher) UpdateAPIs(apiDefs *[]objects.DBApiDefinition) error

func (*DashboardPublisher) UpdateAssets added in v1.5.0

func (p *DashboardPublisher) UpdateAssets(assetDefs *[]objects.DBAssets) error

func (*DashboardPublisher) UpdatePolicies added in v1.2.3

func (p *DashboardPublisher) UpdatePolicies(pols *[]objects.Policy) error

type GatewayPublisher

type GatewayPublisher struct {
	Secret   string
	Hostname string
}

func (*GatewayPublisher) CreateAPIs added in v1.2.3

func (p *GatewayPublisher) CreateAPIs(apiDefs *[]objects.DBApiDefinition) error

func (*GatewayPublisher) CreateAssets added in v1.5.0

func (p *GatewayPublisher) CreateAssets(apiDefs *[]objects.DBAssets) error

func (*GatewayPublisher) CreatePolicies added in v1.2.3

func (p *GatewayPublisher) CreatePolicies(pols *[]objects.Policy) error

func (*GatewayPublisher) Name

func (p *GatewayPublisher) Name() string

func (*GatewayPublisher) Reload

func (p *GatewayPublisher) Reload() error

func (*GatewayPublisher) SyncAPIs added in v1.2.3

func (p *GatewayPublisher) SyncAPIs(apiDefs []objects.DBApiDefinition) error

func (*GatewayPublisher) SyncAssets added in v1.5.0

func (p *GatewayPublisher) SyncAssets(assetsDefs []objects.DBAssets) error

func (*GatewayPublisher) SyncPolicies

func (p *GatewayPublisher) SyncPolicies(pols []objects.Policy) error

func (*GatewayPublisher) UpdateAPIs added in v1.2.3

func (p *GatewayPublisher) UpdateAPIs(apiDefs *[]objects.DBApiDefinition) error

func (*GatewayPublisher) UpdateAssets added in v1.5.0

func (p *GatewayPublisher) UpdateAssets(assetsDefs *[]objects.DBAssets) error

func (*GatewayPublisher) UpdatePolicies added in v1.2.3

func (p *GatewayPublisher) UpdatePolicies(pols *[]objects.Policy) error

type MockPublisher

type MockPublisher struct{}

func (MockPublisher) CreateAPIs added in v1.2.3

func (mp MockPublisher) CreateAPIs(apiDefs *[]objects.DBApiDefinition) error

func (MockPublisher) CreateAssets added in v1.5.0

func (mp MockPublisher) CreateAssets(assets *[]objects.DBAssets) error

func (MockPublisher) CreatePolicies added in v1.2.3

func (mp MockPublisher) CreatePolicies(pols *[]objects.Policy) error

func (MockPublisher) Name

func (mp MockPublisher) Name() string

func (MockPublisher) Reload

func (mp MockPublisher) Reload() error

func (MockPublisher) SyncAPIs added in v1.2.3

func (mp MockPublisher) SyncAPIs(apiDefs []objects.DBApiDefinition) error

func (MockPublisher) SyncAssets added in v1.5.0

func (mp MockPublisher) SyncAssets(assets []objects.DBAssets) error

func (MockPublisher) SyncPolicies

func (mp MockPublisher) SyncPolicies(pols []objects.Policy) error

func (MockPublisher) UpdateAPIs added in v1.2.3

func (mp MockPublisher) UpdateAPIs(apiDefs *[]objects.DBApiDefinition) error

func (MockPublisher) UpdateAssets added in v1.5.0

func (mp MockPublisher) UpdateAssets(assets *[]objects.DBAssets) error

func (MockPublisher) UpdatePolicies added in v1.2.3

func (mp MockPublisher) UpdatePolicies(pols *[]objects.Policy) error

Jump to

Keyboard shortcuts

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