config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToContext

func ToContext(ctx context.Context, c *Config) context.Context

Types

type Config

type Config struct {
	ArtifactBucket *v1alpha1.ArtifactBucket
}

+k8s:deepcopy-gen=false

func FromContext

func FromContext(ctx context.Context) *Config

type Store

type Store struct {
	*configmap.UntypedStore
	// contains filtered or unexported fields
}

+k8s:deepcopy-gen=false

func NewStore

func NewStore(images pipeline.Images, logger configmap.Logger) *Store

func (*Store) Load

func (s *Store) Load() *Config

func (*Store) ToContext

func (s *Store) ToContext(ctx context.Context) context.Context

Jump to

Keyboard shortcuts

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