v1alpha1

package
v1.2.22 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 15 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClusterIngressGVK = schema.GroupVersionKind{
		Version: "v1alpha1",
		Group:   "networking.internal.knative.dev",
		Kind:    "ClusterIngress",
	}
)

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) GroupVersionKind added in v0.18.0

func (r *ClusterIngress) GroupVersionKind() schema.GroupVersionKind

func (*ClusterIngress) Hash

func (r *ClusterIngress) Hash(hasher hash.Hash64) (uint64, error)

func (*ClusterIngress) MustHash added in v1.2.13

func (r *ClusterIngress) MustHash() 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