v1alpha1

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/raffis/kjournal/pkg/apis/config +k8s:defaulter-gen=TypeMeta +groupName=config.kjournal

Index

Constants

This section is empty.

Variables

View Source
var AddToScheme = func(scheme *runtime.Scheme) error {
	metav1.AddToGroupVersion(scheme, schema.GroupVersion{
		Group:   "config.kjournal",
		Version: "v1alpha1",
	})

	scheme.AddKnownTypes(schema.GroupVersion{
		Group:   "config.kjournal",
		Version: "v1alpha1",
	}, &APIServerConfig{})

	return nil
}

Functions

This section is empty.

Types

type API

type API struct {
	Resource         string              `json:"resource,omitempty"`
	FieldMap         map[string][]string `json:"fieldMap,omitempty"`
	DropFields       []string            `json:"dropFields,omitempty"`
	Filter           string              `json:"filter,omitempty"`
	Backend          ApiBackend          `json:"backend,omitempty"`
	DefaultTimeRange string              `json:"defaultTimeRange,omitempty"`
}

func (*API) DeepCopy

func (in *API) DeepCopy() *API

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.

func (*API) DeepCopyInto

func (in *API) DeepCopyInto(out *API)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type APIServerConfig

type APIServerConfig struct {
	metav1.TypeMeta `json:",inline,omitempty"`
	Backend         Backend `json:"backend,omitempty"`
	Apis            []API   `json:"apis,omitempty"`
}

APIServerConfig +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*APIServerConfig) DeepCopy

func (in *APIServerConfig) DeepCopy() *APIServerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerConfig.

func (*APIServerConfig) DeepCopyInto

func (in *APIServerConfig) DeepCopyInto(out *APIServerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*APIServerConfig) DeepCopyObject

func (in *APIServerConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ApiBackend

type ApiBackend struct {
	Elasticsearch ApiBackendElasticsearch `json:"elasticsearch,omitempty"`
}

func (*ApiBackend) DeepCopy

func (in *ApiBackend) DeepCopy() *ApiBackend

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiBackend.

func (*ApiBackend) DeepCopyInto

func (in *ApiBackend) DeepCopyInto(out *ApiBackend)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ApiBackendElasticsearch

type ApiBackendElasticsearch struct {
	Index           string          `json:"index,omitempty"`
	RefreshRate     metav1.Duration `json:"refreshRate,omitempty"`
	TimestampFields []string        `json:"timestampFields,omitempty"`
	BulkSize        int64           `json:"bulkSize,omitempty"`
}

func (*ApiBackendElasticsearch) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiBackendElasticsearch.

func (*ApiBackendElasticsearch) DeepCopyInto

func (in *ApiBackendElasticsearch) DeepCopyInto(out *ApiBackendElasticsearch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Backend

type Backend struct {
	Elasticsearch *BackendElasticsearch `json:"elasticsearch,omitempty"`
}

func (*Backend) DeepCopy

func (in *Backend) DeepCopy() *Backend

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.

func (*Backend) DeepCopyInto

func (in *Backend) DeepCopyInto(out *Backend)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendElasticsearch

type BackendElasticsearch struct {
	URL              []string `json:"url,omitempty"`
	AllowInsecureTLS bool     `json:"allowInsecureTLS,omitempty"`
	CACert           string   `json:"cacert,omitempty"`
}

func (*BackendElasticsearch) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendElasticsearch.

func (*BackendElasticsearch) DeepCopyInto

func (in *BackendElasticsearch) DeepCopyInto(out *BackendElasticsearch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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