Documentation ¶
Index ¶
- Variables
- func Flags(fs *flag.FlagSet)
- type Agent
- type ConfigStruct
- type EtcdCluster
- func (c *EtcdCluster) Client(m *btesting.Matcher) *e2eutil.EtcdClient
- func (c *EtcdCluster) Destroy(client *client.Set)
- func (c *EtcdCluster) EqualVersion(m *btesting.Matcher, version string)
- func (c *EtcdCluster) HaveEmptyDir(m *btesting.Matcher)
- func (c *EtcdCluster) HavePVC(m *btesting.Matcher)
- func (c *EtcdCluster) NumOfPods(m *btesting.Matcher, length int)
- func (c *EtcdCluster) Ready(m *btesting.Matcher)
- func (c *EtcdCluster) Reload()
- func (c *EtcdCluster) Update(m *btesting.Matcher, client *client.Set, traits ...k8sfactory.Trait)
- func (c *EtcdCluster) WaitBecome(m *btesting.Matcher, client *client.Set, status etcdv1alpha2.EtcdClusterPhase)
- type EtcdClusters
- type Framework
- type Proxy
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = &ConfigStruct{}
View Source
var EtcdClusterBase = etcd.Factory(nil, k8sfactory.Namespace(metav1.NamespaceDefault), etcd.Version("v3.4.3"), etcd.HighAvailability, )
View Source
var ProxyBase = proxy.Factory(&proxyv1alpha2.Proxy{ Spec: proxyv1alpha2.ProxySpec{ Development: true, Domain: "e2e.f110.dev", Replicas: 3, CertificateAuthority: &proxyv1alpha2.CertificateAuthoritySpec{ Local: &proxyv1alpha2.LocalCertificateAuthoritySpec{ Name: "e2e", }, }, BackendSelector: &proxyv1alpha2.LabelSelector{ LabelSelector: metav1.LabelSelector{ MatchLabels: map[string]string{"instance": "e2e"}, }, }, RoleSelector: &proxyv1alpha2.LabelSelector{ LabelSelector: metav1.LabelSelector{ MatchLabels: map[string]string{"instance": "e2e"}, }, }, IdentityProvider: proxyv1alpha2.IdentityProviderSpec{ Provider: "google", ClientId: "e2e", }, IssuerRef: certmanagermetav1.ObjectReference{ Kind: "ClusterIssuer", Name: "self-signed", }, }, }, k8sfactory.Name("e2e"), k8sfactory.Namespace(metav1.NamespaceDefault), proxy.EtcdDataStore, proxy.CookieSession)
Functions ¶
Types ¶
type Agent ¶ added in v0.12.0
type Agent struct {
// contains filtered or unexported fields
}
type ConfigStruct ¶
type ConfigStruct struct { RandomSeed int64 ProxyVersion string CRDDir string ClusterVersion string Verbose bool KindFile string OperatorImageFile string ProxyImageFile string RPCImageFile string DashboardImageFile string SidecarImageFile string BuildVersion string AllInOneManifest string Step bool Retain bool }
type EtcdCluster ¶ added in v0.12.0
type EtcdCluster struct { *etcdv1alpha2.EtcdCluster // contains filtered or unexported fields }
func (*EtcdCluster) Client ¶ added in v0.12.0
func (c *EtcdCluster) Client(m *btesting.Matcher) *e2eutil.EtcdClient
func (*EtcdCluster) Destroy ¶ added in v0.12.0
func (c *EtcdCluster) Destroy(client *client.Set)
func (*EtcdCluster) EqualVersion ¶ added in v0.12.0
func (c *EtcdCluster) EqualVersion(m *btesting.Matcher, version string)
func (*EtcdCluster) HaveEmptyDir ¶ added in v0.12.0
func (c *EtcdCluster) HaveEmptyDir(m *btesting.Matcher)
func (*EtcdCluster) HavePVC ¶ added in v0.12.0
func (c *EtcdCluster) HavePVC(m *btesting.Matcher)
func (*EtcdCluster) NumOfPods ¶ added in v0.12.0
func (c *EtcdCluster) NumOfPods(m *btesting.Matcher, length int)
func (*EtcdCluster) Ready ¶ added in v0.12.0
func (c *EtcdCluster) Ready(m *btesting.Matcher)
func (*EtcdCluster) Reload ¶ added in v0.12.0
func (c *EtcdCluster) Reload()
func (*EtcdCluster) Update ¶ added in v0.14.0
func (c *EtcdCluster) Update(m *btesting.Matcher, client *client.Set, traits ...k8sfactory.Trait)
func (*EtcdCluster) WaitBecome ¶ added in v0.14.0
func (c *EtcdCluster) WaitBecome(m *btesting.Matcher, client *client.Set, status etcdv1alpha2.EtcdClusterPhase)
type EtcdClusters ¶ added in v0.12.0
type EtcdClusters struct {
// contains filtered or unexported fields
}
func (*EtcdClusters) EtcdCluster ¶ added in v0.12.0
func (e *EtcdClusters) EtcdCluster(name string) *EtcdCluster
func (*EtcdClusters) Reload ¶ added in v0.12.0
func (e *EtcdClusters) Reload(name string) error
func (*EtcdClusters) Setup ¶ added in v0.12.0
func (e *EtcdClusters) Setup(m *btesting.Matcher, traits ...k8sfactory.Trait) bool
type Framework ¶ added in v0.12.0
type Framework struct { *btesting.BehaviorDriven Proxy *Proxy EtcdClusters *EtcdClusters // contains filtered or unexported fields }
func (*Framework) CoreClient ¶ added in v0.12.0
func (f *Framework) CoreClient() *kubernetes.Clientset
type Proxy ¶ added in v0.12.0
type Proxy struct { Backend *proxyv1alpha2.Backend // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.