service

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllServices

AllServices is a convenience interface for providing all services

type Wrapper

type Wrapper struct {
	Service AllServices
}

Wrapper is a temporary reimplementation fo upcloud-go-api which prevents casting service.Service struct for the different interfaces used by the commands XXX: this should be removed once the upcloud-go-api supports services in the correct way

func (Wrapper) Account

func (s Wrapper) Account() service.Account

Account returns sub service Account

func (Wrapper) Firewall

func (s Wrapper) Firewall() service.Firewall

Firewall returns sub service Firewall

func (Wrapper) IPAddress

func (s Wrapper) IPAddress() service.IpAddress

IPAddress returns sub service IpAddress

func (Wrapper) Network

func (s Wrapper) Network() service.Network

Network returns sub service Network

func (Wrapper) Plan

func (s Wrapper) Plan() service.Plans

Plan returns sub service Plans

func (Wrapper) Server

func (s Wrapper) Server() service.Server

Server returns sub service Server

func (Wrapper) Storage

func (s Wrapper) Storage() service.Storage

Storage returns sub service Storage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL