cloud

package
v1.46.2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudDataSource

type CloudDataSource struct {
	// contains filtered or unexported fields
}

func DataSourceFromCloud

func DataSourceFromCloud(host, apiKey string) *CloudDataSource

func (*CloudDataSource) Get

func (p *CloudDataSource) Get(ctx context.Context, seen source.Hash) (map[string]any, source.Hash, error)

type CloudPolicySource

type CloudPolicySource struct {
	// contains filtered or unexported fields
}

func PolicySourceFromCloud

func PolicySourceFromCloud(host, apiKey string) *CloudPolicySource

func (*CloudPolicySource) Get

func (p *CloudPolicySource) Get(ctx context.Context, seen source.Hash) ([]byte, source.Hash, error)

Jump to

Keyboard shortcuts

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