svc

package
v0.0.0-...-9c7b1c4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePageToken

func DecodePageToken(ptoken string) (offset, limit int32, err error)

DecodePageToken decodes page token from the user's request. Return error if provided token is malformed or contains ivalid values, otherwise return offset, limit.

func EncodePageToken

func EncodePageToken(offset, limit int32) string

EncodePageToken encodes offset and limit to a string in application specific format (offset:limit) in base64 encoding.

func NewAmisServer

func NewAmisServer() (pb.AmisServer, error)

NewAmisServer returns an instance of the default Ami server interface

func NewApplicationVersionsServer

func NewApplicationVersionsServer() (pb.ApplicationVersionsServer, error)

NewApplicationVersionsServer returns an instance of the default ApplicationVersion server interface

func NewApplicationsServer

func NewApplicationsServer() (pb.ApplicationsServer, error)

NewApplicationsServer returns an instance of the default Application server interface

func NewBasicServer

func NewBasicServer(database *gorm.DB) (pb.SecopsServer, error)

NewBasicServer returns an instance of the default server interface

func NewCloudProvidersServer

func NewCloudProvidersServer() (pb.CloudProvidersServer, error)

NewCloudProvidersServer returns an instance of the default CloudProvider server interface

func NewContainerTagsServer

func NewContainerTagsServer() (pb.ContainerTagsServer, error)

NewContainerTagsServer returns an instance of the default ContainerTag server interface

func NewContainersServer

func NewContainersServer() (pb.ContainersServer, error)

NewContainersServer returns an instance of the default Container server interface

func NewEventsServer

func NewEventsServer() (pb.EventsServer, error)

NewEventsServer returns an instance of the default Event server interface

func NewHostsServer

func NewHostsServer() (pb.HostsServer, error)

NewHostsServer returns an instance of the default Host server interface

func NewKnowledgeBasesServer

func NewKnowledgeBasesServer() (pb.KnowledgeBasesServer, error)

NewKnowledgeBasesServer returns an instance of the default KnowledgeBase server interface

func NewRegionsServer

func NewRegionsServer() (pb.RegionsServer, error)

NewRegionsServer returns an instance of the default Region server interface

func NewRegistriesServer

func NewRegistriesServer() (pb.RegistriesServer, error)

NewRegistriesServer returns an instance of the default Registry server interface

func NewVpcsServer

func NewVpcsServer() (pb.VpcsServer, error)

NewVpcsServer returns an instance of the default Vpc server interface

func NewVulnerabilitiesServer

func NewVulnerabilitiesServer() (pb.VulnerabilitiesServer, error)

NewVulnerabilitiesServer returns an instance of the default Vulnerability server interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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