Documentation ¶
Index ¶
- Variables
- func Flush()
- func ListAll(kubeConf *rest.Config) ([]v1beta1.Application, error)
- func Print(client *kubernetes.Clientset, app *v1beta1.Application) (err error)
- func Ready(app *v1beta1.Application) bool
- func SilentWait(kubeConf *rest.Config, repo string) error
- func Wait(kubeConf *rest.Config, repo string) error
- func Waiter(kubeConf *rest.Config, repo string, ...) error
- func WatchNamespace(ctx context.Context, client ApplicationInterface) (watch.Interface, error)
- type ApplicationInterface
- type ApplicationV1Beta1Client
- type ApplicationV1Beta1Interface
Constants ¶
This section is empty.
Variables ¶
View Source
var AddToScheme = localSchemeBuilder.AddToScheme
AddToScheme adds all types of this clientset into the given scheme. This allows composition of clientsets, like in:
import ( "k8s.io/client-go/kubernetes" clientsetscheme "k8s.io/client-go/kubernetes/scheme" aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" ) kclientset, _ := kubernetes.NewForConfig(c) _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
After this, RawExtensions in Kubernetes types will serialize kube-aggregator types correctly.
View Source
var Codecs = serializer.NewCodecFactory(Scheme)
View Source
var ParameterCodec = runtime.NewParameterCodec(Scheme)
View Source
var Scheme = runtime.NewScheme()
Functions ¶
func Print ¶
func Print(client *kubernetes.Clientset, app *v1beta1.Application) (err error)
func Ready ¶
func Ready(app *v1beta1.Application) bool
func WatchNamespace ¶
Types ¶
type ApplicationInterface ¶
type ApplicationInterface interface { List(ctx context.Context, opts metav1.ListOptions) (*v1beta1.ApplicationList, error) Get(ctx context.Context, name string, options metav1.GetOptions) (*v1beta1.Application, error) Create(ctx context.Context, app *v1beta1.Application) (*v1beta1.Application, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
type ApplicationV1Beta1Client ¶
type ApplicationV1Beta1Client struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ApplicationV1Beta1Client, error)
func (*ApplicationV1Beta1Client) Applications ¶
func (c *ApplicationV1Beta1Client) Applications(namespace string) ApplicationInterface
type ApplicationV1Beta1Interface ¶
type ApplicationV1Beta1Interface interface {
Applications(namespace string) ApplicationInterface
}
Click to show internal directories.
Click to hide internal directories.