Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- Constants
- Variables
- func ListenUnixSocket(tarmak Tarmak, socketPath string, stopCh chan struct{}) error
- type BastionInstanceStatusArgs
- type BastionInstanceStatusReply
- type PingArgs
- type PingReply
- type Tarmak
- type VaultClusterStatusArgs
- type VaultClusterStatusReply
- type VaultInstanceRoleArgs
- type VaultInstanceRoleReply
Constants ¶
View Source
const ( ConnectorSocket = "/tmp/tarmak-connector.sock" RPCName = "Tarmak" Retries = 60 )
Variables ¶
View Source
var ( VaultClusterStatusCall = fmt.Sprintf("%s.VaultClusterStatus", RPCName) VaultClusterInitStatusCall = fmt.Sprintf("%s.VaultClusterInitStatus", RPCName) )
View Source
var (
BastionInstanceStatusCall = fmt.Sprintf("%s.BastionInstanceStatus", RPCName)
)
View Source
var (
PingCall = fmt.Sprintf("%s.Ping", RPCName)
)
View Source
var (
VaultInstanceRole = fmt.Sprintf("%s.VaultInstanceRole", RPCName)
)
Functions ¶
func ListenUnixSocket ¶
listen to a unix socket
Types ¶
type BastionInstanceStatusReply ¶
type BastionInstanceStatusReply struct {
Status string
}
type Tarmak ¶
type Tarmak interface { BastionInstanceStatus(*BastionInstanceStatusArgs, *BastionInstanceStatusReply) error VaultClusterStatus(*VaultClusterStatusArgs, *VaultClusterStatusReply) error VaultClusterInitStatus(*VaultClusterStatusArgs, *VaultClusterStatusReply) error VaultInstanceRole(*VaultInstanceRoleArgs, *VaultInstanceRoleReply) error Ping(*PingArgs, *PingReply) error // contains filtered or unexported methods }
func New ¶
func New(cluster interfaces.Cluster) Tarmak
type VaultClusterStatusArgs ¶
type VaultClusterStatusReply ¶
type VaultClusterStatusReply struct {
Status string
}
type VaultInstanceRoleArgs ¶
type VaultInstanceRoleReply ¶
type VaultInstanceRoleReply struct {
InitToken string
}
Click to show internal directories.
Click to hide internal directories.