v1alpha1

package
v1.12.52 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 16 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

func NewClusterIngressHashableResource added in v1.11.50

func NewClusterIngressHashableResource() resources.HashableResource

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(ctx context.Context, rcFactory factory.ResourceClientFactory) (ClusterIngressClient, error)

func NewClusterIngressClientWithBase

func NewClusterIngressClientWithBase(rc clients.ResourceClient) ClusterIngressClient

func NewClusterIngressClientWithToken

func NewClusterIngressClientWithToken(ctx context.Context, 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)

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, statusSetter resources.StatusSetter) 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