common_configs

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Register = schema.NewRegister(groupName)
)

Functions

func GetPathMethodForChildSpec

func GetPathMethodForChildSpec(action api.Action, s ChildSpec) (string, string)

func GetPathMethodForListSpec

func GetPathMethodForListSpec(action api.Action, s ListSpec) (string, string)

Types

type AttributeMeta

type AttributeMeta struct {
	CommonConfigId int64 `read:"-" id:"1,required"`
}

func (*AttributeMeta) DeepCopy

func (in *AttributeMeta) DeepCopy() *AttributeMeta

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

func (*AttributeMeta) DeepCopyInto

func (in *AttributeMeta) DeepCopyInto(out *AttributeMeta)

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

func (*AttributeMeta) GetCommonConfigId

func (s *AttributeMeta) GetCommonConfigId() int64

func (*AttributeMeta) GetGroup

func (s *AttributeMeta) GetGroup() string

func (*AttributeMeta) SetCommonConfigId

func (s *AttributeMeta) SetCommonConfigId(id int64)

type CcPrimary

type CcPrimary struct {
	AttributeMeta
	Id      int64         `read:"id,omitempty" id:"2,required"`
	Address net.IP        `read:"address" create:"address" update:"address"`
	TsigId  int64         `read:"tsig_id,omitempty" create:"tsig_id,omitempty" update:"tsig_id,omitempty"`
	Enabled types.Boolean `read:"enabled" update:"enabled"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*CcPrimary) DeepCopy

func (in *CcPrimary) DeepCopy() *CcPrimary

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

func (*CcPrimary) DeepCopyInto

func (in *CcPrimary) DeepCopyInto(out *CcPrimary)

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

func (*CcPrimary) DeepCopyObject

func (in *CcPrimary) DeepCopyObject() api.Object

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

func (*CcPrimary) GetId

func (c *CcPrimary) GetId() int64

func (*CcPrimary) GetName

func (c *CcPrimary) GetName() string

func (*CcPrimary) GetPathMethod

func (c *CcPrimary) GetPathMethod(action api.Action) (string, string)

func (*CcPrimary) SetId

func (c *CcPrimary) SetId(id int64)

func (*CcPrimary) SetParams

func (c *CcPrimary) SetParams(args ...interface{}) error

type CcPrimaryList

type CcPrimaryList struct {
	AttributeMeta
	Items []CcPrimary `read:"items"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*CcPrimaryList) DeepCopy

func (in *CcPrimaryList) DeepCopy() *CcPrimaryList

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

func (*CcPrimaryList) DeepCopyInto

func (in *CcPrimaryList) DeepCopyInto(out *CcPrimaryList)

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

func (*CcPrimaryList) DeepCopyObject

func (in *CcPrimaryList) DeepCopyObject() api.Object

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

func (*CcPrimaryList) GetItems

func (c *CcPrimaryList) GetItems() interface{}

func (*CcPrimaryList) GetName

func (c *CcPrimaryList) GetName() string

func (*CcPrimaryList) GetPathMethod

func (c *CcPrimaryList) GetPathMethod(action api.Action) (string, string)

func (*CcPrimaryList) Index

func (c *CcPrimaryList) Index(i int) interface{}

func (*CcPrimaryList) Init

func (c *CcPrimaryList) Init()

func (*CcPrimaryList) Len

func (c *CcPrimaryList) Len() int

func (*CcPrimaryList) SetParams

func (c *CcPrimaryList) SetParams(args ...interface{}) error

type CcSecNotifiedServer

type CcSecNotifiedServer struct {
	AttributeMeta `read:"-" create:"-" update:"-"`
	Id            int64  `read:"id" create:"-" update:"-"  id:"2,required"`
	Address       net.IP `read:"address" create:"address" update:"address"`
	TsigId        int64  `read:"tsig_id,omitempty" create:"tsig_id,omitempty" update:"tsig_id,omitempty"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*CcSecNotifiedServer) DeepCopy

func (in *CcSecNotifiedServer) DeepCopy() *CcSecNotifiedServer

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

func (*CcSecNotifiedServer) DeepCopyInto

func (in *CcSecNotifiedServer) DeepCopyInto(out *CcSecNotifiedServer)

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

func (*CcSecNotifiedServer) DeepCopyObject

func (in *CcSecNotifiedServer) DeepCopyObject() api.Object

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

func (*CcSecNotifiedServer) GetId

func (c *CcSecNotifiedServer) GetId() int64

func (*CcSecNotifiedServer) GetName

func (c *CcSecNotifiedServer) GetName() string

func (*CcSecNotifiedServer) GetPathMethod

func (c *CcSecNotifiedServer) GetPathMethod(action api.Action) (string, string)

func (*CcSecNotifiedServer) SetId

func (c *CcSecNotifiedServer) SetId(id int64)

func (*CcSecNotifiedServer) SetParams

func (c *CcSecNotifiedServer) SetParams(args ...interface{}) error

type CcSecNotifiedServerList

type CcSecNotifiedServerList struct {
	AttributeMeta
	Items []CcSecNotifiedServer `read:"items"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*CcSecNotifiedServerList) DeepCopy

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

