service

package
v0.0.0-...-0d0d4d1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsresqAPI

type AwsresqAPI interface {
	Validate(resource string) bool
	Query(resource string) (*ResultList, error)
}

type AwsresqCloudformationAPI

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

func NewAwsresqCloudformationAPI

func NewAwsresqCloudformationAPI(c aws.Config, region []string) *AwsresqCloudformationAPI

func (AwsresqCloudformationAPI) Query

func (api AwsresqCloudformationAPI) Query(resource string) (*ResultList, error)

func (AwsresqCloudformationAPI) Validate

func (api AwsresqCloudformationAPI) Validate(resource string) bool

type AwsresqCloudwatchAPI

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

func NewAwsresqCloudwatchAPI

func NewAwsresqCloudwatchAPI(c aws.Config, region []string) *AwsresqCloudwatchAPI

func (AwsresqCloudwatchAPI) Query

func (api AwsresqCloudwatchAPI) Query(resource string) (*ResultList, error)

func (AwsresqCloudwatchAPI) Validate

func (api AwsresqCloudwatchAPI) Validate(resource string) bool

type AwsresqConfigAPI

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

func NewAwsresqConfigAPI

func NewAwsresqConfigAPI(awsCfg aws.Config, region []string) *AwsresqConfigAPI

func (AwsresqConfigAPI) Query

func (api AwsresqConfigAPI) Query(resource string) (*ResultList, error)

func (AwsresqConfigAPI) Validate

func (api AwsresqConfigAPI) Validate(resource string) bool

type AwsresqEc2API

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

func NewAwsresqEc2API

func NewAwsresqEc2API(c aws.Config, region []string) *AwsresqEc2API

func (AwsresqEc2API) Query

func (api AwsresqEc2API) Query(resource string) (*ResultList, error)

func (AwsresqEc2API) Validate

func (api AwsresqEc2API) Validate(resource string) bool

type AwsresqEcrAPI

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

func NewAwsresqEcrAPI

func NewAwsresqEcrAPI(c aws.Config, region []string) AwsresqEcrAPI

func (AwsresqEcrAPI) Query

func (api AwsresqEcrAPI) Query(resource string) (*ResultList, error)

func (AwsresqEcrAPI) Validate

func (api AwsresqEcrAPI) Validate(resource string) bool

type AwsresqEcsAPI

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

func NewAwsresqEcsAPI

func NewAwsresqEcsAPI(c aws.Config, region []string) AwsresqEcsAPI

func (AwsresqEcsAPI) Query

func (api AwsresqEcsAPI) Query(resource string) (*ResultList, error)

func (AwsresqEcsAPI) Validate

func (api AwsresqEcsAPI) Validate(resource string) bool

type AwsresqEfsAPI

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

func NewAwsresqEfsAPI

func NewAwsresqEfsAPI(awsCfg aws.Config, region []string) *AwsresqEfsAPI

func (AwsresqEfsAPI) Query

func (api AwsresqEfsAPI) Query(resource string) (*ResultList, error)

func (*AwsresqEfsAPI) Validate

func (a *AwsresqEfsAPI) Validate(resource string) bool

type AwsresqIamAPI

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

func NewAwsresqIamAPI

func NewAwsresqIamAPI(c aws.Config, region []string) *AwsresqIamAPI

func (AwsresqIamAPI) Query

func (api AwsresqIamAPI) Query(resource string) (*ResultList, error)

func (AwsresqIamAPI) Validate

func (api AwsresqIamAPI) Validate(resource string) bool

type AwsresqLambdaAPI

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

func NewAwsresqLambdaAPI

func NewAwsresqLambdaAPI(c aws.Config, region []string) *AwsresqLambdaAPI

func (AwsresqLambdaAPI) Query

func (api AwsresqLambdaAPI) Query(resource string) (*ResultList, error)

func (AwsresqLambdaAPI) Validate

func (api AwsresqLambdaAPI) Validate(resource string) bool

type AwsresqLogsAPI

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

func NewAwsresqLogsAPI

func NewAwsresqLogsAPI(c aws.Config, region []string) *AwsresqLogsAPI

func (AwsresqLogsAPI) Query

func (api AwsresqLogsAPI) Query(resource string) (*ResultList, error)

func (AwsresqLogsAPI) Validate

func (api AwsresqLogsAPI) Validate(resource string) bool

type AwsresqRoute53API

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

func NewAwsresqRoute53API

func NewAwsresqRoute53API(c aws.Config, region []string) *AwsresqRoute53API

func (AwsresqRoute53API) Query

func (api AwsresqRoute53API) Query(resource string) (*ResultList, error)

func (AwsresqRoute53API) Validate

func (api AwsresqRoute53API) Validate(resource string) bool

type AwsresqS3API

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

func NewAwsresqS3API

func NewAwsresqS3API(awsConfig aws.Config, region []string) *AwsresqS3API

func (AwsresqS3API) Query

func (api AwsresqS3API) Query(resource string) (*ResultList, error)

func (AwsresqS3API) Validate

func (api AwsresqS3API) Validate(resource string) bool

type ResourceQueryAPI

type ResourceQueryAPI func(ctx context.Context, ch chan ResultList, region string)

type ResultList

type ResultList struct {
	Service  string        `json:"service"`
	Resource string        `json:"resource"`
	Results  []interface{} `json:"results"`
}

Jump to

Keyboard shortcuts

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