v1alpha1

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 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"`
	FieldMap         map[string][]string `json:"fieldMap"`
	DropFields       []string            `json:"dropFields"`
	Filter           map[string]string   `json:"filter"`
	Backend          ApiBackend          `json:"backend"`
	DefaultTimeRange string              `json:"defaultTimeRange"`
}

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"`
	Backend         Backend `json:"backend"`
	Apis            []API   `json:"apis"`
}

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"`
}

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"`
	RefreshRate     metav1.Duration `json:"refreshRate"`
	TimestampFields []string        `json:"timestampFields"`
	BulkSize        int64           `json:"bulkSize"`
}

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"`
	GCloud        *BackendGCloud        `json:"gcloud"`
}

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"`
	AllowInsecureTLS bool     `json:"allowInsecureTLS"`
	CACert           string   `json:"cacert"`
}

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.

type BackendGCloud added in v0.0.4

type BackendGCloud struct {
	APIKey string `json:"apiKey"`
}

func (*BackendGCloud) DeepCopy added in v0.0.4

func (in *BackendGCloud) DeepCopy() *BackendGCloud

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

func (*BackendGCloud) DeepCopyInto added in v0.0.4

func (in *BackendGCloud) DeepCopyInto(out *BackendGCloud)

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