Documentation ¶
Index ¶
- Constants
- func CreateMap(name string, file io.Reader) (*models.Map, error)
- func ParseACLFileEntries(output string, hasID bool) (models.ACLFilesEntries, error)
- func ParseMapEntries(output string, hasID bool) models.MapEntries
- func ServerHealthValid(health string) bool
- func ServerStateValid(state string) bool
- func ServerWeightValid(weight string) bool
- type Client
- func (c *Client) AddACLFileEntry(id, value string) error
- func (c *Client) AddMapEntry(name, key, value string) error
- func (c *Client) AddMapPayload(name, payload string) error
- func (c *Client) ClearMap(name string, forceDelete bool) error
- func (c *Client) CreateMap(file io.Reader, header multipart.FileHeader) (*models.Map, error)
- func (c *Client) DeleteACLFileEntry(id, value string) error
- func (c *Client) DeleteMapEntry(name, id string) error
- func (c *Client) DisableAgentCheck(backend, server string) error
- func (c *Client) DisableServer(backend, server string) error
- func (c *Client) EnableAgentCheck(backend, server string) error
- func (c *Client) EnableServer(backend, server string) error
- func (c *Client) ExecuteRaw(command string) ([]string, error)
- func (c *Client) GetACLFile(id string) (files *models.ACLFile, err error)
- func (c *Client) GetACLFileEntry(id, value string) (fileEntry *models.ACLFileEntry, err error)
- func (c *Client) GetACLFiles() (files models.ACLFiles, err error)
- func (c *Client) GetACLFilesEntries(id string) (files models.ACLFilesEntries, err error)
- func (c *Client) GetInfo() (models.ProcessInfos, error)
- func (c *Client) GetMap(name string) (*models.Map, error)
- func (c *Client) GetMapEntry(name, id string) (*models.MapEntry, error)
- func (c *Client) GetMapsPath(name string) (string, error)
- func (c *Client) GetServerState(backend, server string) (*models.RuntimeServer, error)
- func (c *Client) GetServersState(backend string) (models.RuntimeServers, error)
- func (c *Client) GetStats() models.NativeStats
- func (c *Client) GetTableEntries(name string, process int, filter []string, key string) (models.StickTableEntries, error)
- func (c *Client) GetVersion() (*HAProxyVersion, error)
- func (c *Client) Init(socketPath []string, masterSocketPath string, nbproc int) errordeprecated
- func (c *Client) InitWithMasterSocket(masterSocketPath string, nbproc int) error
- func (c *Client) InitWithMasterSocketAndContext(ctx context.Context, masterSocketPath string, nbproc int) error
- func (c *Client) InitWithSockets(socketPath map[int]string) error
- func (c *Client) InitWithSocketsAndContext(ctx context.Context, socketPath map[int]string) error
- func (c *Client) ParseMapEntries(output string) models.MapEntries
- func (c *Client) ParseMapEntriesFromFile(inputFile io.Reader, hasID bool) models.MapEntries
- func (c *Client) SetFrontendMaxConn(frontend string, maxconn int) error
- func (c *Client) SetMapEntry(name, id, value string) error
- func (c *Client) SetServerAddr(backend, server string, ip string, port int) error
- func (c *Client) SetServerAgentAddr(backend, server string, addr string) error
- func (c *Client) SetServerAgentSend(backend, server string, send string) error
- func (c *Client) SetServerCheckPort(backend, server string, port int) error
- func (c *Client) SetServerHealth(backend, server string, health string) error
- func (c *Client) SetServerState(backend, server string, state string) error
- func (c *Client) SetServerWeight(backend, server string, weight string) error
- func (c *Client) ShowMapEntries(name string) (models.MapEntries, error)
- func (c *Client) ShowMaps() (models.Maps, error)
- func (c *Client) ShowTable(name string, process int) (*models.StickTable, error)
- func (c *Client) ShowTables(process int) (models.StickTables, error)
- type ClientParams
- type CrtList
- type CrtListEntries
- type CrtListEntry
- type CrtLists
- type HAProxyMock
- type HAProxyVersion
- type SingleRuntime
- func (s *SingleRuntime) AbortCertEntry(storageName string) error
- func (s *SingleRuntime) AddACLFileEntry(aclID, value string) error
- func (s *SingleRuntime) AddCrtListEntry(crtList string, entry CrtListEntry) error
- func (s *SingleRuntime) AddMapEntry(name, key, value string) error
- func (s *SingleRuntime) AddMapPayload(name, payload string) error
- func (s *SingleRuntime) ClearMap(name string) error
- func (s *SingleRuntime) CommitCertEntry(storageName string) error
- func (s *SingleRuntime) DeleteACLFileEntry(aclID, value string) error
- func (s *SingleRuntime) DeleteCertEntry(storageName string) error
- func (s *SingleRuntime) DeleteCrtListEntry(crtList, certFile string, lineNumber int) error
- func (s *SingleRuntime) DeleteMapEntry(name, id string) error
- func (s *SingleRuntime) DisableAgentCheck(backend, server string) error
- func (s *SingleRuntime) DisableServer(backend, server string) error
- func (s *SingleRuntime) EnableAgentCheck(backend, server string) error
- func (s *SingleRuntime) EnableServer(backend, server string) error
- func (s *SingleRuntime) Execute(command string) error
- func (s *SingleRuntime) ExecuteRaw(command string) (string, error)
- func (s *SingleRuntime) ExecuteWithResponse(command string) (string, error)
- func (s *SingleRuntime) GetACL(storageName string) (*models.ACLFile, error)
- func (s *SingleRuntime) GetACLFileEntry(aclID, value string) (*models.ACLFileEntry, error)
- func (s *SingleRuntime) GetCert(storageName string) (*models.SslCertificate, error)
- func (s *SingleRuntime) GetCrtList(file string) (*CrtList, error)
- func (s *SingleRuntime) GetInfo() models.ProcessInfo
- func (s *SingleRuntime) GetMap(name string) (*models.Map, error)
- func (s *SingleRuntime) GetMapEntry(name, id string) (*models.MapEntry, error)
- func (s *SingleRuntime) GetServerState(backend, server string) (*models.RuntimeServer, error)
- func (s *SingleRuntime) GetServersState(backend string) (models.RuntimeServers, error)
- func (s *SingleRuntime) GetStats() *models.NativeStatsCollection
- func (s *SingleRuntime) GetTableEntries(name string, filter []string, key string) (models.StickTableEntries, error)
- func (s *SingleRuntime) Init(socketPath string, worker int, process int) error
- func (s *SingleRuntime) InitWithContext(ctx context.Context, socketPath string, worker int, process int) error
- func (s *SingleRuntime) NewCertEntry(storageName string) error
- func (s *SingleRuntime) SetCertEntry(storageName string, payload string) error
- func (s *SingleRuntime) SetFrontendMaxConn(frontend string, maxconn int) error
- func (s *SingleRuntime) SetMapEntry(name, id, value string) error
- func (s *SingleRuntime) SetServerAddr(backend, server string, ip string, port int) error
- func (s *SingleRuntime) SetServerAgentAddr(backend, server string, addr string) error
- func (s *SingleRuntime) SetServerAgentSend(backend, server string, send string) error
- func (s *SingleRuntime) SetServerCheckPort(backend, server string, port int) error
- func (s *SingleRuntime) SetServerHealth(backend, server string, health string) error
- func (s *SingleRuntime) SetServerState(backend, server string, state string) error
- func (s *SingleRuntime) SetServerWeight(backend, server string, weight string) error
- func (s *SingleRuntime) ShowACLFileEntries(storageName string) (models.ACLFilesEntries, error)
- func (s *SingleRuntime) ShowACLS() (models.ACLFiles, error)
- func (s *SingleRuntime) ShowCertEntry(storageName string) (*SslCertEntry, error)
- func (s *SingleRuntime) ShowCerts() (models.SslCertificates, error)
- func (s *SingleRuntime) ShowCrtListEntries(file string) (CrtListEntries, error)
- func (s *SingleRuntime) ShowCrtLists() (CrtLists, error)
- func (s *SingleRuntime) ShowMapEntries(name string) (models.MapEntries, error)
- func (s *SingleRuntime) ShowMaps() (models.Maps, error)
- func (s *SingleRuntime) ShowTable(name string) (*models.StickTable, error)
- func (s *SingleRuntime) ShowTables() (models.StickTables, error)
- type SslCertEntries
- type SslCertEntry
- type Task
- type TaskResponse
Constants ¶
const ( // DefaultSocketPath sane default for runtime API socket path DefaultSocketPath string = "/var/run/haproxy.sock" )
Variables ¶
This section is empty.
Functions ¶
func CreateMap ¶ added in v2.0.1
CreateMap creates a new map file with its entries. Returns an error if file already exists
func ParseACLFileEntries ¶ added in v2.2.0
func ParseACLFileEntries(output string, hasID bool) (models.ACLFilesEntries, error)
ParseACLFileEntries parses array of entries in one Acl file One line sample entry: ID Value 0x560f3f9e8600 10.178.160.0
func ParseMapEntries ¶
func ParseMapEntries(output string, hasID bool) models.MapEntries
ParseMapEntries parses array of entries in one map file One line sample entry: ID Key Value 0x55d155c6fbf0 static.example.com be_static
func ServerHealthValid ¶
ServerHealthValid checks if server health is valid
func ServerStateValid ¶
ServerStateValid checks if server state is valid
func ServerWeightValid ¶
ServerWeightValid checks if server state is valid
Types ¶
type Client ¶
type Client struct { ClientParams // contains filtered or unexported fields }
Client handles multiple HAProxy clients
func DefaultClient ¶
DefaultClient return runtime Client with sane defaults
func (*Client) AddACLFileEntry ¶ added in v2.3.0
AddACLFileEntry adds the value for the specified ACL file entry based on its ID
func (*Client) AddMapEntry ¶
AddMapEntry adds an entry into the map file
func (*Client) AddMapPayload ¶ added in v2.2.0
AddMapPayload adds multiple entries to the map file
func (*Client) ClearMap ¶
ClearMap removes all map entries from the map file. If forceDelete is true, deletes file from disk
func (*Client) DeleteACLFileEntry ¶ added in v2.3.0
DeleteACLFileEntry deletes the value for the specified ACL file entry based on its ID
func (*Client) DeleteMapEntry ¶
DeleteMapEntry deletes all the map entries from the map by its id
func (*Client) DisableAgentCheck ¶
DisableAgentCheck disable agent check for server
func (*Client) DisableServer ¶
DisableServer marks server as DOWN for maintenance
func (*Client) EnableAgentCheck ¶
EnableAgentCheck enable agent check for server
func (*Client) EnableServer ¶
EnableServer marks server as UP
func (*Client) ExecuteRaw ¶
ExecuteRaw does not process response, just returns its values for all processes
func (*Client) GetACLFile ¶ added in v2.3.0
GetACLFile returns a the ACL file by its ID
func (*Client) GetACLFileEntry ¶ added in v2.3.0
func (c *Client) GetACLFileEntry(id, value string) (fileEntry *models.ACLFileEntry, err error)
GetACLFileEntry returns the specified file entry based on value and ACL file ID
func (*Client) GetACLFiles ¶ added in v2.3.0
GetACLFiles returns all the ACL files
func (*Client) GetACLFilesEntries ¶ added in v2.3.0
func (c *Client) GetACLFilesEntries(id string) (files models.ACLFilesEntries, err error)
GetACLFilesEntries returns all the files entries for the ACL file ID
func (*Client) GetInfo ¶
func (c *Client) GetInfo() (models.ProcessInfos, error)
GetInfo returns info from the socket
func (*Client) GetMapEntry ¶
GetMapEntry returns one map runtime setting
func (*Client) GetMapsPath ¶
GetMapsPath returns runtime map file path or map id
func (*Client) GetServerState ¶
func (c *Client) GetServerState(backend, server string) (*models.RuntimeServer, error)
GetServerState returns server runtime state
func (*Client) GetServersState ¶
func (c *Client) GetServersState(backend string) (models.RuntimeServers, error)
GetServerState returns server runtime state
func (*Client) GetStats ¶
func (c *Client) GetStats() models.NativeStats
GetStats returns stats from the socket
func (*Client) GetTableEntries ¶
func (c *Client) GetTableEntries(name string, process int, filter []string, key string) (models.StickTableEntries, error)
GetTableEntries returns all entries for specified table in the given process with filters and a key
func (*Client) GetVersion ¶ added in v2.2.0
func (c *Client) GetVersion() (*HAProxyVersion, error)
GetVersion returns info from the socket
func (*Client) InitWithMasterSocket ¶
func (*Client) InitWithMasterSocketAndContext ¶ added in v2.4.0
func (*Client) InitWithSocketsAndContext ¶ added in v2.4.0
func (*Client) ParseMapEntries ¶
func (c *Client) ParseMapEntries(output string) models.MapEntries
func (*Client) ParseMapEntriesFromFile ¶ added in v2.2.0
ParseMapEntriesFromFile reads entries from file
func (*Client) SetFrontendMaxConn ¶
SetFrontendMaxConn set maxconn for frontend
func (*Client) SetMapEntry ¶
SetMapEntry replace the value corresponding to each id in a map
func (*Client) SetServerAddr ¶
SetServerAddr set ip [port] for server
func (*Client) SetServerAgentAddr ¶
SetServerAgentAddr set agent-addr for server
func (*Client) SetServerAgentSend ¶
SetServerAgentSend set agent-send for server
func (*Client) SetServerCheckPort ¶
SetServerCheckPort set health heck port for server
func (*Client) SetServerHealth ¶
SetServerHealth set health for server
func (*Client) SetServerState ¶
SetServerState set state for server
func (*Client) SetServerWeight ¶
SetServerWeight set weight for server
func (*Client) ShowMapEntries ¶
func (c *Client) ShowMapEntries(name string) (models.MapEntries, error)
ShowMapEntries list all map entries by map file name
func (*Client) ShowTable ¶
Show table show tables {name} from runtime API associated with process id and return it structured
func (*Client) ShowTables ¶
func (c *Client) ShowTables(process int) (models.StickTables, error)
Show tables show tables from runtime API and return it structured, if process is 0, return for all processes
type ClientParams ¶
type ClientParams struct {
MapsDir string
}
type CrtListEntries ¶ added in v2.3.0
type CrtListEntries []*CrtListEntry
func ParseCrtListEntries ¶ added in v2.3.0
func ParseCrtListEntries(output string) (CrtListEntries, error)
ParseCrtListEntries parses array of entries in one CrtList file One line sample entry: /etc/ssl/cert-0.pem !*.crt-test.platform.domain.com !connectivitynotification.platform.domain.com !connectivitytunnel.platform.domain.com !authentication.cert.another.domain.com !*.authentication.cert.another.domain.com /etc/ssl/cert-1.pem [verify optional ca-file /etc/ssl/ca-file-1.pem] *.crt-test.platform.domain.com !connectivitynotification.platform.domain.com !connectivitytunnel.platform.domain.com !authentication.cert.another.domain.com !*.authentication.cert.another.domain.com /etc/ssl/cert-2.pem [verify required ca-file /etc/ssl/ca-file-2.pem]
type CrtListEntry ¶ added in v2.3.0
type HAProxyMock ¶ added in v2.2.0
HAProxyMock - Mock HAProxy Server for testing the socket communication
func NewHAProxyMock ¶ added in v2.2.0
func NewHAProxyMock(t *testing.T) *HAProxyMock
NewHAProxyMock - create new haproxy mock
func (*HAProxyMock) SetResponses ¶ added in v2.2.0
func (haproxy *HAProxyMock) SetResponses(responses *map[string]string)
SetResponses - setting the expected responses
type HAProxyVersion ¶ added in v2.2.0
func (*HAProxyVersion) ParseHAProxyVersion ¶ added in v2.2.0
func (v *HAProxyVersion) ParseHAProxyVersion(version string) error
type SingleRuntime ¶
type SingleRuntime struct {
// contains filtered or unexported fields
}
SingleRuntime handles one runtime API
func (*SingleRuntime) AbortCertEntry ¶ added in v2.3.0
func (s *SingleRuntime) AbortCertEntry(storageName string) error
AbortCertEntry adds an entry into the CrtList file
func (*SingleRuntime) AddACLFileEntry ¶ added in v2.2.0
func (s *SingleRuntime) AddACLFileEntry(aclID, value string) error
AddACLFileEntry adds an entry into the Acl file
func (*SingleRuntime) AddCrtListEntry ¶ added in v2.3.0
func (s *SingleRuntime) AddCrtListEntry(crtList string, entry CrtListEntry) error
AddCrtListEntry adds an entry into the CrtList file
func (*SingleRuntime) AddMapEntry ¶
func (s *SingleRuntime) AddMapEntry(name, key, value string) error
AddMapEntry adds an entry into the map file
func (*SingleRuntime) AddMapPayload ¶ added in v2.2.0
func (s *SingleRuntime) AddMapPayload(name, payload string) error
AddMapPayload adds multiple entries to the map file payload param is a multi-line string where each line is a key/value pair
func (*SingleRuntime) ClearMap ¶
func (s *SingleRuntime) ClearMap(name string) error
ClearMap removes all map entries from the map file.
func (*SingleRuntime) CommitCertEntry ¶ added in v2.3.0
func (s *SingleRuntime) CommitCertEntry(storageName string) error
CommitCertEntry adds an entry into the CrtList file
func (*SingleRuntime) DeleteACLFileEntry ¶ added in v2.2.0
func (s *SingleRuntime) DeleteACLFileEntry(aclID, value string) error
DeleteACLFileEntry deletes all the Acl entries from the Acl by its value
func (*SingleRuntime) DeleteCertEntry ¶ added in v2.3.0
func (s *SingleRuntime) DeleteCertEntry(storageName string) error
DeleteCertEntry adds an entry into the CrtList file
func (*SingleRuntime) DeleteCrtListEntry ¶ added in v2.3.0
func (s *SingleRuntime) DeleteCrtListEntry(crtList, certFile string, lineNumber int) error
DeleteCrtListEntry deletes all the CrtList entries from the CrtList by its id
func (*SingleRuntime) DeleteMapEntry ¶
func (s *SingleRuntime) DeleteMapEntry(name, id string) error
DeleteMapEntry deletes all the map entries from the map by its id
func (*SingleRuntime) DisableAgentCheck ¶
func (s *SingleRuntime) DisableAgentCheck(backend, server string) error
DisableAgentCheck disable agent check for server
func (*SingleRuntime) DisableServer ¶
func (s *SingleRuntime) DisableServer(backend, server string) error
DisableServer marks server as DOWN for maintenance
func (*SingleRuntime) EnableAgentCheck ¶
func (s *SingleRuntime) EnableAgentCheck(backend, server string) error
EnableAgentCheck enable agent check for server
func (*SingleRuntime) EnableServer ¶
func (s *SingleRuntime) EnableServer(backend, server string) error
EnableServer marks server as UP
func (*SingleRuntime) Execute ¶
func (s *SingleRuntime) Execute(command string) error
Execute executes command on runtime API
func (*SingleRuntime) ExecuteRaw ¶
func (s *SingleRuntime) ExecuteRaw(command string) (string, error)
ExecuteRaw executes command on runtime API and returns raw result
func (*SingleRuntime) ExecuteWithResponse ¶
func (s *SingleRuntime) ExecuteWithResponse(command string) (string, error)
func (*SingleRuntime) GetACL ¶ added in v2.2.0
func (s *SingleRuntime) GetACL(storageName string) (*models.ACLFile, error)
GetACL returns one structured runtime Acl file
func (*SingleRuntime) GetACLFileEntry ¶ added in v2.2.0
func (s *SingleRuntime) GetACLFileEntry(aclID, value string) (*models.ACLFileEntry, error)
GetACLFileEntry returns one Acl runtime setting
func (*SingleRuntime) GetCert ¶ added in v2.3.0
func (s *SingleRuntime) GetCert(storageName string) (*models.SslCertificate, error)
GetCert returns one structured runtime certs
func (*SingleRuntime) GetCrtList ¶ added in v2.3.0
func (s *SingleRuntime) GetCrtList(file string) (*CrtList, error)
GetCrtList returns one structured runtime CrtList file
func (*SingleRuntime) GetInfo ¶
func (s *SingleRuntime) GetInfo() models.ProcessInfo
GetInfo fetches HAProxy info from runtime API
func (*SingleRuntime) GetMap ¶
func (s *SingleRuntime) GetMap(name string) (*models.Map, error)
GetMap returns one structured runtime map file
func (*SingleRuntime) GetMapEntry ¶
func (s *SingleRuntime) GetMapEntry(name, id string) (*models.MapEntry, error)
GetMapEntry returns one map runtime setting
func (*SingleRuntime) GetServerState ¶
func (s *SingleRuntime) GetServerState(backend, server string) (*models.RuntimeServer, error)
GetServersState returns server runtime state
func (*SingleRuntime) GetServersState ¶
func (s *SingleRuntime) GetServersState(backend string) (models.RuntimeServers, error)
GetServersState returns servers runtime state
func (*SingleRuntime) GetStats ¶
func (s *SingleRuntime) GetStats() *models.NativeStatsCollection
GetStats fetches HAProxy stats from runtime API
func (*SingleRuntime) GetTableEntries ¶
func (s *SingleRuntime) GetTableEntries(name string, filter []string, key string) (models.StickTableEntries, error)
GetTableEntries returns Stick Tables entries
func (*SingleRuntime) Init ¶
func (s *SingleRuntime) Init(socketPath string, worker int, process int) error
Init must be given path to runtime socket and worker number. If in master-worker mode, give the path to the master socket path, and non 0 number for workers. Process is for nbproc > 1. In master-worker mode it's the same as the worker number, but when having multiple stats socket lines bound to processes then use the correct process number
func (*SingleRuntime) InitWithContext ¶ added in v2.4.0
func (*SingleRuntime) NewCertEntry ¶ added in v2.3.0
func (s *SingleRuntime) NewCertEntry(storageName string) error
NewCertEntry adds an entry into the CrtList file
func (*SingleRuntime) SetCertEntry ¶ added in v2.3.0
func (s *SingleRuntime) SetCertEntry(storageName string, payload string) error
SetCertEntry adds an entry into the CrtList file
func (*SingleRuntime) SetFrontendMaxConn ¶
func (s *SingleRuntime) SetFrontendMaxConn(frontend string, maxconn int) error
SetFrontendMaxConn set maxconn for frontend
func (*SingleRuntime) SetMapEntry ¶
func (s *SingleRuntime) SetMapEntry(name, id, value string) error
SetMapEntry replaces the value corresponding to each id in a map
func (*SingleRuntime) SetServerAddr ¶
func (s *SingleRuntime) SetServerAddr(backend, server string, ip string, port int) error
SetServerAddr set ip [port] for server
func (*SingleRuntime) SetServerAgentAddr ¶
func (s *SingleRuntime) SetServerAgentAddr(backend, server string, addr string) error
SetServerAgentAddr set agent-addr for server
func (*SingleRuntime) SetServerAgentSend ¶
func (s *SingleRuntime) SetServerAgentSend(backend, server string, send string) error
SetServerAgentSend set agent-send for server
func (*SingleRuntime) SetServerCheckPort ¶
func (s *SingleRuntime) SetServerCheckPort(backend, server string, port int) error
SetServerCheckPort set health heck port for server
func (*SingleRuntime) SetServerHealth ¶
func (s *SingleRuntime) SetServerHealth(backend, server string, health string) error
SetServerHealth set health for server
func (*SingleRuntime) SetServerState ¶
func (s *SingleRuntime) SetServerState(backend, server string, state string) error
SetServerState set state for server
func (*SingleRuntime) SetServerWeight ¶
func (s *SingleRuntime) SetServerWeight(backend, server string, weight string) error
SetServerWeight set weight for server
func (*SingleRuntime) ShowACLFileEntries ¶ added in v2.2.0
func (s *SingleRuntime) ShowACLFileEntries(storageName string) (models.ACLFilesEntries, error)
ShowACLFileEntries returns one acl runtime entries
func (*SingleRuntime) ShowACLS ¶ added in v2.2.0
func (s *SingleRuntime) ShowACLS() (models.ACLFiles, error)
ShowACLS returns Acl files description from runtime
func (*SingleRuntime) ShowCertEntry ¶ added in v2.3.0
func (s *SingleRuntime) ShowCertEntry(storageName string) (*SslCertEntry, error)
ShowCertEntry returns one CrtList runtime entries
func (*SingleRuntime) ShowCerts ¶ added in v2.3.0
func (s *SingleRuntime) ShowCerts() (models.SslCertificates, error)
ShowCerts returns Certs files description from runtime
func (*SingleRuntime) ShowCrtListEntries ¶ added in v2.3.0
func (s *SingleRuntime) ShowCrtListEntries(file string) (CrtListEntries, error)
ShowCrtListEntries returns one CrtList runtime entries
func (*SingleRuntime) ShowCrtLists ¶ added in v2.3.0
func (s *SingleRuntime) ShowCrtLists() (CrtLists, error)
ShowCrtLists returns CrtList files description from runtime
func (*SingleRuntime) ShowMapEntries ¶
func (s *SingleRuntime) ShowMapEntries(name string) (models.MapEntries, error)
ShowMapEntries returns one map runtime entries
func (*SingleRuntime) ShowMaps ¶
func (s *SingleRuntime) ShowMaps() (models.Maps, error)
ShowMaps returns map files description from runtime
func (*SingleRuntime) ShowTable ¶
func (s *SingleRuntime) ShowTable(name string) (*models.StickTable, error)
ShowTables returns one Stick Table descriptions from runtime
func (*SingleRuntime) ShowTables ¶
func (s *SingleRuntime) ShowTables() (models.StickTables, error)
ShowTables returns Stick Tables descriptions from runtime
type SslCertEntries ¶ added in v2.3.0
type SslCertEntries []*SslCertEntry
type SslCertEntry ¶ added in v2.3.0
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
Task has command to execute on runtime api, and response channel for result
type TaskResponse ¶
type TaskResponse struct {
// contains filtered or unexported fields
}
TaskResponse ...