Documentation ¶
Index ¶
- type CanaryConfig
- func (c *CanaryConfig) Create(canaryConf *fv1.CanaryConfig) (*metav1.ObjectMeta, error)
- func (c *CanaryConfig) Delete(m *metav1.ObjectMeta) error
- func (c *CanaryConfig) Get(m *metav1.ObjectMeta) (*fv1.CanaryConfig, error)
- func (c *CanaryConfig) List(ns string) ([]fv1.CanaryConfig, error)
- func (c *CanaryConfig) Update(canaryConf *fv1.CanaryConfig) (*metav1.ObjectMeta, error)
- type CanaryConfigGetter
- type CanaryConfigInterface
- type Environment
- func (c *Environment) Create(env *fv1.Environment) (*metav1.ObjectMeta, error)
- func (c *Environment) Delete(m *metav1.ObjectMeta) error
- func (c *Environment) Get(m *metav1.ObjectMeta) (*fv1.Environment, error)
- func (c *Environment) List(ns string) ([]fv1.Environment, error)
- func (c *Environment) Update(env *fv1.Environment) (*metav1.ObjectMeta, error)
- type EnvironmentGetter
- type EnvironmentInterface
- type Function
- func (c *Function) Create(f *fv1.Function) (*metav1.ObjectMeta, error)
- func (c *Function) Delete(m *metav1.ObjectMeta) error
- func (c *Function) Get(m *metav1.ObjectMeta) (*fv1.Function, error)
- func (c *Function) GetRawDeployment(m *metav1.ObjectMeta) ([]byte, error)
- func (c *Function) List(functionNamespace string) ([]fv1.Function, error)
- func (c *Function) Update(f *fv1.Function) (*metav1.ObjectMeta, error)
- type FunctionGetter
- type FunctionInterface
- type HTTPTrigger
- func (c *HTTPTrigger) Create(t *fv1.HTTPTrigger) (*metav1.ObjectMeta, error)
- func (c *HTTPTrigger) Delete(m *metav1.ObjectMeta) error
- func (c *HTTPTrigger) Get(m *metav1.ObjectMeta) (*fv1.HTTPTrigger, error)
- func (c *HTTPTrigger) List(triggerNamespace string) ([]fv1.HTTPTrigger, error)
- func (c *HTTPTrigger) Update(t *fv1.HTTPTrigger) (*metav1.ObjectMeta, error)
- type HTTPTriggerGetter
- type HTTPTriggerInterface
- type KubeWatcher
- func (c *KubeWatcher) Create(w *fv1.KubernetesWatchTrigger) (*metav1.ObjectMeta, error)
- func (c *KubeWatcher) Delete(m *metav1.ObjectMeta) error
- func (c *KubeWatcher) Get(m *metav1.ObjectMeta) (*fv1.KubernetesWatchTrigger, error)
- func (c *KubeWatcher) List(ns string) ([]fv1.KubernetesWatchTrigger, error)
- func (c *KubeWatcher) Update(w *fv1.KubernetesWatchTrigger) (*metav1.ObjectMeta, error)
- type KubeWatcherGetter
- type KubeWatcherInterface
- type MessageQueueTrigger
- func (c *MessageQueueTrigger) Create(t *fv1.MessageQueueTrigger) (*metav1.ObjectMeta, error)
- func (c *MessageQueueTrigger) Delete(m *metav1.ObjectMeta) error
- func (c *MessageQueueTrigger) Get(m *metav1.ObjectMeta) (*fv1.MessageQueueTrigger, error)
- func (c *MessageQueueTrigger) List(mqType string, ns string) ([]fv1.MessageQueueTrigger, error)
- func (c *MessageQueueTrigger) Update(mqTrigger *fv1.MessageQueueTrigger) (*metav1.ObjectMeta, error)
- type MessageQueueTriggerGetter
- type MessageQueueTriggerInterface
- type Misc
- type MiscGetter
- type MiscInterface
- type Package
- func (c *Package) Create(f *fv1.Package) (*metav1.ObjectMeta, error)
- func (c *Package) Delete(m *metav1.ObjectMeta) error
- func (c *Package) Get(m *metav1.ObjectMeta) (*fv1.Package, error)
- func (c *Package) List(pkgNamespace string) ([]fv1.Package, error)
- func (c *Package) Update(f *fv1.Package) (*metav1.ObjectMeta, error)
- type PackageGetter
- type PackageInterface
- type TimeTrigger
- func (c *TimeTrigger) Create(t *fv1.TimeTrigger) (*metav1.ObjectMeta, error)
- func (c *TimeTrigger) Delete(m *metav1.ObjectMeta) error
- func (c *TimeTrigger) Get(m *metav1.ObjectMeta) (*fv1.TimeTrigger, error)
- func (c *TimeTrigger) List(ns string) ([]fv1.TimeTrigger, error)
- func (c *TimeTrigger) Update(t *fv1.TimeTrigger) (*metav1.ObjectMeta, error)
- type TimeTriggerGetter
- type TimeTriggerInterface
- type V1
- func (c *V1) CanaryConfig() CanaryConfigInterface
- func (c *V1) Environment() EnvironmentInterface
- func (c *V1) Function() FunctionInterface
- func (c *V1) HTTPTrigger() HTTPTriggerInterface
- func (c *V1) KubeWatcher() KubeWatcherInterface
- func (c *V1) MessageQueueTrigger() MessageQueueTriggerInterface
- func (c *V1) Misc() MiscInterface
- func (c *V1) Package() PackageInterface
- func (c *V1) TimeTrigger() TimeTriggerInterface
- type V1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CanaryConfig ¶
type CanaryConfig struct {
// contains filtered or unexported fields
}
func (*CanaryConfig) Create ¶
func (c *CanaryConfig) Create(canaryConf *fv1.CanaryConfig) (*metav1.ObjectMeta, error)
func (*CanaryConfig) Delete ¶
func (c *CanaryConfig) Delete(m *metav1.ObjectMeta) error
func (*CanaryConfig) Get ¶
func (c *CanaryConfig) Get(m *metav1.ObjectMeta) (*fv1.CanaryConfig, error)
func (*CanaryConfig) List ¶
func (c *CanaryConfig) List(ns string) ([]fv1.CanaryConfig, error)
func (*CanaryConfig) Update ¶
func (c *CanaryConfig) Update(canaryConf *fv1.CanaryConfig) (*metav1.ObjectMeta, error)
type CanaryConfigGetter ¶
type CanaryConfigGetter interface {
CanaryConfig() CanaryConfigInterface
}
type CanaryConfigInterface ¶
type CanaryConfigInterface interface { Create(canaryConf *fv1.CanaryConfig) (*metav1.ObjectMeta, error) Get(m *metav1.ObjectMeta) (*fv1.CanaryConfig, error) Update(canaryConf *fv1.CanaryConfig) (*metav1.ObjectMeta, error) Delete(m *metav1.ObjectMeta) error List(ns string) ([]fv1.CanaryConfig, error) }
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
func (*Environment) Create ¶
func (c *Environment) Create(env *fv1.Environment) (*metav1.ObjectMeta, error)
func (*Environment) Delete ¶
func (c *Environment) Delete(m *metav1.ObjectMeta) error
func (*Environment) Get ¶
func (c *Environment) Get(m *metav1.ObjectMeta) (*fv1.Environment, error)
func (*Environment) List ¶
func (c *Environment) List(ns string) ([]fv1.Environment, error)
func (*Environment) Update ¶
func (c *Environment) Update(env *fv1.Environment) (*metav1.ObjectMeta, error)
type EnvironmentGetter ¶
type EnvironmentGetter interface {
Environment() EnvironmentInterface
}
type EnvironmentInterface ¶
type EnvironmentInterface interface { Create(env *fv1.Environment) (*metav1.ObjectMeta, error) Get(m *metav1.ObjectMeta) (*fv1.Environment, error) Update(env *fv1.Environment) (*metav1.ObjectMeta, error) Delete(m *metav1.ObjectMeta) error List(ns string) ([]fv1.Environment, error) }
type Function ¶
type Function struct {
// contains filtered or unexported fields
}
func (*Function) GetRawDeployment ¶
func (c *Function) GetRawDeployment(m *metav1.ObjectMeta) ([]byte, error)
type FunctionGetter ¶
type FunctionGetter interface {
Function() FunctionInterface
}
type FunctionInterface ¶
type FunctionInterface interface { Create(f *fv1.Function) (*metav1.ObjectMeta, error) Get(m *metav1.ObjectMeta) (*fv1.Function, error) GetRawDeployment(m *metav1.ObjectMeta) ([]byte, error) Update(f *fv1.Function) (*metav1.ObjectMeta, error) Delete(m *metav1.ObjectMeta) error List(functionNamespace string) ([]fv1.Function, error) }
type HTTPTrigger ¶
type HTTPTrigger struct {
// contains filtered or unexported fields
}
func (*HTTPTrigger) Create ¶
func (c *HTTPTrigger) Create(t *fv1.HTTPTrigger) (*metav1.ObjectMeta, error)
func (*HTTPTrigger) Delete ¶
func (c *HTTPTrigger) Delete(m *metav1.ObjectMeta) error
func (*HTTPTrigger) Get ¶
func (c *HTTPTrigger) Get(m *metav1.ObjectMeta) (*fv1.HTTPTrigger, error)
func (*HTTPTrigger) List ¶
func (c *HTTPTrigger) List(triggerNamespace string) ([]fv1.HTTPTrigger, error)
func (*HTTPTrigger) Update ¶
func (c *HTTPTrigger) Update(t *fv1.HTTPTrigger) (*metav1.ObjectMeta, error)
type HTTPTriggerGetter ¶
type HTTPTriggerGetter interface {
HTTPTrigger() HTTPTriggerInterface
}
type HTTPTriggerInterface ¶
type HTTPTriggerInterface interface { Create(t *fv1.HTTPTrigger) (*metav1.ObjectMeta, error) Get(m *metav1.ObjectMeta) (*fv1.HTTPTrigger, error) Update(t *fv1.HTTPTrigger) (*metav1.ObjectMeta, error) Delete(m *metav1.ObjectMeta) error List(triggerNamespace string) ([]fv1.HTTPTrigger, error) }
type KubeWatcher ¶
type KubeWatcher struct {
// contains filtered or unexported fields
}
func (*KubeWatcher) Create ¶
func (c *KubeWatcher) Create(w *fv1.KubernetesWatchTrigger) (*metav1.ObjectMeta, error)
func (*KubeWatcher) Delete ¶
func (c *KubeWatcher) Delete(m *metav1.ObjectMeta) error
func (*KubeWatcher) Get ¶
func (c *KubeWatcher) Get(m *metav1.ObjectMeta) (*fv1.KubernetesWatchTrigger, error)
func (*KubeWatcher) List ¶
func (c *KubeWatcher) List(ns string) ([]fv1.KubernetesWatchTrigger, error)
func (*KubeWatcher) Update ¶
func (c *KubeWatcher) Update(w *fv1.KubernetesWatchTrigger) (*metav1.ObjectMeta, error)
type KubeWatcherGetter ¶
type KubeWatcherGetter interface {
KubeWatcher() KubeWatcherInterface
}
type KubeWatcherInterface ¶
type KubeWatcherInterface interface { Create(w *fv1.KubernetesWatchTrigger) (*metav1.ObjectMeta, error) Get(m *metav1.ObjectMeta) (*fv1.KubernetesWatchTrigger, error) Update(w *fv1.KubernetesWatchTrigger) (*metav1.ObjectMeta, error) Delete(m *metav1.ObjectMeta) error List(ns string) ([]fv1.KubernetesWatchTrigger, error) }
type MessageQueueTrigger ¶
type MessageQueueTrigger struct {
// contains filtered or unexported fields
}
func (*MessageQueueTrigger) Create ¶
func (c *MessageQueueTrigger) Create(t *fv1.MessageQueueTrigger) (*metav1.ObjectMeta, error)
func (*MessageQueueTrigger) Delete ¶
func (c *MessageQueueTrigger) Delete(m *metav1.ObjectMeta) error
func (*MessageQueueTrigger) Get ¶
func (c *MessageQueueTrigger) Get(m *metav1.ObjectMeta) (*fv1.MessageQueueTrigger, error)
func (*MessageQueueTrigger) List ¶
func (c *MessageQueueTrigger) List(mqType string, ns string) ([]fv1.MessageQueueTrigger, error)
func (*MessageQueueTrigger) Update ¶
func (c *MessageQueueTrigger) Update(mqTrigger *fv1.MessageQueueTrigger) (*metav1.ObjectMeta, error)
type MessageQueueTriggerGetter ¶
type MessageQueueTriggerGetter interface {
MessageQueueTrigger() MessageQueueTriggerInterface
}
type MessageQueueTriggerInterface ¶
type MessageQueueTriggerInterface interface { Create(t *fv1.MessageQueueTrigger) (*metav1.ObjectMeta, error) Get(m *metav1.ObjectMeta) (*fv1.MessageQueueTrigger, error) Update(mqTrigger *fv1.MessageQueueTrigger) (*metav1.ObjectMeta, error) Delete(m *metav1.ObjectMeta) error List(mqType string, ns string) ([]fv1.MessageQueueTrigger, error) }
type Misc ¶
type Misc struct {
// contains filtered or unexported fields
}
TODO: we should remove this interface, having this for now is for backward compatibility.
func (*Misc) ConfigMapExists ¶ added in v1.9.0
func (c *Misc) ConfigMapExists(m *metav1.ObjectMeta) error
func (*Misc) PodLogs ¶
func (c *Misc) PodLogs(m *metav1.ObjectMeta) (io.ReadCloser, int, error)
func (*Misc) SecretExists ¶ added in v1.9.0
func (c *Misc) SecretExists(m *metav1.ObjectMeta) error
func (*Misc) ServerInfo ¶
func (c *Misc) ServerInfo() (*info.ServerInfo, error)
type MiscGetter ¶
type MiscGetter interface {
Misc() MiscInterface
}
TODO: we should remove this interface, having this for now is for backward compatibility.
type MiscInterface ¶
type MiscInterface interface { SecretExists(m *metav1.ObjectMeta) error ConfigMapExists(m *metav1.ObjectMeta) error GetSvcURL(label string) (string, error) ServerInfo() (*info.ServerInfo, error) PodLogs(m *metav1.ObjectMeta) (io.ReadCloser, int, error) }
TODO: we should remove this interface, having this for now is for backward compatibility.
type PackageGetter ¶
type PackageGetter interface {
Package() PackageInterface
}
type PackageInterface ¶
type TimeTrigger ¶
type TimeTrigger struct {
// contains filtered or unexported fields
}
func (*TimeTrigger) Create ¶
func (c *TimeTrigger) Create(t *fv1.TimeTrigger) (*metav1.ObjectMeta, error)
func (*TimeTrigger) Delete ¶
func (c *TimeTrigger) Delete(m *metav1.ObjectMeta) error
func (*TimeTrigger) Get ¶
func (c *TimeTrigger) Get(m *metav1.ObjectMeta) (*fv1.TimeTrigger, error)
func (*TimeTrigger) List ¶
func (c *TimeTrigger) List(ns string) ([]fv1.TimeTrigger, error)
func (*TimeTrigger) Update ¶
func (c *TimeTrigger) Update(t *fv1.TimeTrigger) (*metav1.ObjectMeta, error)
type TimeTriggerGetter ¶
type TimeTriggerGetter interface {
TimeTrigger() TimeTriggerInterface
}
type TimeTriggerInterface ¶
type TimeTriggerInterface interface { Create(t *fv1.TimeTrigger) (*metav1.ObjectMeta, error) Get(m *metav1.ObjectMeta) (*fv1.TimeTrigger, error) Update(t *fv1.TimeTrigger) (*metav1.ObjectMeta, error) Delete(m *metav1.ObjectMeta) error List(ns string) ([]fv1.TimeTrigger, error) }
type V1 ¶
type V1 struct {
// contains filtered or unexported fields
}
func MakeV1Client ¶
func (*V1) CanaryConfig ¶
func (c *V1) CanaryConfig() CanaryConfigInterface
func (*V1) Environment ¶
func (c *V1) Environment() EnvironmentInterface
func (*V1) Function ¶
func (c *V1) Function() FunctionInterface
func (*V1) HTTPTrigger ¶
func (c *V1) HTTPTrigger() HTTPTriggerInterface
func (*V1) KubeWatcher ¶
func (c *V1) KubeWatcher() KubeWatcherInterface
func (*V1) MessageQueueTrigger ¶
func (c *V1) MessageQueueTrigger() MessageQueueTriggerInterface
func (*V1) Misc ¶
func (c *V1) Misc() MiscInterface
func (*V1) Package ¶
func (c *V1) Package() PackageInterface
func (*V1) TimeTrigger ¶
func (c *V1) TimeTrigger() TimeTriggerInterface
type V1Interface ¶
type V1Interface interface { MiscGetter CanaryConfigGetter EnvironmentGetter FunctionGetter HTTPTriggerGetter KubeWatcherGetter MessageQueueTriggerGetter PackageGetter TimeTriggerGetter }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.