Documentation ¶
Index ¶
- type Builder
- type Context
- func (c *Context) AddExtension(id string, name api.ExtensionName, extension string)
- func (c *Context) AddIdentityAlias(id string, alias string)
- func (c *Context) AddPlatform(platform api.Platform)
- func (c *Context) AdminSigningIdentity(name string) view2.SigningIdentity
- func (c *Context) ClientSigningIdentity(name string) view2.SigningIdentity
- func (c *Context) ConnectionConfig(name string) *grpc.ConnectionConfig
- func (c *Context) ExtensionsByPeerID(name string) api.Extensions
- func (c *Context) GetViewIdentityAliases(name string) []string
- func (c *Context) IgnoreSigHUP() bool
- func (c *Context) PlatformByName(name string) api.Platform
- func (c *Context) PlatformsByType(typ string) []api.Platform
- func (c *Context) PortsByPeerID(prefix string, id string) api.Ports
- func (c *Context) ReservePort() uint16
- func (c *Context) RootDir() string
- func (c *Context) SetAdminSigningIdentity(name string, id view2.SigningIdentity)
- func (c *Context) SetCLI(name string, client api.ViewClient)
- func (c *Context) SetClientSigningIdentity(name string, id view2.SigningIdentity)
- func (c *Context) SetConnectionConfig(name string, cc *grpc.ConnectionConfig)
- func (c *Context) SetPortsByPeerID(prefix string, id string, ports api.Ports)
- func (c *Context) SetViewClient(name string, client api.ViewClient)
- func (c *Context) SetViewIdentity(name string, cert []byte)
- func (c *Context) TopologyByName(name string) api.Topology
- type SigningIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Builder Builder PortCounter uint16 TopologiesByName map[string]api.Topology PlatformsByName map[string]api.Platform ViewClients map[string]api.ViewClient ViewCLIs map[string]api.ViewClient ViewIdentities map[string]view.Identity ViewIdentityAliases map[string][]string ConnectionConfigs map[string]*grpc.ConnectionConfig ClientSigningIdentities map[string]SigningIdentity AdminSigningIdentities map[string]SigningIdentity SigHUPIgnore bool // contains filtered or unexported fields }
func (*Context) AddExtension ¶
func (c *Context) AddExtension(id string, name api.ExtensionName, extension string)
func (*Context) AddIdentityAlias ¶
func (*Context) AddPlatform ¶
func (*Context) AdminSigningIdentity ¶
func (c *Context) AdminSigningIdentity(name string) view2.SigningIdentity
func (*Context) ClientSigningIdentity ¶
func (c *Context) ClientSigningIdentity(name string) view2.SigningIdentity
func (*Context) ConnectionConfig ¶
func (c *Context) ConnectionConfig(name string) *grpc.ConnectionConfig
func (*Context) ExtensionsByPeerID ¶
func (c *Context) ExtensionsByPeerID(name string) api.Extensions
func (*Context) GetViewIdentityAliases ¶
func (*Context) IgnoreSigHUP ¶
func (*Context) ReservePort ¶
func (*Context) SetAdminSigningIdentity ¶
func (c *Context) SetAdminSigningIdentity(name string, id view2.SigningIdentity)
func (*Context) SetClientSigningIdentity ¶
func (c *Context) SetClientSigningIdentity(name string, id view2.SigningIdentity)
func (*Context) SetConnectionConfig ¶
func (c *Context) SetConnectionConfig(name string, cc *grpc.ConnectionConfig)
func (*Context) SetPortsByPeerID ¶
func (*Context) SetViewClient ¶
func (c *Context) SetViewClient(name string, client api.ViewClient)
func (*Context) SetViewIdentity ¶
Click to show internal directories.
Click to hide internal directories.