Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BastionEntity ¶
type BastionService ¶
type BastionService interface { GetBastion(ctx context.Context) (*BastionEntity, error) PushKey(ctx context.Context, bastion *BastionEntity, pub string) error }
type EndpointInfo ¶
type EndpointInfo struct { Protocol string `json:"protocol"` Host string `json:"host"` Port int `json:"port"` }
func (*EndpointInfo) String ¶
func (e *EndpointInfo) String() string
type EndpointProvider ¶
type EndpointProvider interface {
GetEndpoint(ctx context.Context) (*EndpointInfo, error)
}
type KeyProvider ¶
Click to show internal directories.
Click to hide internal directories.