Black Lives Matter
Support the Equal Justice Initiative
Link to Go homepage
  • Why Go
  • Getting Started
  • Discover Packages
  • About
Go.
  • Why Go
  • Getting Started
  • Discover Packages
  • About
  • golang.org
Discover Packages github.com/cnrancher/octopus-api-server tests integration framework

framework

package
Redirected from .
The highest tagged major version is .
Version v1.0.2
Latest Latest Go to latest
Jul 17, 2020 Apache-2.0 19 Imports 0 Imported by
Go
framework
Version v1.0.2
Latest Go to latest
Jul 17, 2020 Apache-2.0 19 Imports 0 Imported by
  • Documentation
    • Index
    • Constants
    • Variables
    • Functions
      • ConvertToUnstruct(in)
      • SetupCustomAPIController(ctx, cli, restConfig)
    • Types
      • type K8sCli
        • NewK8sCli()
  • Source Files

Documentation

Index ¶

  • func ConvertToUnstruct(in metav1.Object) (*unstructured.Unstructured, error)
  • func SetupCustomAPIController(ctx context.Context, cli *discovery.DiscoveryClient, restConfig *rest.Config) error
  • type K8sCli
    • func NewK8sCli() (*K8sCli, error)

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func ConvertToUnstruct ¶

func ConvertToUnstruct(in metav1.Object) (*unstructured.Unstructured, error)

func SetupCustomAPIController ¶

func SetupCustomAPIController(ctx context.Context, cli *discovery.DiscoveryClient, restConfig *rest.Config) error

Types ¶

type K8sCli ¶

type K8sCli struct {
	Clientset *kubernetes.Clientset
	Dyclient  dynamic.Interface
	Cfg       *rest.Config
}

func NewK8sCli ¶

func NewK8sCli() (*K8sCli, error)

Source Files

View all
  • edgeapi.go
  • environment.go
  • k8sclient.go
DetailsLearn more
  • checked Valid go.mod file
  • checked Redistributable license
  • checked Tagged version
  • checked Stable version
Repository
https://github.com/cnrancher/octopus-api-server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
Why Go Use Cases Case Studies
Getting Started Playground Tour Stack Overflow
Discover Packages
About Download Blog Release Notes Brand Guidelines Code of Conduct
Connect Twitter GitHub Slack Meetup
Gopher in flight goggles
  • Copyright
  • Terms of Service
  • Privacy Policy
  • Report an Issue
  • golang.org
Google logo