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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (*API) DeepCopyInto ¶
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 ¶
func (in *ApiBackendElasticsearch) DeepCopy() *ApiBackendElasticsearch
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (*Backend) DeepCopyInto ¶
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 ¶
func (in *BackendElasticsearch) DeepCopy() *BackendElasticsearch
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.