func (*CcSecNotifiedServerList) DeepCopyInto

func (in *CcSecNotifiedServerList) DeepCopyInto(out *CcSecNotifiedServerList)

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

func (*CcSecNotifiedServerList) DeepCopyObject

func (in *CcSecNotifiedServerList) DeepCopyObject() api.Object

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

func (*CcSecNotifiedServerList) GetItems

func (c *CcSecNotifiedServerList) GetItems() interface{}

func (*CcSecNotifiedServerList) GetName

func (c *CcSecNotifiedServerList) GetName() string

func (*CcSecNotifiedServerList) GetPathMethod

func (c *CcSecNotifiedServerList) GetPathMethod(action api.Action) (string, string)

func (*CcSecNotifiedServerList) Index

func (c *CcSecNotifiedServerList) Index(i int) interface{}

func (*CcSecNotifiedServerList) Init

func (c *CcSecNotifiedServerList) Init()

func (*CcSecNotifiedServerList) Len

func (c *CcSecNotifiedServerList) Len() int

func (*CcSecNotifiedServerList) SetParams

func (c *CcSecNotifiedServerList) SetParams(args ...interface{}) error

type CcSecTransferAcl

type CcSecTransferAcl struct {
	AttributeMeta
	Id      int64        `read:"id" id:"2,required"`
	Network *types.IPNet `read:"network" create:"network" update:"network"`
	TsigId  int64        `read:"tsig_id,omitempty"  create:"tsig_id,omitempty" update:"tsig_id,omitempty"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*CcSecTransferAcl) DeepCopy

func (in *CcSecTransferAcl) DeepCopy() *CcSecTransferAcl

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

func (*CcSecTransferAcl) DeepCopyInto

func (in *CcSecTransferAcl) DeepCopyInto(out *CcSecTransferAcl)

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

func (*CcSecTransferAcl) DeepCopyObject

func (in *CcSecTransferAcl) DeepCopyObject() api.Object

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

func (*CcSecTransferAcl) GetId

func (c *CcSecTransferAcl) GetId() int64

func (*CcSecTransferAcl) GetName

func (c *CcSecTransferAcl) GetName() string

func (*CcSecTransferAcl) GetPathMethod

func (c *CcSecTransferAcl) GetPathMethod(action api.Action) (string, string)

func (*CcSecTransferAcl) SetId

func (c *CcSecTransferAcl) SetId(id int64)

func (*CcSecTransferAcl) SetParams

func (c *CcSecTransferAcl) SetParams(args ...interface{}) error

type CcSecTransferAclList

type CcSecTransferAclList struct {
	AttributeMeta
	Items []CcSecTransferAcl `read:"items"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*CcSecTransferAclList) DeepCopy

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

func (*CcSecTransferAclList) DeepCopyInto

func (in *CcSecTransferAclList) DeepCopyInto(out *CcSecTransferAclList)

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

func (*CcSecTransferAclList) DeepCopyObject

func (in *CcSecTransferAclList) DeepCopyObject() api.Object

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

func (*CcSecTransferAclList) GetItems

func (c *CcSecTransferAclList) GetItems() interface{}

func (*CcSecTransferAclList) GetName

func (c *CcSecTransferAclList) GetName() string

func (*CcSecTransferAclList) GetPathMethod

func (c *CcSecTransferAclList) GetPathMethod(action api.Action) (string, string)

func (*CcSecTransferAclList) Index

func (c *CcSecTransferAclList) Index(i int) interface{}

func (*CcSecTransferAclList) Init

func (c *CcSecTransferAclList) Init()

func (*CcSecTransferAclList) Len

func (c *CcSecTransferAclList) Len() int

func (*CcSecTransferAclList) SetParams

func (c *CcSecTransferAclList) SetParams(args ...interface{}) error

type ChildSpec

type ChildSpec interface {
	Spec
	GetId() int64
	SetId(int64)
}

type ListSpec

type ListSpec interface {
	api.ListSpec
	Spec
}

type Spec

type Spec interface {
	apis.Spec
	SetCommonConfigId(int64)
	GetCommonConfigId() int64
}

Jump to

Keyboard shortcuts

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