clients

package
v0.0.0-...-c2abcd0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OciRegionClient

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

func (*OciRegionClient) GetAvailableRegions

func (t *OciRegionClient) GetAvailableRegions() ([]*models.Region, error)

func (*OciRegionClient) GetDefaultRegion

func (t *OciRegionClient) GetDefaultRegion() (*models.Region, error)

type OciResourceQueryClient

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

func (*OciResourceQueryClient) Query

func (t *OciResourceQueryClient) Query(region string, query string) ([]*models.Resource, error)

type OracleResourceScheduleClient

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

func (*OracleResourceScheduleClient) GetAll

type RegionClient

type RegionClient interface {
	GetAvailableRegions() ([]*models.Region, error)
	GetDefaultRegion() (*models.Region, error)
}

func NewRegionClient

func NewRegionClient(config common.ConfigurationProvider) (RegionClient, error)

type ResourceQueryClient

type ResourceQueryClient interface {
	Query(region string, query string) ([]*models.Resource, error)
}

func NewResourceQueryClient

func NewResourceQueryClient(config common.ConfigurationProvider) (ResourceQueryClient, error)

type ResourceScheduleClient

type ResourceScheduleClient interface {
	GetAll() ([]*models.ResourceSchedule, error)
}

func NewResourceScheduleClient

func NewResourceScheduleClient(config common.ConfigurationProvider, appConfig *models.AppConfig) (ResourceScheduleClient, error)

Jump to

Keyboard shortcuts

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