v1alpha1

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterIngress

func NewClusterIngress

func NewClusterIngress(namespace, name string) *ClusterIngress

func (*ClusterIngress) Clone

func (r *ClusterIngress) Clone() resources.Resource

func (*ClusterIngress) Hash

func (r *ClusterIngress) Hash() uint64

type ClusterIngressClient

type ClusterIngressClient interface {
	BaseClient() clients.ResourceClient
	Register() error
	Read(namespace, name string, opts clients.ReadOpts) (*ClusterIngress, error)
	Write(resource *ClusterIngress, opts clients.WriteOpts) (*ClusterIngress, error)
	Delete(namespace, name string, opts clients.DeleteOpts) error
	List(namespace string, opts clients.ListOpts) (ClusterIngressList, error)
	ClusterIngressWatcher
}

func NewClusterIngressClient

func NewClusterIngressClient(rcFactory factory.ResourceClientFactory) (ClusterIngressClient, error)

func NewClusterIngressClientWithBase

func NewClusterIngressClientWithBase(rc clients.ResourceClient) ClusterIngressClient

func NewClusterIngressClientWithToken

func NewClusterIngressClientWithToken(rcFactory factory.ResourceClientFactory, token string) (ClusterIngressClient, error)

type ClusterIngressList

type ClusterIngressList []*ClusterIngress

func (ClusterIngressList) AsInterfaces

func (list ClusterIngressList) AsInterfaces() []interface{}

func (ClusterIngressList) AsResources

func (list ClusterIngressList) AsResources() resources.ResourceList

func (ClusterIngressList) Clone

func (ClusterIngressList) Each

func (list ClusterIngressList) Each(f func(element *ClusterIngress))

func (ClusterIngressList) EachResource

func (list ClusterIngressList) EachResource(f func(element resources.Resource))

func (ClusterIngressList) Find

func (list ClusterIngressList) Find(namespace, name string) (*ClusterIngress, error)

namespace is optional, if left empty, names can collide if the list contains more than one with the same name

func (ClusterIngressList) Names

func (list ClusterIngressList) Names() []string

func (ClusterIngressList) NamespacesDotNames

func (list ClusterIngressList) NamespacesDotNames() []string

func (ClusterIngressList) Sort

type ClusterIngressReconciler

type ClusterIngressReconciler interface {
	Reconcile(namespace string, desiredResources ClusterIngressList, transition TransitionClusterIngressFunc, opts clients.ListOpts) error
}

func NewClusterIngressReconciler

func NewClusterIngressReconciler(client ClusterIngressClient) ClusterIngressReconciler

type ClusterIngressWatcher

type ClusterIngressWatcher interface {
	// watch namespace-scoped clusteringresses
	Watch(namespace string, opts clients.WatchOpts) (<-chan ClusterIngressList, <-chan error, error)
}

type TransitionClusterIngressFunc

type TransitionClusterIngressFunc func(original, desired *ClusterIngress) (bool, error)

Option to copy anything from the original to the desired before writing. Return value of false means don't update

Jump to

Keyboard shortcuts

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