hpcs

package
v0.0.0-...-37a14a6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ErrCodeAPICreation = "APICreationError"

ErrCodeAPICreation ...

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointRepository

type EndpointRepository interface {
	GetAPIEndpoint(instanceID string) (EndpointResp, error)
}

func NewHpcsEndpointRepository

func NewHpcsEndpointRepository(c *client.Client) EndpointRepository

type EndpointResp

type EndpointResp struct {
	InstanceID string    `json:"instance_id"`
	Kms        Endpoints `json:"kms"`
	Ep11       Endpoints `json:"ep11"`
}

type Endpoints

type Endpoints struct {
	Public  string `json:"public"`
	Private string `json:"private"`
}

type HPCSV2

type HPCSV2 interface {
	Endpoint() EndpointRepository
}

HPCSV2 is the resource client ...

func New

func New(sess *session.Session) (HPCSV2, error)

New ...

Jump to

Keyboard shortcuts

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