Documentation ¶
Index ¶
- type CloneableTrafficSplit
- type TrafficSplit
- type TrafficSplitClient
- type TrafficSplitList
- func (list TrafficSplitList) AsInterfaces() []interface{}
- func (list TrafficSplitList) AsResources() resources.ResourceList
- func (list TrafficSplitList) Clone() TrafficSplitList
- func (list TrafficSplitList) Each(f func(element *TrafficSplit))
- func (list TrafficSplitList) EachResource(f func(element resources.Resource))
- func (list TrafficSplitList) Find(namespace, name string) (*TrafficSplit, error)
- func (list TrafficSplitList) Names() []string
- func (list TrafficSplitList) NamespacesDotNames() []string
- func (list TrafficSplitList) Sort() TrafficSplitList
- type TrafficSplitReconciler
- type TrafficSplitWatcher
- type TransitionTrafficSplitFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneableTrafficSplit ¶
type CloneableTrafficSplit interface { resources.Resource Clone() *github_com_solo_io_supergloo_api_external_smi_split.TrafficSplit }
type TrafficSplit ¶
type TrafficSplit struct {
github_com_solo_io_supergloo_api_external_smi_split.TrafficSplit
}
func NewTrafficSplit ¶
func NewTrafficSplit(namespace, name string) *TrafficSplit
func (*TrafficSplit) Clone ¶
func (r *TrafficSplit) Clone() resources.Resource
func (*TrafficSplit) Hash ¶
func (r *TrafficSplit) Hash() uint64
type TrafficSplitClient ¶
type TrafficSplitClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*TrafficSplit, error) Write(resource *TrafficSplit, opts clients.WriteOpts) (*TrafficSplit, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (TrafficSplitList, error) TrafficSplitWatcher }
func NewTrafficSplitClient ¶
func NewTrafficSplitClient(rcFactory factory.ResourceClientFactory) (TrafficSplitClient, error)
func NewTrafficSplitClientWithBase ¶
func NewTrafficSplitClientWithBase(rc clients.ResourceClient) TrafficSplitClient
func NewTrafficSplitClientWithToken ¶
func NewTrafficSplitClientWithToken(rcFactory factory.ResourceClientFactory, token string) (TrafficSplitClient, error)
type TrafficSplitList ¶
type TrafficSplitList []*TrafficSplit
func (TrafficSplitList) AsInterfaces ¶
func (list TrafficSplitList) AsInterfaces() []interface{}
func (TrafficSplitList) AsResources ¶
func (list TrafficSplitList) AsResources() resources.ResourceList
func (TrafficSplitList) Clone ¶
func (list TrafficSplitList) Clone() TrafficSplitList
func (TrafficSplitList) Each ¶
func (list TrafficSplitList) Each(f func(element *TrafficSplit))
func (TrafficSplitList) EachResource ¶
func (list TrafficSplitList) EachResource(f func(element resources.Resource))
func (TrafficSplitList) Find ¶
func (list TrafficSplitList) Find(namespace, name string) (*TrafficSplit, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (TrafficSplitList) Names ¶
func (list TrafficSplitList) Names() []string
func (TrafficSplitList) NamespacesDotNames ¶
func (list TrafficSplitList) NamespacesDotNames() []string
func (TrafficSplitList) Sort ¶
func (list TrafficSplitList) Sort() TrafficSplitList
type TrafficSplitReconciler ¶
type TrafficSplitReconciler interface {
Reconcile(namespace string, desiredResources TrafficSplitList, transition TransitionTrafficSplitFunc, opts clients.ListOpts) error
}
func NewTrafficSplitReconciler ¶
func NewTrafficSplitReconciler(client TrafficSplitClient) TrafficSplitReconciler
type TrafficSplitWatcher ¶
type TransitionTrafficSplitFunc ¶
type TransitionTrafficSplitFunc func(original, desired *TrafficSplit) (bool, error)
Option to copy anything from the original to the desired before writing. Return value of false means don't update
Source Files ¶
Click to show internal directories.
Click to hide internal directories.