Documentation ¶
Index ¶
- func DecodePageToken(ptoken string) (offset, limit int32, err error)
- func EncodePageToken(offset, limit int32) string
- func NewAmisServer() (pb.AmisServer, error)
- func NewApplicationVersionsServer() (pb.ApplicationVersionsServer, error)
- func NewApplicationsServer() (pb.ApplicationsServer, error)
- func NewBasicServer(database *gorm.DB) (pb.SecopsServer, error)
- func NewCloudProvidersServer() (pb.CloudProvidersServer, error)
- func NewContainerTagsServer() (pb.ContainerTagsServer, error)
- func NewContainersServer() (pb.ContainersServer, error)
- func NewEventsServer() (pb.EventsServer, error)
- func NewHostsServer() (pb.HostsServer, error)
- func NewKnowledgeBasesServer() (pb.KnowledgeBasesServer, error)
- func NewRegionsServer() (pb.RegionsServer, error)
- func NewRegistriesServer() (pb.RegistriesServer, error)
- func NewVpcsServer() (pb.VpcsServer, error)
- func NewVulnerabilitiesServer() (pb.VulnerabilitiesServer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePageToken ¶
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 ¶
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.