client

package
v0.0.0-...-4748121 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

func NewClient

func NewClient(k8sClient client.Client) Client

NewClient creates a kubernetes client

type ClusterRoleBinding

type ClusterRoleBinding interface {
	CreateClusterRoleBinding(*rbacv1.ClusterRoleBinding) error
	GetClusterRoleBinding(name string) (*rbacv1.ClusterRoleBinding, error)
}

ClusterRoleBinding contains methods for manipulating ClusterRoleBindings.

type Infrastructure

type Infrastructure interface {
	GetInfrastructure(name string) (*configv1.Infrastructure, error)
}

Infrastructure contains method for manipulating Infrastructure

type OAuthClient

type OAuthClient interface {
	CreateOAuthClient(*oauthv1.OAuthClient) error
	GetOAuthClient(name string) (*oauthv1.OAuthClient, error)
}

OAuthClient contains methods for manipulating OAuthClient.

type Route

type Route interface {
	CreateRoute(route *routev1.Route) error
	GetRoute(namespace, name string) (*routev1.Route, error)
	DeleteRoute(r *routev1.Route) error
}

type Secret

type Secret interface {
	GetSecret(namespace, name string) (*v1.Secret, error)
	CreateSecret(*v1.Secret) error
}

Secret contains methods for manipulating Secrets

type ServiceAccount

type ServiceAccount interface {
	CreateServiceAccount(*v1.ServiceAccount) error
	GetServiceAccount(namespace, name string) (*v1.ServiceAccount, error)
}

ServiceAccount contains methods for manipulating ServiceAccounts.

Jump to

Keyboard shortcuts

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