route

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Copyright 2020 TriggerMesh Inc.

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

This section is empty.

Types

type Route

type Route struct {
	Name      string
	Namespace string
}

func (*Route) Delete

func (r *Route) Delete(clientset *client.ConfigSet) error

Route removes knative route object

func (*Route) Get

func (r *Route) Get(clientset *client.ConfigSet) (*servingv1.Route, error)

Get returns k8s object

func (*Route) GetObject added in v0.1.1

func (r *Route) GetObject(route *servingv1.Route) printer.Object

GetObject converts k8s object into printable structure

func (*Route) GetTable added in v0.1.1

func (rt *Route) GetTable(list *servingv1.RouteList) printer.Table

GetTable converts k8s list instance into printable object

func (*Route) List

func (rt *Route) List(clientset *client.ConfigSet) (*servingv1.RouteList, error)

List returns k8s list object

Jump to

Keyboard shortcuts

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