k8s

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpdateShaAnnotationName       = "initium.nearform.com/updateSha"
	UpdateTimestampAnnotationName = "initium.nearform.com/updateTimestamp"
)

Variables

This section is empty.

Functions

func Apply

func Apply(serviceManifest *servingv1.Service, config *rest.Config) (string, error)

func Clean

func Clean(namespace string, config *rest.Config, project *project.Project) error

func Config

func Config(endpoint string, token string, caCrt []byte) (*rest.Config, error)

func GetServiceAccount

func GetServiceAccount(resources fs.FS) error

func LoadManifest added in v0.7.0

func LoadManifest(namespace string, commitSha string, project *project.Project, dockerImage docker.DockerImage, envFile string, secretRefEnvFile string) (*servingv1.Service, error)

func ToYaml added in v0.7.0

func ToYaml(serviceManifest *servingv1.Service) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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