Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Authenticate(ctx context.Context, username string, password string) (*user.User, error) CreateUser(ctx context.Context, options *user.CreateOptions) (*user.User, error) UpdateUser(ctx context.Context, userId string, options *user.UpdateOptions, fieldMask *user.UpdateFieldMask) (*user.User, error) DeleteUser(ctx context.Context, userId string) (*user.User, error) CreateServer(ctx context.Context, options *server.CreateOptions, userId string) (*server.Server, error) UpdateServer(ctx context.Context, serverId string, options *server.UpdateOptions, fieldMask *server.UpdateFieldMask, userId string) (*server.Server, error) DeleteServer(ctx context.Context, serverId string, userId string) (*server.Server, error) StartServer(ctx context.Context, serverId string) (*server.Server, error) StopServer(ctx context.Context, serverId string) (*server.Server, error) ImportForeignServer(ctx context.Context, name string, userId string) (*server.Server, error) CreatePeer(ctx context.Context, serverId string, options *peer.CreateOptions, userId string) (*peer.Peer, error) UpdatePeer(ctx context.Context, peerId string, options *peer.UpdateOptions, fieldMask *peer.UpdateFieldMask, userId string) (*peer.Peer, error) DeletePeer(ctx context.Context, peerId string, userId string) (*peer.Peer, error) }
Click to show internal directories.
Click to hide internal directories.