Documentation ¶
Index ¶
- func Config(configPath string) config.Config
- func Database(config config.Config) opencpspec.DatabaseServiceClient
- func Domain(config config.Config) opencpspec.DomainServiceClient
- func Etcd(config config.Config) (*clientv3.Client, error)
- func Firewall(config config.Config) opencpspec.FirewallServiceClient
- func IP(config config.Config) opencpspec.IpServiceClient
- func KubernetesCluster(config config.Config) opencpspec.KubernetesClusterServiceClient
- func Login(config config.Config) opencpspec.LoginClient
- func Namespace(config config.Config) opencpspec.NamespaceServiceClient
- func ObjectStorage(config config.Config) opencpspec.ObjectStorageServiceClient
- func ObjectStorageCredential(config config.Config) opencpspec.ObjectStorageCredentialServiceClient
- func SSHKey(config config.Config) opencpspec.SSHKeyServiceClient
- func VirtualMachine(config config.Config) opencpspec.VirtualMachineServiceClient
- type OpenCPApp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Database ¶ added in v0.1.5
func Database(config config.Config) opencpspec.DatabaseServiceClient
func Domain ¶
func Domain(config config.Config) opencpspec.DomainServiceClient
func Firewall ¶
func Firewall(config config.Config) opencpspec.FirewallServiceClient
func IP ¶ added in v0.1.2
func IP(config config.Config) opencpspec.IpServiceClient
func KubernetesCluster ¶
func KubernetesCluster(config config.Config) opencpspec.KubernetesClusterServiceClient
func Login ¶
func Login(config config.Config) opencpspec.LoginClient
func Namespace ¶
func Namespace(config config.Config) opencpspec.NamespaceServiceClient
func ObjectStorage ¶ added in v0.1.5
func ObjectStorage(config config.Config) opencpspec.ObjectStorageServiceClient
func ObjectStorageCredential ¶ added in v0.1.5
func ObjectStorageCredential(config config.Config) opencpspec.ObjectStorageCredentialServiceClient
func SSHKey ¶
func SSHKey(config config.Config) opencpspec.SSHKeyServiceClient
func VirtualMachine ¶
func VirtualMachine(config config.Config) opencpspec.VirtualMachineServiceClient
Types ¶
type OpenCPApp ¶
type OpenCPApp struct { Config config.Config Token string Context context.Context EtcdClient *clientv3.Client Namespace opencpspec.NamespaceServiceClient LoginClient opencpspec.LoginClient VirtualMachine opencpspec.VirtualMachineServiceClient KubernetesCluster opencpspec.KubernetesClusterServiceClient Domain opencpspec.DomainServiceClient SSHkey opencpspec.SSHKeyServiceClient Firewall opencpspec.FirewallServiceClient IP opencpspec.IpServiceClient Database opencpspec.DatabaseServiceClient ObjectStorage opencpspec.ObjectStorageServiceClient ObjectStorageCredential opencpspec.ObjectStorageCredentialServiceClient }
func NewAOpenCP ¶
func NewAOpenCP() *OpenCPApp
Click to show internal directories.
Click to hide internal directories.