Documentation
¶
Index ¶
- type SecopsClient
- func (m *SecopsClient) CreateApplication(req *pb.CreateApplicationRequest) (*pb.CreateApplicationResponse, error)
- func (m *SecopsClient) CreateApplicationVersion(req *pb.CreateApplicationVersionRequest) (*pb.CreateApplicationVersionResponse, error)
- func (m *SecopsClient) GetCloudProviders() (*pb.ListCloudProvidersResponse, error)
- func (m *SecopsClient) GetConn(host string) error
- func (m *SecopsClient) GetRegion(id string) (*pb.ReadRegionResponse, error)
- func (m *SecopsClient) GetRegions() (*pb.ListRegionsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecopsClient ¶
type SecopsClient struct { // The Secops Server Host string // The Secops Server Connection Conn *grpc.ClientConn // The Secops Server API Key ApiKey string }
func NewSecopsClient ¶
func NewSecopsClient(host string, apiKey string) (*SecopsClient, error)
func (*SecopsClient) CreateApplication ¶
func (m *SecopsClient) CreateApplication(req *pb.CreateApplicationRequest) (*pb.CreateApplicationResponse, error)
func (*SecopsClient) CreateApplicationVersion ¶
func (m *SecopsClient) CreateApplicationVersion(req *pb.CreateApplicationVersionRequest) (*pb.CreateApplicationVersionResponse, error)
func (*SecopsClient) GetCloudProviders ¶
func (m *SecopsClient) GetCloudProviders() (*pb.ListCloudProvidersResponse, error)
func (*SecopsClient) GetConn ¶
func (m *SecopsClient) GetConn(host string) error
func (*SecopsClient) GetRegion ¶
func (m *SecopsClient) GetRegion(id string) (*pb.ReadRegionResponse, error)
func (*SecopsClient) GetRegions ¶
func (m *SecopsClient) GetRegions() (*pb.ListRegionsResponse, error)
Click to show internal directories.
Click to hide internal directories.