Documentation ¶
Index ¶
- func GetDateString(t time.Time) string
- type Framework
- func (f *Framework) CreateNamespace() error
- func (f *Framework) DeleteNamespace() error
- func (f *Framework) EventuallyAPIServerReady(name string) GomegaAsyncAssertion
- func (f *Framework) Invoke() *Invocation
- func (f *Framework) Namespace() string
- func (f *Framework) NewMessengerOptions(kubeConfigPath string, extraOptions *server.ExtraOptions) *server.MessengerOptions
- func (f *Framework) StartAPIServerAndOperator(kubeConfigPath string, extraOptions *server.ExtraOptions)
- type Invocation
- func (f *Invocation) App() string
- func (f *Invocation) CreateMessage(obj *api.Message) (*api.Message, error)
- func (f *Invocation) CreateMessagingService(obj *api.MessagingService) (*api.MessagingService, error)
- func (f *Invocation) CreateSecret(obj *core.Secret) (*core.Secret, error)
- func (f *Invocation) DeleteAllCRDs() error
- func (f *Invocation) DeleteAllSecrets() error
- func (f *Invocation) EventuallyCheckMessage(msgBoby, timeBeforeSend, authTokenToSeeHistory string) GomegaAsyncAssertion
- func (f *Invocation) NewMessage(genName, namespace string, labels map[string]string, ...) *api.Message
- func (f *Invocation) NewMessagingService(name, namespace string, labels map[string]string, drive, secret string, ...) *api.MessagingService
- func (f *Invocation) NewSecret(name, namespace, authTokenToSendMessage string, labels map[string]string) *core.Secret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDateString ¶
Types ¶
type Framework ¶
type Framework struct { KubeClient kubernetes.Interface MessengerClient cs.Interface CRDClient crd_cs.ApiextensionsV1beta1Interface KAClient ka.Interface WebhookEnabled bool ClientConfig *rest.Config // contains filtered or unexported fields }
func (*Framework) CreateNamespace ¶
func (*Framework) DeleteNamespace ¶
func (*Framework) EventuallyAPIServerReady ¶
func (*Framework) Invoke ¶
func (f *Framework) Invoke() *Invocation
func (*Framework) NewMessengerOptions ¶
func (f *Framework) NewMessengerOptions(kubeConfigPath string, extraOptions *server.ExtraOptions) *server.MessengerOptions
func (*Framework) StartAPIServerAndOperator ¶
func (f *Framework) StartAPIServerAndOperator(kubeConfigPath string, extraOptions *server.ExtraOptions)
type Invocation ¶
type Invocation struct { *Framework // contains filtered or unexported fields }
func (*Invocation) App ¶
func (f *Invocation) App() string
func (*Invocation) CreateMessage ¶
func (*Invocation) CreateMessagingService ¶
func (f *Invocation) CreateMessagingService(obj *api.MessagingService) (*api.MessagingService, error)
func (*Invocation) CreateSecret ¶
func (*Invocation) DeleteAllCRDs ¶
func (f *Invocation) DeleteAllCRDs() error
func (*Invocation) DeleteAllSecrets ¶
func (f *Invocation) DeleteAllSecrets() error
func (*Invocation) EventuallyCheckMessage ¶
func (f *Invocation) EventuallyCheckMessage(msgBoby, timeBeforeSend, authTokenToSeeHistory string) GomegaAsyncAssertion
func (*Invocation) NewMessage ¶
func (*Invocation) NewMessagingService ¶
func (f *Invocation) NewMessagingService( name, namespace string, labels map[string]string, drive, secret string, to []string) *api.MessagingService
Click to show internal directories.
Click to hide internal directories.