v1alpha1

package
v0.3.24 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 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 HTTPRouteGroup

func NewHTTPRouteGroup

func NewHTTPRouteGroup(namespace, name string) *HTTPRouteGroup

func (*HTTPRouteGroup) Clone

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

func (*HTTPRouteGroup) Hash

func (r *HTTPRouteGroup) Hash() uint64

type HTTPRouteGroupClient

type HTTPRouteGroupClient interface {
	BaseClient() clients.ResourceClient
	Register() error
	Read(namespace, name string, opts clients.ReadOpts) (*HTTPRouteGroup, error)
	Write(resource *HTTPRouteGroup, opts clients.WriteOpts) (*HTTPRouteGroup, error)
	Delete(namespace, name string, opts clients.DeleteOpts) error
	List(namespace string, opts clients.ListOpts) (HTTPRouteGroupList, error)
	HTTPRouteGroupWatcher
}

func NewHTTPRouteGroupClient

func NewHTTPRouteGroupClient(rcFactory factory.ResourceClientFactory) (HTTPRouteGroupClient, error)

func NewHTTPRouteGroupClientWithBase

func NewHTTPRouteGroupClientWithBase(rc clients.ResourceClient) HTTPRouteGroupClient

func NewHTTPRouteGroupClientWithToken

func NewHTTPRouteGroupClientWithToken(rcFactory factory.ResourceClientFactory, token string) (HTTPRouteGroupClient, error)

type HTTPRouteGroupList

type HTTPRouteGroupList []*HTTPRouteGroup

func (HTTPRouteGroupList) AsInterfaces

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

func (HTTPRouteGroupList) AsResources

func (list HTTPRouteGroupList) AsResources() resources.ResourceList

func (HTTPRouteGroupList) Clone

func (HTTPRouteGroupList) Each

func (list HTTPRouteGroupList) Each(f func(element *HTTPRouteGroup))

func (HTTPRouteGroupList) EachResource

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

func (HTTPRouteGroupList) Find

func (list HTTPRouteGroupList) Find(namespace, name string) (*HTTPRouteGroup, error)

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

func (HTTPRouteGroupList) Names

func (list HTTPRouteGroupList) Names() []string

func (HTTPRouteGroupList) NamespacesDotNames

func (list HTTPRouteGroupList) NamespacesDotNames() []string

func (HTTPRouteGroupList) Sort

type HTTPRouteGroupReconciler

type HTTPRouteGroupReconciler interface {
	Reconcile(namespace string, desiredResources HTTPRouteGroupList, transition TransitionHTTPRouteGroupFunc, opts clients.ListOpts) error
}

func NewHTTPRouteGroupReconciler

func NewHTTPRouteGroupReconciler(client HTTPRouteGroupClient) HTTPRouteGroupReconciler

type HTTPRouteGroupWatcher

type HTTPRouteGroupWatcher interface {
	// watch namespace-scoped httproutegroups
	Watch(namespace string, opts clients.WatchOpts) (<-chan HTTPRouteGroupList, <-chan error, error)
}

type TransitionHTTPRouteGroupFunc

type TransitionHTTPRouteGroupFunc func(original, desired *HTTPRouteGroup) (bool, error)

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

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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