Documentation ¶
Overview ¶
© 2021 Red Hat, Inc. and others
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type IPTables
- func (i *IPTables) AddChainsFor(table string, chains ...string)
- func (i *IPTables) Append(table, chain string, rulespec ...string) error
- func (i *IPTables) AppendUnique(table, chain string, rulespec ...string) error
- func (i *IPTables) AwaitChain(table string, stringOrMatcher interface{})
- func (i *IPTables) AwaitNoChain(table string, stringOrMatcher interface{})
- func (i *IPTables) AwaitNoRule(table, chain string, stringOrMatcher interface{})
- func (i *IPTables) AwaitRule(table, chain string, stringOrMatcher interface{})
- func (i *IPTables) ClearChain(table, chain string) error
- func (i *IPTables) Delete(table, chain string, rulespec ...string) error
- func (i *IPTables) Insert(table, chain string, pos int, rulespec ...string) error
- func (i *IPTables) List(table, chain string) ([]string, error)
- func (i *IPTables) ListChains(table string) ([]string, error)
- func (i *IPTables) NewChain(table, chain string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPTables ¶
func (*IPTables) AddChainsFor ¶
func (*IPTables) AppendUnique ¶
func (*IPTables) AwaitChain ¶
func (*IPTables) AwaitNoChain ¶
func (*IPTables) AwaitNoRule ¶
func (*IPTables) ClearChain ¶
Click to show internal directories.
Click to hide internal directories.