Documentation ¶
Index ¶
- type CloneableServiceProfile
- type ServiceProfile
- type ServiceProfileClient
- func NewServiceProfileClient(rcFactory factory.ResourceClientFactory) (ServiceProfileClient, error)
- func NewServiceProfileClientWithBase(rc clients.ResourceClient) ServiceProfileClient
- func NewServiceProfileClientWithToken(rcFactory factory.ResourceClientFactory, token string) (ServiceProfileClient, error)
- type ServiceProfileList
- func (list ServiceProfileList) AsInterfaces() []interface{}
- func (list ServiceProfileList) AsResources() resources.ResourceList
- func (list ServiceProfileList) Clone() ServiceProfileList
- func (list ServiceProfileList) Each(f func(element *ServiceProfile))
- func (list ServiceProfileList) Find(namespace, name string) (*ServiceProfile, error)
- func (list ServiceProfileList) Names() []string
- func (list ServiceProfileList) NamespacesDotNames() []string
- func (list ServiceProfileList) Sort() ServiceProfileList
- type ServiceProfileReconciler
- type ServiceprofilesByNamespace
- func (byNamespace ServiceprofilesByNamespace) Add(serviceProfile ...*ServiceProfile)
- func (byNamespace ServiceprofilesByNamespace) Clear(namespace string)
- func (byNamespace ServiceprofilesByNamespace) Clone() ServiceprofilesByNamespace
- func (byNamespace ServiceprofilesByNamespace) List() ServiceProfileList
- type TransitionServiceProfileFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneableServiceProfile ¶
type CloneableServiceProfile interface { resources.Resource Clone() *github_com_solo_io_supergloo_api_external_linkerd.ServiceProfile }
type ServiceProfile ¶
type ServiceProfile struct {
github_com_solo_io_supergloo_api_external_linkerd.ServiceProfile
}
func NewServiceProfile ¶
func NewServiceProfile(namespace, name string) *ServiceProfile
func (*ServiceProfile) Clone ¶
func (r *ServiceProfile) Clone() resources.Resource
func (*ServiceProfile) Hash ¶
func (r *ServiceProfile) Hash() uint64
type ServiceProfileClient ¶
type ServiceProfileClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*ServiceProfile, error) Write(resource *ServiceProfile, opts clients.WriteOpts) (*ServiceProfile, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (ServiceProfileList, error) Watch(namespace string, opts clients.WatchOpts) (<-chan ServiceProfileList, <-chan error, error) }
func NewServiceProfileClient ¶
func NewServiceProfileClient(rcFactory factory.ResourceClientFactory) (ServiceProfileClient, error)
func NewServiceProfileClientWithBase ¶
func NewServiceProfileClientWithBase(rc clients.ResourceClient) ServiceProfileClient
func NewServiceProfileClientWithToken ¶
func NewServiceProfileClientWithToken(rcFactory factory.ResourceClientFactory, token string) (ServiceProfileClient, error)
type ServiceProfileList ¶
type ServiceProfileList []*ServiceProfile
func (ServiceProfileList) AsInterfaces ¶
func (list ServiceProfileList) AsInterfaces() []interface{}
func (ServiceProfileList) AsResources ¶
func (list ServiceProfileList) AsResources() resources.ResourceList
func (ServiceProfileList) Clone ¶
func (list ServiceProfileList) Clone() ServiceProfileList
func (ServiceProfileList) Each ¶
func (list ServiceProfileList) Each(f func(element *ServiceProfile))
func (ServiceProfileList) Find ¶
func (list ServiceProfileList) Find(namespace, name string) (*ServiceProfile, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (ServiceProfileList) Names ¶
func (list ServiceProfileList) Names() []string
func (ServiceProfileList) NamespacesDotNames ¶
func (list ServiceProfileList) NamespacesDotNames() []string
func (ServiceProfileList) Sort ¶
func (list ServiceProfileList) Sort() ServiceProfileList
type ServiceProfileReconciler ¶
type ServiceProfileReconciler interface {
Reconcile(namespace string, desiredResources ServiceProfileList, transition TransitionServiceProfileFunc, opts clients.ListOpts) error
}
func NewServiceProfileReconciler ¶
func NewServiceProfileReconciler(client ServiceProfileClient) ServiceProfileReconciler
type ServiceprofilesByNamespace ¶
type ServiceprofilesByNamespace map[string]ServiceProfileList
func (ServiceprofilesByNamespace) Add ¶
func (byNamespace ServiceprofilesByNamespace) Add(serviceProfile ...*ServiceProfile)
func (ServiceprofilesByNamespace) Clear ¶
func (byNamespace ServiceprofilesByNamespace) Clear(namespace string)
func (ServiceprofilesByNamespace) Clone ¶
func (byNamespace ServiceprofilesByNamespace) Clone() ServiceprofilesByNamespace
func (ServiceprofilesByNamespace) List ¶
func (byNamespace ServiceprofilesByNamespace) List() ServiceProfileList
type TransitionServiceProfileFunc ¶
type TransitionServiceProfileFunc func(original, desired *ServiceProfile) (bool, error)
Option to copy anything from the original to the desired before writing. Return value of false means don't update
Click to show internal directories.
Click to hide internal directories.