socialevent

package
v0.0.0-...-c70a42a Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSocialEvent

func NewSocialEvent(userTier, spaceTier string, options ...Option) *toolchainv1alpha1.SocialEvent

NewSocialEvent returns a new SocialEvent with the given user- and space- tier names, starting: now ending: 1hr later max attendees: 10

Types

type Assertion

type Assertion struct {
	// contains filtered or unexported fields
}

func AssertThatSocialEvent

func AssertThatSocialEvent(t test.T, namespace, name string, client runtimeclient.Client) *Assertion

AssertThatSocialEvent helper func to begin with the assertions on a SocialEvent

func (*Assertion) HasConditions

func (a *Assertion) HasConditions(expected ...toolchainv1alpha1.Condition) *Assertion

func (*Assertion) HasNoConditions

func (a *Assertion) HasNoConditions() *Assertion

func (*Assertion) HasStatusActivations

func (a *Assertion) HasStatusActivations(expected int) *Assertion

type Option

type Option func(*toolchainv1alpha1.SocialEvent)

func WithConditions

func WithConditions(c ...toolchainv1alpha1.Condition) Option

Jump to

Keyboard shortcuts

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