resource

package
v0.0.0-...-f40082a Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateLabelSelector

func GenerateLabelSelector(selector map[string]string) string

k8s-app=nginx,app=nginx01 多标签查询

Types

type DestinationRulesResource

type DestinationRulesResource struct {
	Params   *handle.Resources
	PostData *v1alpha3.DestinationRule
	Access   *versionedclient.Clientset
}

func (*DestinationRulesResource) Chart

func (r *DestinationRulesResource) Chart() (interface{}, error)

func (*DestinationRulesResource) Create

func (r *DestinationRulesResource) Create() (res *v1alpha3.DestinationRule, err error)

func (*DestinationRulesResource) Delete

func (r *DestinationRulesResource) Delete() (err error)

func (*DestinationRulesResource) GenerateCreateData

func (r *DestinationRulesResource) GenerateCreateData(c *gin.Context) (err error)

func (*DestinationRulesResource) Get

func (*DestinationRulesResource) List

func (*DestinationRulesResource) Patch

func (r *DestinationRulesResource) Patch() (res *v1alpha3.DestinationRule, err error)

func (*DestinationRulesResource) Update

func (r *DestinationRulesResource) Update() (res *v1alpha3.DestinationRule, err error)

type EnvoyFiltersResource

type EnvoyFiltersResource struct {
	Params   *handle.Resources
	PostData *v1alpha3.EnvoyFilter
	Access   *versionedclient.Clientset
}

func (*EnvoyFiltersResource) Create

func (r *EnvoyFiltersResource) Create() (res *v1alpha3.EnvoyFilter, err error)

func (*EnvoyFiltersResource) Delete

func (r *EnvoyFiltersResource) Delete() (err error)

func (*EnvoyFiltersResource) GenerateCreateData

func (r *EnvoyFiltersResource) GenerateCreateData(c *gin.Context) (err error)

func (*EnvoyFiltersResource) Get

func (*EnvoyFiltersResource) List

func (*EnvoyFiltersResource) Patch

func (r *EnvoyFiltersResource) Patch() (res *v1alpha3.EnvoyFilter, err error)

func (*EnvoyFiltersResource) Update

func (r *EnvoyFiltersResource) Update() (res *v1alpha3.EnvoyFilter, err error)

type GatewaysResource

type GatewaysResource struct {
	Params   *handle.Resources
	PostData *v1alpha3.Gateway
	Access   *versionedclient.Clientset
}

func (*GatewaysResource) Chart

func (r *GatewaysResource) Chart() (interface{}, error)

func (*GatewaysResource) Create

func (r *GatewaysResource) Create() (res *v1alpha3.Gateway, err error)

func (*GatewaysResource) Delete

func (r *GatewaysResource) Delete() (err error)

func (*GatewaysResource) GenerateCreateData

func (r *GatewaysResource) GenerateCreateData(c *gin.Context) (err error)

func (*GatewaysResource) Get

func (r *GatewaysResource) Get() (*v1alpha3.Gateway, error)

func (*GatewaysResource) List

func (*GatewaysResource) Patch

func (r *GatewaysResource) Patch() (res *v1alpha3.Gateway, err error)

func (*GatewaysResource) Update

func (r *GatewaysResource) Update() (res *v1alpha3.Gateway, err error)

type InstancesResource

type InstancesResource struct {
	Params   *handle.Resources
	PostData *v1alpha2.Instance
	Access   *versionedclient.Clientset
}

func (*InstancesResource) Create

func (r *InstancesResource) Create() (res *v1alpha2.Instance, err error)

func (*InstancesResource) Delete

func (r *InstancesResource) Delete() (err error)

func (*InstancesResource) GenerateCreateData

func (r *InstancesResource) GenerateCreateData(c *gin.Context) (err error)

func (*InstancesResource) Get

func (*InstancesResource) List

func (*InstancesResource) Patch

func (r *InstancesResource) Patch() (res *v1alpha2.Instance, err error)

func (*InstancesResource) Update

