cloud

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cloud contains the services for interacting with SafeDep Cloud. It uses SafeDep gRPC API for communication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApiKeyService

func NewApiKeyService(conn *grpc.ClientConn) (*apiKeyService, error)

func NewOnboardingService

func NewOnboardingService(conn *grpc.ClientConn) (*onboardingService, error)

func NewPingService

func NewPingService(conn *grpc.ClientConn) (*pingService, error)

func NewUserService

func NewUserService(conn *grpc.ClientConn) (*userService, error)

Types

type CreateApiKeyRequest

type CreateApiKeyRequest struct {
	Name         string
	Desc         string
	ExpiryInDays int
}

type CreateApiKeyResponse

type CreateApiKeyResponse struct {
	Key       string
	ExpiresAt time.Time
}

type PingResponse

type PingResponse struct {
	StartedAt  time.Time
	FinishedAt time.Time
}

type RegisterRequest

type RegisterRequest struct {
	Email     string
	Name      string
	OrgName   string
	OrgDomain string
}

type RegisterResponse

type RegisterResponse struct {
	TenantDomain string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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