client

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdbClient

type CmdbClient struct {
	// The CMDB Server
	Host string
	// The CMDB Server Connection
	Conn *grpc.ClientConn
	// The CMDB Server API Key
	ApiKey string
}

func NewCmdbClient

func NewCmdbClient(host string, apiKey string) (*CmdbClient, error)

func (*CmdbClient) CreateAppConfig added in v0.0.16

func (m *CmdbClient) CreateAppConfig(req *pb.CreateAppConfigRequest) (*pb.CreateAppConfigResponse, error)

func (*CmdbClient) CreateAppVersion added in v0.0.16

func (m *CmdbClient) CreateAppVersion(req *pb.CreateAppVersionRequest) (*pb.CreateAppVersionResponse, error)

func (*CmdbClient) CreateApplication added in v0.0.9

func (*CmdbClient) CreateApplicationInstance added in v0.0.9

func (*CmdbClient) CreateChartVersion added in v0.0.9

func (*CmdbClient) CreateCloudProvider added in v0.0.9

func (*CmdbClient) CreateEnvironment added in v0.0.9

func (*CmdbClient) CreateLifecycle added in v0.0.16

func (m *CmdbClient) CreateLifecycle(req *pb.CreateLifecycleRequest) (*pb.CreateLifecycleResponse, error)

func (*CmdbClient) CreateRegion added in v0.0.9

func (m *CmdbClient) CreateRegion(req *pb.CreateRegionRequest) (*pb.CreateRegionResponse, error)

func (*CmdbClient) GetApplications added in v0.0.9

func (m *CmdbClient) GetApplications() (*pb.ListApplicationsResponse, error)

func (*CmdbClient) GetCloudProviders

func (m *CmdbClient) GetCloudProviders() (*pb.ListCloudProvidersResponse, error)

func (*CmdbClient) GetConn

func (m *CmdbClient) GetConn(host string) error

func (*CmdbClient) GetLifecycles added in v0.0.15

func (m *CmdbClient) GetLifecycles() (*pb.ListLifecyclesResponse, error)

func (*CmdbClient) GetRegion

func (m *CmdbClient) GetRegion(id string) (*pb.ReadRegionResponse, error)

func (*CmdbClient) GetRegions

func (m *CmdbClient) GetRegions() (*pb.ListRegionsResponse, error)

func (*CmdbClient) UpdateChartVersion added in v0.0.25

Jump to

Keyboard shortcuts

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