Documentation ¶
Index ¶
- Constants
- func State(conState jsonrpc.State) *tfgridState
- type Client
- func (c *Client) AddK8sWorker(ctx context.Context, conState jsonrpc.State, ...) (tfgridBase.K8sCluster, error)
- func (c *Client) DeleteDiscourse(ctx context.Context, conState jsonrpc.State, discourseName string) error
- func (c *Client) DeleteFunkwhale(ctx context.Context, conState jsonrpc.State, funkwhaleName string) error
- func (c *Client) DeletePeertube(ctx context.Context, conState jsonrpc.State, peertubeName string) error
- func (c *Client) DeletePresearch(ctx context.Context, conState jsonrpc.State, presearchName string) error
- func (c *Client) DeleteTaiga(ctx context.Context, conState jsonrpc.State, taigaName string) error
- func (c *Client) DeleteVM(ctx context.Context, conState jsonrpc.State, networkName string) error
- func (c *Client) DeployDiscourse(ctx context.Context, conState jsonrpc.State, discourse tfgridBase.Discourse) (tfgridBase.DiscourseResult, error)
- func (c *Client) DeployFunkwhale(ctx context.Context, conState jsonrpc.State, funkwhale tfgridBase.Funkwhale) (tfgridBase.FunkwhaleResult, error)
- func (c *Client) DeployPeertube(ctx context.Context, conState jsonrpc.State, peertube tfgridBase.Peertube) (tfgridBase.PeertubeResult, error)
- func (c *Client) DeployPresearch(ctx context.Context, conState jsonrpc.State, presearch tfgridBase.Presearch) (tfgridBase.PresearchResult, error)
- func (c *Client) DeployTaiga(ctx context.Context, conState jsonrpc.State, taiga tfgridBase.Taiga) (tfgridBase.TaigaResult, error)
- func (c *Client) DeployVM(ctx context.Context, conState jsonrpc.State, vm tfgridBase.VM) (tfgridBase.VMResult, error)
- func (c *Client) FilterNodes(ctx context.Context, conState jsonrpc.State, filters tfgridBase.FilterOptions) ([]uint32, error)
- func (c *Client) GatewayFQDNDelete(ctx context.Context, conState jsonrpc.State, modelName string) error
- func (c *Client) GatewayFQDNDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.GatewayFQDNModel) (tfgridBase.GatewayFQDNModel, error)
- func (c *Client) GatewayFQDNGet(ctx context.Context, conState jsonrpc.State, modelName string) (tfgridBase.GatewayFQDNModel, error)
- func (c *Client) GatewayNameDelete(ctx context.Context, conState jsonrpc.State, modelName string) error
- func (c *Client) GatewayNameDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.GatewayNameModel) (tfgridBase.GatewayNameModel, error)
- func (c *Client) GatewayNameGet(ctx context.Context, conState jsonrpc.State, modelName string) (tfgridBase.GatewayNameModel, error)
- func (c *Client) GetDiscourse(ctx context.Context, conState jsonrpc.State, discourseName string) (tfgridBase.DiscourseResult, error)
- func (c *Client) GetFunkwhale(ctx context.Context, conState jsonrpc.State, funkwhaleName string) (tfgridBase.FunkwhaleResult, error)
- func (c *Client) GetPeertube(ctx context.Context, conState jsonrpc.State, peertubeName string) (tfgridBase.PeertubeResult, error)
- func (c *Client) GetPresearch(ctx context.Context, conState jsonrpc.State, presearchName string) (tfgridBase.PresearchResult, error)
- func (c *Client) GetTaiga(ctx context.Context, conState jsonrpc.State, taigaName string) (tfgridBase.TaigaResult, error)
- func (c *Client) GetVM(ctx context.Context, conState jsonrpc.State, networkName string) (tfgridBase.VMResult, error)
- func (c *Client) K8sDelete(ctx context.Context, conState jsonrpc.State, modelName string) error
- func (c *Client) K8sDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.K8sCluster) (tfgridBase.K8sCluster, error)
- func (c *Client) K8sGet(ctx context.Context, conState jsonrpc.State, ...) (tfgridBase.K8sCluster, error)
- func (c *Client) Load(ctx context.Context, conState jsonrpc.State, args Load) error
- func (c *Client) MachinesAdd(ctx context.Context, conState jsonrpc.State, ...) (tfgridBase.MachinesModel, error)
- func (c *Client) MachinesDelete(ctx context.Context, conState jsonrpc.State, modelName string) error
- func (c *Client) MachinesDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.MachinesModel) (tfgridBase.MachinesModel, error)
- func (c *Client) MachinesGet(ctx context.Context, conState jsonrpc.State, modelName string) (tfgridBase.MachinesModel, error)
- func (c *Client) MachinesRemove(ctx context.Context, conState jsonrpc.State, ...) (tfgridBase.MachinesModel, error)
- func (c *Client) RemoveK8sWorker(ctx context.Context, conState jsonrpc.State, ...) (tfgridBase.K8sCluster, error)
- func (c *Client) RemoveVM(ctx context.Context, conState jsonrpc.State, args tfgridBase.RemoveVM) (tfgridBase.VMResult, error)
- func (c *Client) ZDBDelete(ctx context.Context, conState jsonrpc.State, modelName string) error
- func (c *Client) ZDBDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.ZDB) (tfgridBase.ZDB, error)
- func (c *Client) ZDBGet(ctx context.Context, conState jsonrpc.State, modelName string) (tfgridBase.ZDB, error)
- func (c *Client) ZOSDeploymentChanges(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) ([]gridtypes.Workload, error)
- func (c *Client) ZOSDeploymentDelete(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) error
- func (c *Client) ZOSDeploymentDeploy(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) error
- func (c *Client) ZOSDeploymentGet(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (gridtypes.Deployment, error)
- func (c *Client) ZOSDeploymentUpdate(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) error
- func (c *Client) ZOSHasPublicIPv6(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (bool, error)
- func (c *Client) ZOSNetworkGetPublicExitDevice(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (client.ExitDevice, error)
- func (c *Client) ZOSNetworkInterfaces(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (map[string][]net.IP, error)
- func (c *Client) ZOSNetworkListAllInterfaces(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (map[string]client.Interface, error)
- func (c *Client) ZOSNetworkListWGPorts(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) ([]uint16, error)
- func (c *Client) ZOSNetworkPublicConfigGet(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (client.PublicConfig, error)
- func (c *Client) ZOSNetworkSetPublicExitDevice(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) error
- func (c *Client) ZOSStatisticsGet(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (tfgrid.Statistics, error)
- func (c *Client) ZOSStoragePools(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) ([]client.PoolMetrics, error)
- func (c *Client) ZOSSystemDMI(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (dmi.DMI, error)
- func (c *Client) ZOSSystemHypervisor(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (string, error)
- func (c *Client) ZOSSystemVersion(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (client.Version, error)
- type Load
- type ZOSNodeRequest
Constants ¶
View Source
const (
TFGridID = "tfgrid"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct{}
Client exposing tfgrid methods
func (*Client) AddK8sWorker ¶
func (c *Client) AddK8sWorker(ctx context.Context, conState jsonrpc.State, workerInfo tfgridBase.AddWorkerParams) (tfgridBase.K8sCluster, error)
func (*Client) DeleteDiscourse ¶
func (*Client) DeleteFunkwhale ¶
func (*Client) DeletePeertube ¶
func (*Client) DeletePresearch ¶
func (*Client) DeleteTaiga ¶
func (*Client) DeployDiscourse ¶
func (c *Client) DeployDiscourse(ctx context.Context, conState jsonrpc.State, discourse tfgridBase.Discourse) (tfgridBase.DiscourseResult, error)
func (*Client) DeployFunkwhale ¶
func (c *Client) DeployFunkwhale(ctx context.Context, conState jsonrpc.State, funkwhale tfgridBase.Funkwhale) (tfgridBase.FunkwhaleResult, error)
func (*Client) DeployPeertube ¶
func (c *Client) DeployPeertube(ctx context.Context, conState jsonrpc.State, peertube tfgridBase.Peertube) (tfgridBase.PeertubeResult, error)
func (*Client) DeployPresearch ¶
func (c *Client) DeployPresearch(ctx context.Context, conState jsonrpc.State, presearch tfgridBase.Presearch) (tfgridBase.PresearchResult, error)
func (*Client) DeployTaiga ¶
func (c *Client) DeployTaiga(ctx context.Context, conState jsonrpc.State, taiga tfgridBase.Taiga) (tfgridBase.TaigaResult, error)
func (*Client) DeployVM ¶
func (c *Client) DeployVM(ctx context.Context, conState jsonrpc.State, vm tfgridBase.VM) (tfgridBase.VMResult, error)
func (*Client) FilterNodes ¶
func (c *Client) FilterNodes(ctx context.Context, conState jsonrpc.State, filters tfgridBase.FilterOptions) ([]uint32, error)
func (*Client) GatewayFQDNDelete ¶
func (*Client) GatewayFQDNDeploy ¶
func (c *Client) GatewayFQDNDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.GatewayFQDNModel) (tfgridBase.GatewayFQDNModel, error)
func (*Client) GatewayFQDNGet ¶
func (c *Client) GatewayFQDNGet(ctx context.Context, conState jsonrpc.State, modelName string) (tfgridBase.GatewayFQDNModel, error)
func (*Client) GatewayNameDelete ¶
func (*Client) GatewayNameDeploy ¶
func (c *Client) GatewayNameDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.GatewayNameModel) (tfgridBase.GatewayNameModel, error)
func (*Client) GatewayNameGet ¶
func (c *Client) GatewayNameGet(ctx context.Context, conState jsonrpc.State, modelName string) (tfgridBase.GatewayNameModel, error)
func (*Client) GetDiscourse ¶
func (c *Client) GetDiscourse(ctx context.Context, conState jsonrpc.State, discourseName string) (tfgridBase.DiscourseResult, error)
func (*Client) GetFunkwhale ¶
func (c *Client) GetFunkwhale(ctx context.Context, conState jsonrpc.State, funkwhaleName string) (tfgridBase.FunkwhaleResult, error)
func (*Client) GetPeertube ¶
func (c *Client) GetPeertube(ctx context.Context, conState jsonrpc.State, peertubeName string) (tfgridBase.PeertubeResult, error)
func (*Client) GetPresearch ¶
func (c *Client) GetPresearch(ctx context.Context, conState jsonrpc.State, presearchName string) (tfgridBase.PresearchResult, error)
func (*Client) GetTaiga ¶
func (c *Client) GetTaiga(ctx context.Context, conState jsonrpc.State, taigaName string) (tfgridBase.TaigaResult, error)
func (*Client) K8sDeploy ¶
func (c *Client) K8sDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.K8sCluster) (tfgridBase.K8sCluster, error)
func (*Client) K8sGet ¶
func (c *Client) K8sGet(ctx context.Context, conState jsonrpc.State, k8sGetInfo tfgridBase.GetClusterParams) (tfgridBase.K8sCluster, error)
func (*Client) MachinesAdd ¶
func (c *Client) MachinesAdd(ctx context.Context, conState jsonrpc.State, machine tfgridBase.AddMachineParams) (tfgridBase.MachinesModel, error)
func (*Client) MachinesDelete ¶
func (*Client) MachinesDeploy ¶
func (c *Client) MachinesDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.MachinesModel) (tfgridBase.MachinesModel, error)
func (*Client) MachinesGet ¶
func (c *Client) MachinesGet(ctx context.Context, conState jsonrpc.State, modelName string) (tfgridBase.MachinesModel, error)
func (*Client) MachinesRemove ¶
func (c *Client) MachinesRemove(ctx context.Context, conState jsonrpc.State, removeMachine tfgridBase.RemoveMachineParams) (tfgridBase.MachinesModel, error)
func (*Client) RemoveK8sWorker ¶
func (c *Client) RemoveK8sWorker(ctx context.Context, conState jsonrpc.State, removeWorkerInfo tfgridBase.RemoveWorkerParams) (tfgridBase.K8sCluster, error)
func (*Client) RemoveVM ¶
func (c *Client) RemoveVM(ctx context.Context, conState jsonrpc.State, args tfgridBase.RemoveVM) (tfgridBase.VMResult, error)
func (*Client) ZDBDeploy ¶
func (c *Client) ZDBDeploy(ctx context.Context, conState jsonrpc.State, model tfgridBase.ZDB) (tfgridBase.ZDB, error)
func (*Client) ZOSDeploymentChanges ¶
func (*Client) ZOSDeploymentDelete ¶
func (c *Client) ZOSDeploymentDelete(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) error
func (*Client) ZOSDeploymentDeploy ¶
func (c *Client) ZOSDeploymentDeploy(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) error
func (*Client) ZOSDeploymentGet ¶
func (c *Client) ZOSDeploymentGet(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (gridtypes.Deployment, error)
func (*Client) ZOSDeploymentUpdate ¶
func (c *Client) ZOSDeploymentUpdate(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) error
func (*Client) ZOSHasPublicIPv6 ¶
func (*Client) ZOSNetworkGetPublicExitDevice ¶
func (c *Client) ZOSNetworkGetPublicExitDevice(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (client.ExitDevice, error)
func (*Client) ZOSNetworkInterfaces ¶
func (*Client) ZOSNetworkListAllInterfaces ¶
func (*Client) ZOSNetworkListWGPorts ¶
func (*Client) ZOSNetworkPublicConfigGet ¶
func (c *Client) ZOSNetworkPublicConfigGet(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (client.PublicConfig, error)
func (*Client) ZOSNetworkSetPublicExitDevice ¶
func (c *Client) ZOSNetworkSetPublicExitDevice(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) error
func (*Client) ZOSStatisticsGet ¶
func (c *Client) ZOSStatisticsGet(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) (tfgrid.Statistics, error)
func (*Client) ZOSStoragePools ¶
func (c *Client) ZOSStoragePools(ctx context.Context, conState jsonrpc.State, request ZOSNodeRequest) ([]client.PoolMetrics, error)
func (*Client) ZOSSystemDMI ¶
func (*Client) ZOSSystemHypervisor ¶
func (*Client) ZOSSystemVersion ¶
type ZOSNodeRequest ¶
type ZOSNodeRequest struct { NodeID uint32 `json:"node_id"` Data json.RawMessage `json:"data"` }
Click to show internal directories.
Click to hide internal directories.