configversion

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "configversion"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger

	GitHubToken string
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Handler, error)

func (*Handler) EnsureCreated

func (h *Handler) EnsureCreated(ctx context.Context, obj interface{}) error

func (*Handler) EnsureDeleted

func (h *Handler) EnsureDeleted(ctx context.Context, obj interface{}) error

func (*Handler) Name

func (h *Handler) Name() string

type Index

type Index struct {
	Entries map[string][]IndexEntry `json:"entries"`
}

type IndexEntry

type IndexEntry struct {
	ConfigVersion string `json:"configVersion,omitempty"`
	Version       string `json:"version"`
}

Jump to

Keyboard shortcuts

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