multicluster-controller: admiralty.io/multicluster-controller/pkg/patterns/decorator Index | Files

package decorator

import "admiralty.io/multicluster-controller/pkg/patterns/decorator"

Index

Package Files

decorator.go

func NewController Uses

func NewController(ctx context.Context, c *cluster.Cluster, prototype runtime.Object, a Applier, o controller.WatchOptions) (*controller.Controller, error)

type Applier Uses

type Applier interface {
    NeedUpdate(obj interface{}) (bool, error)
    Mutate(obj interface{}) error
}

Package decorator imports 10 packages (graph). Updated 2020-06-07. Refresh now. Tools for package owners.