occurrence

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

type Creator interface {
	CreateOccurrences(context.Context, ...*grafeas.Occurrence) error
}

Creator implements the creation of new occurrences

type GrafeasClient

type GrafeasClient interface {
	Creator
	Lister
}

GrafeasClient handle into grafeas

func NewGrafeasClient

func NewGrafeasClient(log logr.Logger, tlsConfig *tls.Config, endpoint string) (GrafeasClient, error)

NewGrafeasClient creates a new client

type Lister

type Lister interface {
	ListOccurrences(context.Context, string) (*grafeas.ListOccurrencesResponse, error)
}

Lister implements the listing of occurrences

Jump to

Keyboard shortcuts

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