installations

package
v0.0.0-...-c8eb8dd Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SecretHashAnnotationKey is a key for 'sha-1' in annotations of generated secrets
	// The controller determines the secret is up-to-date by this hash value
	SecretHashAnnotationKey = "ghapp.tsuzu.dev/sha1"

	// SecretExpiredAtAnnotationKey is a key for 'expired-at' in annotations of generated secrets
	SecretExpiredAtAnnotationKey = "ghapp.tsuzu.dev/expired-at"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client        client.Client
	Installation  *v1alpha1.Installation
	RefreshBefore time.Duration
}

func (*Client) Run

type SecretStatus

type SecretStatus int

SecretStatus is a status of the generated secret

const (
	NotExisting SecretStatus = iota
	Desired
	Undesirable
)

Jump to

Keyboard shortcuts

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