func (r *InstancesResource) Update() (res *v1alpha2.Instance, err error)

type RulesResource

type RulesResource struct {
	Params   *handle.Resources
	PostData *v1alpha2.Rule
	Access   *versionedclient.Clientset
}

func (*RulesResource) Create

func (r *RulesResource) Create() (res *v1alpha2.Rule, err error)

func (*RulesResource) Delete

func (r *RulesResource) Delete() (err error)

func (*RulesResource) GenerateCreateData

func (r *RulesResource) GenerateCreateData(c *gin.Context) (err error)

func (*RulesResource) Get

func (r *RulesResource) Get() (*v1alpha2.Rule, error)

func (*RulesResource) List

func (r *RulesResource) List() (*v1alpha2.RuleList, error)

func (*RulesResource) Patch

func (r *RulesResource) Patch() (res *v1alpha2.Rule, err error)

func (*RulesResource) Update

func (r *RulesResource) Update() (res *v1alpha2.Rule, err error)

type ServiceEntriesResource

type ServiceEntriesResource struct {
	Params   *handle.Resources
	PostData *v1alpha3.ServiceEntry
	Access   *versionedclient.Clientset
}

func (*ServiceEntriesResource) Create

func (r *ServiceEntriesResource) Create() (res *v1alpha3.ServiceEntry, err error)

func (*ServiceEntriesResource) Delete

func (r *ServiceEntriesResource) Delete() (err error)

func (*ServiceEntriesResource) GenerateCreateData

func (r *ServiceEntriesResource) GenerateCreateData(c *gin.Context) (err error)

func (*ServiceEntriesResource) Get

func (*ServiceEntriesResource) List

func (*ServiceEntriesResource) Patch

func (r *ServiceEntriesResource) Patch() (res *v1alpha3.ServiceEntry, err error)

func (*ServiceEntriesResource) Update

func (r *ServiceEntriesResource) Update() (res *v1alpha3.ServiceEntry, err error)

type SidecarsResource

type SidecarsResource struct {
	Params   *handle.Resources
	PostData *v1alpha3.Sidecar
	Access   *versionedclient.Clientset
}

func (*SidecarsResource) Create

func (r *SidecarsResource) Create() (res *v1alpha3.Sidecar, err error)

func (*SidecarsResource) Delete

func (r *SidecarsResource) Delete() (err error)

func (*SidecarsResource) GenerateCreateData

func (r *SidecarsResource) GenerateCreateData(c *gin.Context) (err error)

func (*SidecarsResource) Get

func (r *SidecarsResource) Get() (*v1alpha3.Sidecar, error)

func (*SidecarsResource) List

func (*SidecarsResource) Patch

func (r *SidecarsResource) Patch() (res *v1alpha3.Sidecar, err error)

func (*SidecarsResource) Update

func (r *SidecarsResource) Update() (res *v1alpha3.Sidecar, err error)

type VirtualServicesResource

type VirtualServicesResource struct {
	Params   *handle.Resources
	PostData *v1alpha3.VirtualService
	Access   *versionedclient.Clientset
}

func (*VirtualServicesResource) Chart

func (r *VirtualServicesResource) Chart() (interface{}, error)

func (*VirtualServicesResource) Create

func (r *VirtualServicesResource) Create() (res *v1alpha3.VirtualService, err error)

func (*VirtualServicesResource) Delete

func (r *VirtualServicesResource) Delete() (err error)

func (*VirtualServicesResource) GenerateCreateData

func (r *VirtualServicesResource) GenerateCreateData(c *gin.Context) (err error)

func (*VirtualServicesResource) Get

func (*VirtualServicesResource) List

func (*VirtualServicesResource) Patch

func (r *VirtualServicesResource) Patch() (res *v1alpha3.VirtualService, err error)

func (*VirtualServicesResource) Update

func (r *VirtualServicesResource) Update() (res *v1alpha3.VirtualService, err error)

Jump to

Keyboard shortcuts

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