Documentation
¶
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type AnonymousConfig
- type ApintoAuth
- type ApintoAuthList
- type ApintoDiscovery
- type ApintoDiscoveryList
- type ApintoGlobalSetting
- type ApintoOutput
- type ApintoOutputList
- type ApintoRouter
- type ApintoRouterList
- type ApintoService
- type ApintoServiceList
- type ApintoSettingList
- type ApintoUpstream
- type ApintoUpstreamList
- type AuthSpec
- type Cert
- type Config
- type Credential
- type Credentials
- type DiscoverySpec
- type FileConfig
- type FileOutput
- type FormatterConfig
- type HealthConfig
- type HttpConfig
- type HttpOutput
- type KafkaConfig
- type KafkaOutput
- type NsqdConfig
- type NsqdOutput
- type OutputSpec
- type PluginConfig
- type RouterSpec
- type Rule
- type ServiceSpec
- type SettingPlugin
- type SettingPlugins
- type SettingSpec
- type SysConfig
- type SysOutput
- type UpstreamSpec
- type User
- type Users
Constants ¶
const GroupName = "apinto.com"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AnonymousConfig ¶
type AnonymousConfig struct { Type string `json:"type,omitempty" yaml:"type,omitempty"` Config string `json:"config,omitempty" yaml:"config,omitempty"` }
func (*AnonymousConfig) DeepCopy ¶
func (in *AnonymousConfig) DeepCopy() *AnonymousConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnonymousConfig.
func (*AnonymousConfig) DeepCopyInto ¶
func (in *AnonymousConfig) DeepCopyInto(out *AnonymousConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApintoAuth ¶
type ApintoAuth struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AuthSpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ApintoAuth) DeepCopy ¶
func (in *ApintoAuth) DeepCopy() *ApintoAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoAuth.
func (*ApintoAuth) DeepCopyInto ¶
func (in *ApintoAuth) DeepCopyInto(out *ApintoAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoAuth) DeepCopyObject ¶
func (in *ApintoAuth) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoAuthList ¶
type ApintoAuthList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []ApintoAuth `json:"items,omitempty" yaml:"items,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ApintoAuthList) DeepCopy ¶
func (in *ApintoAuthList) DeepCopy() *ApintoAuthList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoAuthList.
func (*ApintoAuthList) DeepCopyInto ¶
func (in *ApintoAuthList) DeepCopyInto(out *ApintoAuthList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoAuthList) DeepCopyObject ¶
func (in *ApintoAuthList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoDiscovery ¶
type ApintoDiscovery struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DiscoverySpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
func (*ApintoDiscovery) DeepCopy ¶
func (in *ApintoDiscovery) DeepCopy() *ApintoDiscovery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoDiscovery.
func (*ApintoDiscovery) DeepCopyInto ¶
func (in *ApintoDiscovery) DeepCopyInto(out *ApintoDiscovery)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoDiscovery) DeepCopyObject ¶
func (in *ApintoDiscovery) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoDiscoveryList ¶
type ApintoDiscoveryList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []ApintoDiscovery `json:"items,omitempty" yaml:"items,omitempty"` }
func (*ApintoDiscoveryList) DeepCopy ¶
func (in *ApintoDiscoveryList) DeepCopy() *ApintoDiscoveryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoDiscoveryList.
func (*ApintoDiscoveryList) DeepCopyInto ¶
func (in *ApintoDiscoveryList) DeepCopyInto(out *ApintoDiscoveryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoDiscoveryList) DeepCopyObject ¶
func (in *ApintoDiscoveryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoGlobalSetting ¶
type ApintoGlobalSetting struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SettingSpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
func (*ApintoGlobalSetting) DeepCopy ¶
func (in *ApintoGlobalSetting) DeepCopy() *ApintoGlobalSetting
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoGlobalSetting.
func (*ApintoGlobalSetting) DeepCopyInto ¶
func (in *ApintoGlobalSetting) DeepCopyInto(out *ApintoGlobalSetting)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoGlobalSetting) DeepCopyObject ¶
func (in *ApintoGlobalSetting) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoOutput ¶
type ApintoOutput struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OutputSpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
func (*ApintoOutput) DeepCopy ¶
func (in *ApintoOutput) DeepCopy() *ApintoOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoOutput.
func (*ApintoOutput) DeepCopyInto ¶
func (in *ApintoOutput) DeepCopyInto(out *ApintoOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoOutput) DeepCopyObject ¶
func (in *ApintoOutput) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoOutputList ¶
type ApintoOutputList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []ApintoOutput `json:"items,omitempty" yaml:"items,omitempty"` }
func (*ApintoOutputList) DeepCopy ¶
func (in *ApintoOutputList) DeepCopy() *ApintoOutputList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoOutputList.
func (*ApintoOutputList) DeepCopyInto ¶
func (in *ApintoOutputList) DeepCopyInto(out *ApintoOutputList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoOutputList) DeepCopyObject ¶
func (in *ApintoOutputList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoRouter ¶
type ApintoRouter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RouterSpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
func (*ApintoRouter) DeepCopy ¶
func (in *ApintoRouter) DeepCopy() *ApintoRouter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoRouter.
func (*ApintoRouter) DeepCopyInto ¶
func (in *ApintoRouter) DeepCopyInto(out *ApintoRouter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoRouter) DeepCopyObject ¶
func (in *ApintoRouter) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoRouterList ¶
type ApintoRouterList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []ApintoRouter `json:"items,omitempty" yaml:"items,omitempty"` }
func (*ApintoRouterList) DeepCopy ¶
func (in *ApintoRouterList) DeepCopy() *ApintoRouterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoRouterList.
func (*ApintoRouterList) DeepCopyInto ¶
func (in *ApintoRouterList) DeepCopyInto(out *ApintoRouterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoRouterList) DeepCopyObject ¶
func (in *ApintoRouterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoService ¶
type ApintoService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceSpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
func (*ApintoService) DeepCopy ¶
func (in *ApintoService) DeepCopy() *ApintoService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoService.
func (*ApintoService) DeepCopyInto ¶
func (in *ApintoService) DeepCopyInto(out *ApintoService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoService) DeepCopyObject ¶
func (in *ApintoService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoServiceList ¶
type ApintoServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []ApintoService `json:"items,omitempty" yaml:"items,omitempty"` }
func (*ApintoServiceList) DeepCopy ¶
func (in *ApintoServiceList) DeepCopy() *ApintoServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoServiceList.
func (*ApintoServiceList) DeepCopyInto ¶
func (in *ApintoServiceList) DeepCopyInto(out *ApintoServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoServiceList) DeepCopyObject ¶
func (in *ApintoServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoSettingList ¶
type ApintoSettingList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []ApintoGlobalSetting `json:"items,omitempty" yaml:"items,omitempty"` }
func (*ApintoSettingList) DeepCopy ¶
func (in *ApintoSettingList) DeepCopy() *ApintoSettingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoSettingList.
func (*ApintoSettingList) DeepCopyInto ¶
func (in *ApintoSettingList) DeepCopyInto(out *ApintoSettingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoSettingList) DeepCopyObject ¶
func (in *ApintoSettingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoUpstream ¶
type ApintoUpstream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UpstreamSpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
func (*ApintoUpstream) DeepCopy ¶
func (in *ApintoUpstream) DeepCopy() *ApintoUpstream
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoUpstream.
func (*ApintoUpstream) DeepCopyInto ¶
func (in *ApintoUpstream) DeepCopyInto(out *ApintoUpstream)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoUpstream) DeepCopyObject ¶
func (in *ApintoUpstream) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApintoUpstreamList ¶
type ApintoUpstreamList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []ApintoUpstream `json:"items,omitempty" yaml:"items,omitempty"` }
func (*ApintoUpstreamList) DeepCopy ¶
func (in *ApintoUpstreamList) DeepCopy() *ApintoUpstreamList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApintoUpstreamList.
func (*ApintoUpstreamList) DeepCopyInto ¶
func (in *ApintoUpstreamList) DeepCopyInto(out *ApintoUpstreamList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApintoUpstreamList) DeepCopyObject ¶
func (in *ApintoUpstreamList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthSpec ¶
type AuthSpec struct { Name string `json:"name" yaml:"name,omitempty"` Driver string `json:"driver,omitempty" yaml:"driver,omitempty"` HideCredentials bool `json:"hide_credentials,omitempty" yaml:"hide_credentials,omitempty"` Credentials Credentials `json:"credentials,omitempty" yaml:"credentials"` RunOnPreflight bool `json:"run_on_preflight,omitempty" yaml:"run_on_preflight,omitempty"` SignatureIsBase64 bool `json:"signature_is_base64,omitempty" yaml:"signature_is_base64,omitempty"` User Users `json:"user,omitempty" yaml:"user,omitempty"` ClaimsToVerify []string `json:"claims_to_verify,omitempty" yaml:"claims_to_verify,omitempty"` }
func (*AuthSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSpec.
func (*AuthSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cert ¶
type Cert struct { Key string `json:"key,omitempty" yaml:"key,omitempty"` Crt string `json:"crt,omitempty" yaml:"crt,omitempty"` }
Cert http路由驱动配置证书Cert结构体
func (*Cert) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cert.
func (*Cert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Config ¶
type Config map[string]interface{}
func (*Config) DeepCopyInto ¶
func (Config) IsExported ¶
type Credential ¶
type Credential struct { Iss string `json:"iss,omitempty" yaml:"iss,omitempty"` Secret string `json:"secret,omitempty" yaml:"secret,omitempty"` Algorithm string `json:"algorithm,omitempty" yaml:"algorithm,omitempty"` RsaPublicKey string `json:"rsa_public_key,omitempty" yaml:"rsa_public_key,omitempty"` }
func (*Credential) DeepCopy ¶
func (in *Credential) DeepCopy() *Credential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credential.
func (*Credential) DeepCopyInto ¶
func (in *Credential) DeepCopyInto(out *Credential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Credentials ¶
type Credentials []Credential
func (Credentials) DeepCopy ¶
func (in Credentials) DeepCopy() Credentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credentials.
func (Credentials) DeepCopyInto ¶
func (in Credentials) DeepCopyInto(out *Credentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscoverySpec ¶
type DiscoverySpec struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Driver string `json:"driver,omitempty" yaml:"driver,omitempty"` Desc string `json:"desc,omitempty" yaml:"desc,omitempty"` Scheme string `json:"scheme,omitempty" yaml:"scheme,omitempty"` HealthON bool `json:"health_on,omitempty" yaml:"health_on,omitempty"` Config Config `json:"config,omitempty" yaml:"config,omitempty"` Health HealthConfig `json:"health,omitempty" yaml:"health,omitempty"` }
func (*DiscoverySpec) DeepCopy ¶
func (in *DiscoverySpec) DeepCopy() *DiscoverySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoverySpec.
func (*DiscoverySpec) DeepCopyInto ¶
func (in *DiscoverySpec) DeepCopyInto(out *DiscoverySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileConfig ¶
type FileConfig struct { File string `json:"file,omitempty" yaml:"file,omitempty"` Dir string `json:"dir,omitempty" yaml:"dir,omitempty"` Period string `json:"period,omitempty" yaml:"period,omitempty"` Expire int `json:"expire,omitempty" yaml:"expire,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Formatter FormatterConfig `json:"formatter,omitempty" yaml:"formatter,omitempty"` }
func (*FileConfig) DeepCopy ¶
func (in *FileConfig) DeepCopy() *FileConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileConfig.
func (*FileConfig) DeepCopyInto ¶
func (in *FileConfig) DeepCopyInto(out *FileConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileOutput ¶
type FileOutput struct {
Config FileConfig `json:"config,omitempty" yaml:"config,omitempty"`
}
func (*FileOutput) DeepCopy ¶
func (in *FileOutput) DeepCopy() *FileOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileOutput.
func (*FileOutput) DeepCopyInto ¶
func (in *FileOutput) DeepCopyInto(out *FileOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FormatterConfig ¶
func (*FormatterConfig) DeepCopy ¶
func (c *FormatterConfig) DeepCopy() *FormatterConfig
func (*FormatterConfig) DeepCopyInto ¶
func (c *FormatterConfig) DeepCopyInto(out *FormatterConfig)
func (FormatterConfig) IsExported ¶
func (f FormatterConfig) IsExported() bool
type HealthConfig ¶
type HealthConfig struct { Scheme string `json:"scheme,omitempty" yaml:"scheme,omitempty"` Method string `json:"method,omitempty" yaml:"method,omitempty"` URL string `json:"url,omitempty" yaml:"url,omitempty"` SuccessCode int `json:"success_code,omitempty" yaml:"success_code,omitempty"` Period int `json:"period,omitempty" yaml:"period,omitempty"` Timeout int `json:"timeout,omitempty" yaml:"timeout,omitempty"` }
func (*HealthConfig) DeepCopy ¶
func (in *HealthConfig) DeepCopy() *HealthConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthConfig.
func (*HealthConfig) DeepCopyInto ¶
func (in *HealthConfig) DeepCopyInto(out *HealthConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttpConfig ¶
type HttpConfig struct { Method string `json:"method,omitempty" yaml:"method,omitempty"` Url string `json:"url,omitempty" yaml:"url,omitempty"` Headers map[string]string `json:"headers,omitempty" yaml:"headers,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Formatter FormatterConfig `json:"formatter,omitempty" yaml:"formatter,omitempty"` }
func (*HttpConfig) DeepCopy ¶
func (in *HttpConfig) DeepCopy() *HttpConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpConfig.
func (*HttpConfig) DeepCopyInto ¶
func (in *HttpConfig) DeepCopyInto(out *HttpConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttpOutput ¶
type HttpOutput struct {
Config HttpConfig `json:"config,omitempty" yaml:"config,omitempty"`
}
func (*HttpOutput) DeepCopy ¶
func (in *HttpOutput) DeepCopy() *HttpOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpOutput.
func (*HttpOutput) DeepCopyInto ¶
func (in *HttpOutput) DeepCopyInto(out *HttpOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaConfig ¶
type KafkaConfig struct { Topic string `json:"topic,omitempty" yaml:"topic,omitempty"` Address string `json:"address,omitempty" yaml:"address,omitempty"` Timeout int `json:"timeout" yaml:"timeout,omitempty"` Version string `json:"version,omitempty" yaml:"version,omitempty"` PartitionType string `json:"partition_type,omitempty" yaml:"partition_type,omitempty"` Partition int32 `json:"partition,omitempty" yaml:"partition,omitempty"` PartitionKey string `json:"partition_key,omitempty" yaml:"partition_key,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Formatter FormatterConfig `json:"formatter,omitempty" yaml:"formatter,omitempty"` }
func (*KafkaConfig) DeepCopy ¶
func (in *KafkaConfig) DeepCopy() *KafkaConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaConfig.
func (*KafkaConfig) DeepCopyInto ¶
func (in *KafkaConfig) DeepCopyInto(out *KafkaConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaOutput ¶
type KafkaOutput struct {
Config KafkaConfig `json:"config,omitempty" yaml:"config,omitempty"`
}
func (*KafkaOutput) DeepCopy ¶
func (in *KafkaOutput) DeepCopy() *KafkaOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaOutput.
func (*KafkaOutput) DeepCopyInto ¶
func (in *KafkaOutput) DeepCopyInto(out *KafkaOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NsqdConfig ¶
type NsqdConfig struct { Topic string `json:"topic,omitempty" yaml:"topic,omitempty"` Address []string `json:"address,omitempty" yaml:"address,omitempty"` ClientConf Config `json:"nsq_conf,omitempty" yaml:"nsq_conf,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Formatter FormatterConfig `json:"formatter,omitempty" yaml:"formatter,omitempty"` }
func (*NsqdConfig) DeepCopy ¶
func (in *NsqdConfig) DeepCopy() *NsqdConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NsqdConfig.
func (*NsqdConfig) DeepCopyInto ¶
func (in *NsqdConfig) DeepCopyInto(out *NsqdConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NsqdOutput ¶
type NsqdOutput struct {
Config NsqdConfig `json:"config,omitempty" yaml:"config,omitempty"`
}
func (*NsqdOutput) DeepCopy ¶
func (in *NsqdOutput) DeepCopy() *NsqdOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NsqdOutput.
func (*NsqdOutput) DeepCopyInto ¶
func (in *NsqdOutput) DeepCopyInto(out *NsqdOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutputSpec ¶
type OutputSpec struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Driver string `json:"driver,omitempty" yaml:"driver,omitempty"` FileOutput FileOutput `json:"file,omitempty" yaml:"file,omitempty"` Nsqd NsqdOutput `json:"nsqd,omitempty" yaml:"nsqd,omitempty"` HttpOutput HttpOutput `json:"http_output,omitempty" yaml:"http_output,omitempty"` SysOutput SysOutput `json:"syslog_output,omitempty" yaml:"syslog_output,omitempty"` KafkaOutput KafkaOutput `json:"kafka_output,omitempty" yaml:"kafka_output,omitempty"` }
func (*OutputSpec) DeepCopy ¶
func (in *OutputSpec) DeepCopy() *OutputSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputSpec.
func (*OutputSpec) DeepCopyInto ¶
func (in *OutputSpec) DeepCopyInto(out *OutputSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PluginConfig ¶
type PluginConfig struct { Disable bool `json:"disable,omitempty" yaml:"disable,omitempty"` Config interface{} `json:"config,omitempty" yaml:"config,omitempty"` }
func (*PluginConfig) DeepCopy ¶
func (p *PluginConfig) DeepCopy() *PluginConfig
func (*PluginConfig) DeepCopyInto ¶
func (p *PluginConfig) DeepCopyInto(out *PluginConfig)
type RouterSpec ¶
type RouterSpec struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Driver string `json:"driver,omitempty" yaml:"driver,omitempty"` Listen int `json:"listen,omitempty" yaml:"listen,omitempty"` Target string `json:"target,omitempty" yaml:"target,omitempty"` Method []string `json:"method,omitempty" yaml:"method,omitempty"` Host []string `json:"host,omitempty" yaml:"host,omitempty"` Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"` Cert []Cert `json:"cert,omitempty" yaml:"cert,omitempty"` Rules []Rule `json:"rules,omitempty" yaml:"rules,omitempty"` Plugins map[string]PluginConfig `json:"plugins,omitempty" yaml:"plugins,omitempty"` }
func (*RouterSpec) DeepCopy ¶
func (in *RouterSpec) DeepCopy() *RouterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterSpec.
func (*RouterSpec) DeepCopyInto ¶
func (in *RouterSpec) DeepCopyInto(out *RouterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rule ¶
type Rule struct { Location string `json:"location,omitempty" yaml:"location,omitempty"` Header map[string]string `json:"header,omitempty" yaml:"header,omitempty"` Query map[string]string `json:"query,omitempty" yaml:"query,omitempty"` }
DriverRule http路由驱动配置Rule结构体
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSpec ¶
type ServiceSpec struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Driver string `json:"driver,omitempty" yaml:"driver,omitempty"` Desc string `json:"desc,omitempty" yaml:"desc,omitempty"` Timeout int64 `json:"timeout,omitempty" yaml:"timeout,omitempty"` Retry int `json:"retry,omitempty" yaml:"retry,omitempty"` RewriteUrl string `json:"rewrite_url,omitempty" yaml:"rewrite_url,omitempty"` Scheme string `json:"scheme,omitempty" yaml:"scheme,omitempty"` ProxyMethod string `json:"proxy_method,omitempty" yaml:"proxy_method,omitempty"` Upstream string `json:"upstream,omitempty" yaml:"upstream,omitempty"` Anonymous *AnonymousConfig `json:"anonymous,omitempty" yaml:"anonymous,omitempty"` Plugins map[string]PluginConfig `json:"plugins,omitempty" yaml:"plugins,omitempty"` }
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingPlugin ¶
type SettingPlugin struct { ID string `json:"id,omitempty" yaml:"id,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` Config Config `json:"config,omitempty" yaml:"config,omitempty"` InitConfig Config `json:"init_config,omitempty" yaml:"init_config,omitempty"` }
func (*SettingPlugin) DeepCopy ¶
func (in *SettingPlugin) DeepCopy() *SettingPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingPlugin.
func (*SettingPlugin) DeepCopyInto ¶
func (in *SettingPlugin) DeepCopyInto(out *SettingPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingPlugins ¶
type SettingPlugins []SettingPlugin
func (SettingPlugins) DeepCopy ¶
func (in SettingPlugins) DeepCopy() SettingPlugins
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingPlugins.
func (SettingPlugins) DeepCopyInto ¶
func (in SettingPlugins) DeepCopyInto(out *SettingPlugins)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingSpec ¶
type SettingSpec struct {
Plugins SettingPlugins `json:"plugins,omitempty" yaml:"plugins,omitempty"`
}
func (*SettingSpec) DeepCopy ¶
func (in *SettingSpec) DeepCopy() *SettingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingSpec.
func (*SettingSpec) DeepCopyInto ¶
func (in *SettingSpec) DeepCopyInto(out *SettingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SysConfig ¶
type SysConfig struct { Network string `json:"network,omitempty" yaml:"network,omitempty"` Address string `json:"address,omitempty" yaml:"address,omitempty"` Level string `json:"level,omitempty" yaml:"level,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Formatter FormatterConfig `json:"formatter,omitempty" yaml:"formatter,omitempty"` }
func (*SysConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysConfig.
func (*SysConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SysOutput ¶
type SysOutput struct {
Config SysConfig `json:"config,omitempty" yaml:"config,omitempty"`
}
func (*SysOutput) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysOutput.
func (*SysOutput) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamSpec ¶
type UpstreamSpec struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Driver string `json:"driver,omitempty" yaml:"driver,omitempty"` Desc string `json:"desc,omitempty" yaml:"desc,omitempty"` Discovery string `json:"discovery,omitempty" yaml:"discovery,omitempty"` Config string `json:"config,omitempty" yaml:"config,omitempty"` Scheme string `json:"scheme,omitempty" yaml:"scheme,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Plugins map[string]PluginConfig `json:"plugins,omitempty" yaml:"plugins,omitempty"` }
func (*UpstreamSpec) DeepCopy ¶
func (in *UpstreamSpec) DeepCopy() *UpstreamSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamSpec.
func (*UpstreamSpec) DeepCopyInto ¶
func (in *UpstreamSpec) DeepCopyInto(out *UpstreamSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { UserName string `json:"username,omitempty" yaml:"username,omitempty"` Password string `json:"password,omitempty" yaml:"password,omitempty"` ApiKey string `json:"apikey,omitempty" yaml:"apikey,omitempty"` Expire int64 `json:"expire,omitempty" yaml:"expire,omitempty"` Ak string `json:"ak,omitempty" yaml:"ak,omitempty"` Sk string `json:"sk,omitempty" yaml:"sk,omitempty"` }
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.