v1beta1

package
v0.0.0-...-45f8ed2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2022 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var (
	Scheme = runtime.NewScheme()
)

Functions

func GV

func GV() *schema.GroupVersion

func IPAddressPoolGVR

func IPAddressPoolGVR() schema.GroupVersionResource

func L2AdvertisementGVR

func L2AdvertisementGVR() schema.GroupVersionResource

Types

type Clientset

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

Clientset is a client for the metallb crds.

func NewForConfig

func NewForConfig(c *rest.Config) (*Clientset, error)

NewForConfig returns a new Clientset based on c.

func (*Clientset) IPAddressPool

func (c *Clientset) IPAddressPool(namespace string) IPAddressPoolInterface

func (*Clientset) L2Advertisement

func (c *Clientset) L2Advertisement(namespace string) L2AdvertisementInterface

func (*Clientset) Metallb

func (c *Clientset) Metallb() Interface

func (*Clientset) SetDynamicClient

func (c *Clientset) SetDynamicClient(d dynamic.Interface)

SetDynamicClient is only exposed for integration testing.

type IPAddressPoolInterface

IPAddressPoolInterface provides access to the IPAddressPool CRD.

type Interface

type Interface interface {
	IPAddressPool(namespace string) IPAddressPoolInterface
	L2Advertisement(namespace string) L2AdvertisementInterface
}

Interface is the clientset interface for Metallb.

type L2AdvertisementInterface

L2AdvertisementInterface provides access to the L2Advertisement CRD.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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