gather

package
v0.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

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.

SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

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.

SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

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.

SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

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

This section is empty.

Functions

func CNIResources

func CNIResources(info Info, networkPlugin string)

func CableDriverResources

func CableDriverResources(info Info, cableDriver string)

func ClusterGlobalEgressIPs added in v0.10.1

func ClusterGlobalEgressIPs(info Info)

func ClusterSummary added in v0.10.1

func ClusterSummary(info Info)

func Clusters

func Clusters(info Info, namespace string)

func ConfigMapCoreDNS

func ConfigMapCoreDNS(info Info)

func ConfigMapLighthouseDNS

func ConfigMapLighthouseDNS(info Info, namespace string)

func CoreDNSPodLogs

func CoreDNSPodLogs(info Info)

func EndpointSlices

func EndpointSlices(info Info, namespace string)

func Endpoints

func Endpoints(info Info, namespace string)

func GatewayDaemonSet

func GatewayDaemonSet(info Info, namespace string)

func GatewayPodLogs

func GatewayPodLogs(info Info)

func Gateways

func Gateways(info Info, namespace string)

func GlobalEgressIPs added in v0.10.1

func GlobalEgressIPs(info Info)

func GlobalIngressIPs added in v0.10.1

func GlobalIngressIPs(info Info)

func GlobalnetDaemonSet

func GlobalnetDaemonSet(info Info, namespace string)

func GlobalnetPodLogs

func GlobalnetPodLogs(info Info)

func LighthouseAgentDeployment

func LighthouseAgentDeployment(info Info, namespace string)

func LighthouseCoreDNSDeployment

func LighthouseCoreDNSDeployment(info Info, namespace string)

func NetworkPluginSyncerDeployment

func NetworkPluginSyncerDeployment(info Info, namespace string)

func NetworkPluginSyncerPodLogs

func NetworkPluginSyncerPodLogs(info Info)

func OVNResources

func OVNResources(info Info, networkPlugin string)

func ResourcesToYAMLFile

func ResourcesToYAMLFile(info Info, ofType schema.GroupVersionResource, namespace string, listOptions metav1.ListOptions)

func RouteAgentDaemonSet

func RouteAgentDaemonSet(info Info, namespace string)

func RouteAgentPodLogs

func RouteAgentPodLogs(info Info)

func ServiceDiscoveries

func ServiceDiscoveries(info Info, namespace string)

func ServiceDiscoveryPodLogs

func ServiceDiscoveryPodLogs(info Info)

func ServiceExports

func ServiceExports(info Info, namespace string)

func ServiceImports

func ServiceImports(info Info, namespace string)

func SubmarinerOperatorDeployment

func SubmarinerOperatorDeployment(info Info, namespace string)

func SubmarinerOperatorPodLogs

func SubmarinerOperatorPodLogs(info Info)

func Submariners

func Submariners(info Info, namespace string)

Types

type Info

type Info struct {
	RestConfig           *rest.Config
	Status               *cli.Status
	ClientSet            kubernetes.Interface
	DynClient            dynamic.Interface
	Submariner           *v1alpha1.Submariner
	ServiceDiscovery     *v1alpha1.ServiceDiscovery
	ClusterName          string
	DirName              string
	IncludeSensitiveData bool
	Summary              *Summary
}

type LogInfo added in v0.10.1

type LogInfo struct {
	PodName      string
	Namespace    string
	RestartCount int32
	PodState     v1.PodPhase
	LogFileName  []string
}

type ResourceInfo added in v0.10.1

type ResourceInfo struct {
	Name      string
	Namespace string
	Type      string
	FileName  string
}

type Summary added in v0.10.1

type Summary struct {
	Resources []ResourceInfo
	PodLogs   []LogInfo
}

Jump to

Keyboard shortcuts

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