server

package
v0.0.0-...-cd71283 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsAdapterServerOptions

type EventsAdapterServerOptions struct {
	// genericoptions.ReccomendedOptions - EtcdOptions
	SecureServing  *genericoptions.SecureServingOptions
	Authentication *genericoptions.DelegatingAuthenticationOptions
	Authorization  *genericoptions.DelegatingAuthorizationOptions
	Features       *genericoptions.FeatureOptions

	StdOut io.Writer
	StdErr io.Writer
}

EventsAdapterServerOptions stores a configuration for events adapter

func NewEventsAdapterServerOptions

func NewEventsAdapterServerOptions(out, errOut io.Writer) *EventsAdapterServerOptions

NewEventsAdapterServerOptions creates a EventsAdapterServerOptions for provided output interface

func (*EventsAdapterServerOptions) Complete

func (o *EventsAdapterServerOptions) Complete() error

Complete fills in any fields not set that are required to have valid data. Currently all fields are set by NewEventsAdapterServerOptions, so this is a no-op.

func (EventsAdapterServerOptions) Config

Config returns apiserver.Config object from EventsAdapterServerOptions.

func (EventsAdapterServerOptions) Validate

func (o EventsAdapterServerOptions) Validate(args []string) error

Validate validates EventsAdapterServerOptions. Currently all fields are correctly set in NewsAdapterServerOptions, so this is a no-op.

Jump to

Keyboard shortcuts

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